Module: check_mk
Branch: master
Commit: 6f4631a4c3fe81b99b196c76df399af13942c4bb
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6f4631a4c3fe81…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 21 14:03:43 2011 +0100
Bugfix: Fixed javascript error when doing replication in distributed
wato environments when not having the sidebar open
---
ChangeLog | 2 +-
web/htdocs/htmllib.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 484706a..d5a9901 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,7 +13,7 @@
folder inventory
* NagVis auhtorization file generation is also executed on activate_changes
* Bugfix: Calling activate_changes hook also in distributed WATO setups
- * Bugfix: Fixed javascript error when doing replication in distributed
+ * Bugfix: Fixed javascript errors when doing replication in distributed
wato environments when not having the sidebar open
1.1.13i1:
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index b0db912..9ef5b01 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -822,7 +822,7 @@ class html:
def reload_sidebar(self):
if not self.has_var("_ajaxid"):
- self.javascript("parent.frames[0].location.reload();");
+ self.javascript("if(parent && parent.frames[0]) parent.frames[0].location.reload();");
# Get next transaction id for that user
def current_transid(self):
Module: check_mk
Branch: master
Commit: 8ea6d41ffd542f89b56376731c6a9109762beab8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8ea6d41ffd542f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 21 14:57:26 2011 +0100
FIX: fixed man pages of h3c_lanswitch_sensors and statgrab_cpu
---
ChangeLog | 4 ++++
checkman/h3c_lanswitch_sensors | 13 +++++++++----
checkman/statgrab_cpu | 6 ------
3 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7f15fe7..d55f6bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -110,6 +110,10 @@
* printer_alerts: added further state codes (thanks to Matthew Stew)
* Solaris agent: changed shell to /usr/bin/bash (fixes problems with LC_ALL=C)
+1.1.12p7:
+ Checks & Agents:
+ * FIX: fixed man pages of h3c_lanswitch_sensors and statgrab_cpu
+
1.1.12p6:
Checks & Agents:
* FIX: lnx_if: remove debug output (left over from 1.1.12p5)
diff --git a/checkman/h3c_lanswitch_sensors b/checkman/h3c_lanswitch_sensors
index 2a741f6..54095d0 100644
--- a/checkman/h3c_lanswitch_sensors
+++ b/checkman/h3c_lanswitch_sensors
@@ -4,11 +4,16 @@ author: Florian Heigl <fh(a)mathias-kettner.de>
license: GPL
distribution: check_mk
description:
- This Check queries the CPU utilization for various switches made by 3Com and H3C, either standalone or that of the CPUs of all units in the stack. By default it will handle 3com Superstack 4 switches, but it should work with all devices defined in the "Lsw" lanswitch Mibs.
-Note some of these switches don't handle snmp well and might generate up to 90% cpu load while queried.
-To accomodate for this you should lower the frequency of SNMP based checks with them.
-The CPU usage ratio returned by the check is the average load of the last 60 seconds.
+ This Check queries the CPU utilization for various switches made by 3Com
+ and H3C, either standalone or that of the CPUs of all units in the stack. By
+ default it will handle 3com Superstack 4 switches, but it should work with
+ all devices defined in the "Lsw" lanswitch Mibs.
+
+ Please note: some of these switches don't handle SNMP well and might generate
+ up to 90% CPU load while queried. To accomodate for this you should lower
+ the frequency of SNMP based checks with them. The CPU usage ratio returned
+ by the check is the average load of the last 60 seconds.
inventory:
The check will add one service per Unit/CPU in a stack.
diff --git a/checkman/statgrab_cpu b/checkman/statgrab_cpu
index 9c24221..faf075d 100644
--- a/checkman/statgrab_cpu
+++ b/checkman/statgrab_cpu
@@ -15,9 +15,3 @@ perfdata:
inventory:
One check per host is created if the agent contains a {statgrab_cpu}
section containing cpu information.
-
-[parameters]
- The check has no parameters.
-
-[configuration]
- The check is not configurable.