Module: check_mk
Branch: master
Commit: 82fbc65ea9d19328ff0f4c2f9b77c8766f0692b9
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=82fbc65ea9d193…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Wed May 21 20:27:06 2014 +0200
fast_lta_headunit.status: On the slave node status appReadOnly is ok too
---
checkman/fast_lta_headunit.status | 1 +
checks/fast_lta_headunit | 3 +++
2 files changed, 4 insertions(+)
diff --git a/checkman/fast_lta_headunit.status b/checkman/fast_lta_headunit.status
index da52791..b0659ab 100644
--- a/checkman/fast_lta_headunit.status
+++ b/checkman/fast_lta_headunit.status
@@ -6,6 +6,7 @@ distribution: check_mk
description:
Checks the Head Unit Status of a FAST LTA Storage System.
Returns {OK} on status {appReady} and {CRIT} on every other.
+ On the slave node status {appReadOnly} is {OK} too.
inventory:
Finds exactly one check on every system (head unit).
diff --git a/checks/fast_lta_headunit b/checks/fast_lta_headunit
index 2e44e81..dc98687 100644
--- a/checks/fast_lta_headunit
+++ b/checks/fast_lta_headunit
@@ -65,6 +65,9 @@ def check_fast_lta_headunit_status(item, _no_params, info):
if info[0][0][0] == "60":
status = 0
+ elif info[0][0][0] == "70" and info[0][0][1] == "0":
+ # on Slave node appReadOnly is also an ok state
+ status = 0
else:
status = 2
Module: check_mk
Branch: master
Commit: 8dc0287803b11d48fbebf5bd5a7f7eb239d0591c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8dc0287803b11d…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed May 21 17:53:54 2014 +0200
FIX dashboards: fixed bug not updating header timestamp
The header timestamp for dashboards only got updated if there were at least one 'url'-dashlet present.
If a dashboard only contained links to views the header time was never updated.
---
.werks/921 | 9 +++++++++
ChangeLog | 1 +
web/htdocs/js/dashboard.js | 5 +++++
3 files changed, 15 insertions(+)
diff --git a/.werks/921 b/.werks/921
new file mode 100644
index 0000000..7bf2cfe
--- /dev/null
+++ b/.werks/921
@@ -0,0 +1,9 @@
+Title: dashboards: fixed bug not updating header timestamp
+Level: 1
+Component: multisite
+Version: 1.2.5i3
+Date: 1400687252
+Class: fix
+
+The header timestamp for dashboards only got updated if there were at least one 'url'-dashlet present.
+If a dashboard only contained links to views the header time was never updated.
diff --git a/ChangeLog b/ChangeLog
index f1b12bc..9da13c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -93,6 +93,7 @@
* 0909 FIX: Table checkboxes: Fixed bug where selected checkboxes got ignored...
* 0811 FIX: Fixed handling of exceptions occuring before login in debug mode
* 0912 FIX: Multisite Views: Fixed bug where custom views could not get deleted
+ * 0921 FIX: dashboards: fixed bug not updating header timestamp...
WATO:
* 0784 Improved security of WATO bulk inventory by using transaction ids
diff --git a/web/htdocs/js/dashboard.js b/web/htdocs/js/dashboard.js
index 43d1338..1b2eb0e 100644
--- a/web/htdocs/js/dashboard.js
+++ b/web/htdocs/js/dashboard.js
@@ -151,6 +151,11 @@ function dashboard_scheduler(force) {
}
}
setTimeout(function() { dashboard_scheduler(0); }, 1000);
+ // Update timestamp every minute
+ // Required if there are no refresh_dashlets present or all refresh times are > 60sec
+ if (timestamp % 60 == 0) {
+ updateHeaderTime();
+ }
}
function dashboard_update_contents(id, code) {
Module: check_mk
Branch: master
Commit: 02940d07813c1f2c1a55f06934a1410ec76e2725
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=02940d07813c1f…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Wed May 21 15:53:03 2014 +0200
fix of werk 613
---
.werks/613 | 2 +-
ChangeLog | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.werks/613 b/.werks/613
index a32578b..8deedcc 100644
--- a/.werks/613
+++ b/.werks/613
@@ -1,6 +1,6 @@
Title: liveproxyd: fewer log messages in case a site is unreachable
Level: 1
-Component: reporting
+Component: liveproxy
Version: 1.2.5i3
Date: 1400679878
Class: fix
diff --git a/ChangeLog b/ChangeLog
index 40b1486..03ed5f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -124,7 +124,6 @@
* 0966 CSV export for availability works now also for BI aggregates
* 0967 BI Availability timewarp: new buttons for moving back and forth
* 0962 FIX: Fix CSV-Export in availability table
- * 0613 FIX: liveproxyd: fewer log messages in case a site is unreachable
Event Console:
* 0885 New option for writing all messages into a syslog-like logfile...
@@ -136,6 +135,7 @@
Livestatus-Proxy:
* 0970 FIX: liveproxyd: handle situations with more then 1024 open files...
+ * 0613 FIX: liveproxyd: fewer log messages in case a site is unreachable
HW/SW-Inventory:
* 0913 lnx_distro: Now able to detect SuSE distributions...
Module: check_mk
Branch: master
Commit: 79ea70e9871c4974ba42b5d5602169f73315420b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=79ea70e9871c49…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Wed May 21 15:50:34 2014 +0200
FIX liveproxyd: fewer log messages in case a site is unreachable
---
.werks/613 | 8 ++++++++
ChangeLog | 1 +
doc/treasures/liveproxy/liveproxyd | 4 ++--
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/.werks/613 b/.werks/613
new file mode 100644
index 0000000..a32578b
--- /dev/null
+++ b/.werks/613
@@ -0,0 +1,8 @@
+Title: liveproxyd: fewer log messages in case a site is unreachable
+Level: 1
+Component: reporting
+Version: 1.2.5i3
+Date: 1400679878
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index c5ccf4c..40b1486 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -124,6 +124,7 @@
* 0966 CSV export for availability works now also for BI aggregates
* 0967 BI Availability timewarp: new buttons for moving back and forth
* 0962 FIX: Fix CSV-Export in availability table
+ * 0613 FIX: liveproxyd: fewer log messages in case a site is unreachable
Event Console:
* 0885 New option for writing all messages into a syslog-like logfile...
diff --git a/doc/treasures/liveproxy/liveproxyd b/doc/treasures/liveproxy/liveproxyd
index 946cc96..ed9f254 100755
--- a/doc/treasures/liveproxy/liveproxyd
+++ b/doc/treasures/liveproxy/liveproxyd
@@ -154,7 +154,7 @@ def do_heartbeats():
if now - since >= rate:
if not send_heartbeat(sitename, sitestate):
if now - since >= 2 * rate:
- log("Could not send heartbeat for %d secs - no free channel" % (2 * rate))
+ log("Could not send heartbeat to %s for %d secs - no free channel" % ( sitename, (2 * rate)))
disconnect_from_site(sitename)
@@ -169,7 +169,7 @@ def send_heartbeat(sitename, sitestate):
if next_channel == None or channel["since"] < next_channel["since"]:
next_channel = channel
if not next_channel:
- log("Cannot send heartbeat to %s: no channel ready" % sitename)
+ #log("Cannot send heartbeat to %s: no channel ready" % sitename)
return False
else:
Module: check_mk
Branch: master
Commit: 996932163dd10069ca4fb3f0ead9d79a2af90631
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=996932163dd100…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed May 21 15:45:21 2014 +0200
Show preview of active and custom checks in WATO services table
In the list of the services of a host now also for active and custom checks
(i.e. non Check_MK-services) the output of the check plugin is being
displayed. This is done by a Check_MK executing the check plugin with the
configured arguments instead of the monitoring core.
This can be used to test the outcome of check plugins before any changes
are being activated.
Note: because of issues with permissions and pathnames this feature only
works on OMD based platforms.
---
.werks/976 | 17 ++++++++++
ChangeLog | 1 +
modules/automation.py | 80 +++++++++++++++++++++++++++++++++++++++++++++
web/htdocs/js/wato.js | 42 ++++++++++++++++++++++++
web/htdocs/wato.py | 21 +++++++++++-
web/plugins/pages/wato.py | 19 ++++++-----
6 files changed, 170 insertions(+), 10 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=996932163d…
Module: check_mk
Branch: master
Commit: 8ed43c2511efc6068515fa73a6d2aa85152ecc52
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8ed43c2511efc6…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed May 21 14:51:28 2014 +0200
blade_bays: now also detects if blade server is switched off
---
.werks/920 | 8 ++++++++
ChangeLog | 1 +
checks/blade_bays | 2 ++
3 files changed, 11 insertions(+)
diff --git a/.werks/920 b/.werks/920
new file mode 100644
index 0000000..9dfb3ce
--- /dev/null
+++ b/.werks/920
@@ -0,0 +1,8 @@
+Title: blade_bays: now also detects if blade server is switched off
+Level: 1
+Component: checks
+Version: 1.2.5i3
+Date: 1400676633
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index f7003d1..c5ccf4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -54,6 +54,7 @@
* 0957 fast_lta_silent_cubes.capacity: New check for Total Capacity over all Silent Cubes on FAST LTA Storage Systems
* 0975 esx_vsphere_vm.guest_tools: renamed check (formerly esx_vsphere_vm.guestTools)...
NOTE: Please refer to the migration notes!
+ * 0920 blade_bays: now also detects if blade server is switched off
* 0777 FIX: special agent emcvnx: did not work with security file authentication...
* 0786 FIX: zfsget: fixed compatibility with older Solaris agents...
* 0809 FIX: brocade_fcport: Fixed recently introduced problem with port speed detection
diff --git a/checks/blade_bays b/checks/blade_bays
index d528dc7..75032d1 100644
--- a/checks/blade_bays
+++ b/checks/blade_bays
@@ -59,6 +59,8 @@ def check_blade_bays(item, _no_params, info):
(blade_bays_module_state.get(state, 'Unhandled'), type, line[3]))
elif state == 2:
return (1, "Not present")
+ elif state == 3:
+ return (1, "Device is switched off")
elif state == 0:
return (1, "Device is in standby")
else: