Module: check_mk
Branch: master
Commit: 7102c5899addd175884a9b9e6fab85153449d20f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7102c5899addd1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 4 14:25:53 2013 +0100
Updated bug entries #0634, #0708, #0703
---
.bugs/634 | 7 +++++--
.bugs/703 | 7 +++++--
.bugs/708 | 7 +++++--
3 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/.bugs/634 b/.bugs/634
index f492721..7bc90d1 100644
--- a/.bugs/634
+++ b/.bugs/634
@@ -1,9 +1,12 @@
Title: Documentation about distributed WATO
Component: docu
-State: open
+Class: todo
+State: done
Date: 2012-02-22 19:26:04
Targetversion: 1.2.0
-Class: todo
When we finalize the version 1.2.0 we surely need some
documentation about distributed WATO.
+
+2013-01-04 13:53:08: changed state open -> done
+Has already been written by ab.
diff --git a/.bugs/703 b/.bugs/703
index df1f45f..9260fd2 100644
--- a/.bugs/703
+++ b/.bugs/703
@@ -1,8 +1,11 @@
Title: Dasboard misses iframefunc capability
Component: multisite
-State: open
+Class: feature
+State: done
Date: 2012-07-27 10:27:06
Targetversion: 1.2.0
-Class: feature
Analog to urlfunc there should be a iframefunc to be able to create dynamic iframe based dashlets.
+
+2013-01-04 13:56:19: changed state open -> done
+This has already been implemented.
diff --git a/.bugs/708 b/.bugs/708
index bf26a8a..26f7c55 100644
--- a/.bugs/708
+++ b/.bugs/708
@@ -1,9 +1,9 @@
Title: should be able to clear logwatch status for multiple hosts
Component: multisite
-State: open
+Class: feature
+State: done
Date: 2012-05-11 17:48:29
Targetversion: future
-Class: feature
if you receive events for a central failure, i.e. lan or san issues or a
certain patch triggering errors on all systems, it would be very good to
@@ -11,3 +11,6 @@ acknowledge the error for all system after you updated your filters
i didn't find a way to acknowledge log messages for more than a single host.
there might be hundreds of affected systems and it's overly complicated and
long to clear one by one.
+
+2013-01-04 13:57:00: changed state open -> done
+This has already been implemented some releases before
Module: check_mk
Branch: master
Commit: 50827e2355f7f6a7c62f667ac5384e969066ff0a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=50827e2355f7f6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 4 09:05:52 2013 +0100
Updated bug entries #0801
---
.bugs/801 | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.bugs/801 b/.bugs/801
index c887ca0..35117fb 100644
--- a/.bugs/801
+++ b/.bugs/801
@@ -1,9 +1,12 @@
Title: Documentation should no longer mention checkname
Component: docu
-State: open
+Class: cleanup
+State: done
Date: 2012-09-19 16:41:43
Targetversion: 1.2.0
-Class: cleanup
checkname is no longer supported.
very few checks still use it but it also confuses new authors of checks.
+
+2013-01-04 09:05:49: changed state open -> done
+I jst removed all notes on this old var.
Module: check_mk
Branch: master
Commit: d86195274f695575121ce71f9461f4d2d1f787b6
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d86195274f6955…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 4 10:12:27 2013 +0100
FIX: Added error handling when trying to --restore with a non existant file
---
.bugs/807 | 7 +++++--
ChangeLog | 1 +
modules/check_mk.py | 3 +++
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/.bugs/807 b/.bugs/807
index 75ab120..f5a42e8 100644
--- a/.bugs/807
+++ b/.bugs/807
@@ -1,9 +1,12 @@
Title: cmk --restore does report errors
Component: core
-State: open
+Class: cleanup
+State: done
Date: 2012-10-10 12:58:08
Targetversion: 1.2.0
-Class: cleanup
cmk --restore does not set an returncode != 1 or print errors if the restore
failed if the input file was unreadable or missing or somehow else troubled.
+
+2013-01-04 10:11:48: changed state open -> done
+Added error message when the file given to restore does not exist
diff --git a/ChangeLog b/ChangeLog
index 6ae1cc0..9230d87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
* Do object cache precompile for monitoring core on cmk -R/-O
* Avoid duplicate verification of monitoring config on cmk -R/-O
* FIX: Parameter --cleanup-autochecks (long for -u) works now like suggested in help
+ * FIX: Added error handling when trying to --restore with a non existant file
Notifications:
* Fix flexible notifications on non-OMD systems
diff --git a/modules/check_mk.py b/modules/check_mk.py
index a35e1cb..ad39048 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -3278,6 +3278,9 @@ def do_restore(tarname):
if opt_verbose:
sys.stderr.write("Restoring from '%s'...\n" % tarname)
+ if not os.path.exists(tarname):
+ raise MKGeneralException("Unable to restore: File does not exist")
+
for name, path, canonical_name, descr, is_dir, owned_by_nagios, group_www in backup_paths:
absdir = os.path.abspath(path)
if is_dir:
Module: check_mk
Branch: master
Commit: 7798a56179490d0f0a694ef0a26f9d2834576441
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7798a56179490d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 4 13:27:37 2013 +0100
Updated bug entries #0771
---
.bugs/771 | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.bugs/771 b/.bugs/771
index 51c9dc1..51ab36e 100644
--- a/.bugs/771
+++ b/.bugs/771
@@ -1,11 +1,15 @@
Title: Services in Hosttables: wrong headings
Component: multisite
-State: open
+Class: nastiness
+State: done
Date: 2012-06-14 13:29:43
Targetversion: 1.2.0
-Class: nastiness
When adding service columns to host tables the column headers of those
columns should be the service name, not the title of the painter. The latter
one is for example "Perf-O-Meter". Better would be "CPU load". (if this is
not specified by the user in the first place).
+
+2013-01-04 13:27:34: changed state open -> done
+Just implemented this change. Using service description (join index) when no title defined in
+the view for this column.