Module: check_mk
Branch: master
Commit: 5038082c3c82694a2b999c2acb34477936a356ec
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5038082c3c8269…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Feb 10 16:02:33 2015 +0100
#1941 FIX df.include: fixed exception on emtpy filesystems
The df.include library crashed on filesystems where the available
space was equal to the total space of the device.
---
.werks/1941 | 11 +++++++++++
ChangeLog | 1 +
2 files changed, 12 insertions(+)
diff --git a/.werks/1941 b/.werks/1941
new file mode 100644
index 0000000..2453c1d
--- /dev/null
+++ b/.werks/1941
@@ -0,0 +1,11 @@
+Title: df.include: fixed exception on emtpy filesystems
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1423580445
+
+The df.include library crashed on filesystems where the available
+space was equal to the total space of the device.
diff --git a/ChangeLog b/ChangeLog
index 1d7b278..70ecadd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -156,6 +156,7 @@
NOTE: Please refer to the migration notes!
* 1938 FIX: docsis_channels_upstream: fixed missing checks if channels had the same ChannelId...
* 1940 FIX: ps: Fixed a rare crash on malformed agent output...
+ * 1941 FIX: df.include: fixed exception on emtpy filesystems...
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request, added mailto link for error report...
Module: check_mk
Branch: master
Commit: c9ce48d8be3d43c2fe14d19dae1217ad2a6fe1c6
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c9ce48d8be3d43…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Feb 10 15:12:14 2015 +0100
igored -> ignored
---
checks/ps | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/ps b/checks/ps
index 2e20cbd..089ea90 100644
--- a/checks/ps
+++ b/checks/ps
@@ -104,7 +104,7 @@ def ps_parse_info(info):
# We need to determine the number of cpu_cores without the wmic_info
if len(line) < 3:
# On some rare instances the name of the process is missing
- # This line will be igored
+ # This line will be ignored
continue
if line[2].lower() == "system idle process":
cpu_cores = int(line[1][1:-1].split(",")[9])
Module: check_mk
Branch: master
Commit: 71522df8b28406acc1d9f0a08c966a68b9780fe6
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=71522df8b28406…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Feb 10 15:11:21 2015 +0100
#1940 FIX ps: Fixed a rare crash on malformed agent output
Sometimes the windows agent reported process lines without a process name, like<br>
<tt>(\\ZAOE\Grotest,149572,25184,0,20348,7752,7656250,12500000,241,5)</tt><br>
The ps check crashed because it couldn't handle this type of line
---
.werks/1940 | 12 ++++++++++++
ChangeLog | 1 +
checks/ps | 4 ++++
3 files changed, 17 insertions(+)
diff --git a/.werks/1940 b/.werks/1940
new file mode 100644
index 0000000..8d132e1
--- /dev/null
+++ b/.werks/1940
@@ -0,0 +1,12 @@
+Title: ps: Fixed a rare crash on malformed agent output
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i1
+Date: 1423577273
+Class: fix
+
+Sometimes the windows agent reported process lines without a process name, like<br>
+<tt>(\\ZAOE\Grotest,149572,25184,0,20348,7752,7656250,12500000,241,5)</tt><br>
+The ps check crashed because it couldn't handle this type of line
+
diff --git a/ChangeLog b/ChangeLog
index a74b053..1d7b278 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -155,6 +155,7 @@
* 1960 FIX: akcp_sensor_drycontact: Service description prefix changed from "Device" to "Dry Contact"...
NOTE: Please refer to the migration notes!
* 1938 FIX: docsis_channels_upstream: fixed missing checks if channels had the same ChannelId...
+ * 1940 FIX: ps: Fixed a rare crash on malformed agent output...
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request, added mailto link for error report...
diff --git a/checks/ps b/checks/ps
index 091f7bf..2e20cbd 100644
--- a/checks/ps
+++ b/checks/ps
@@ -102,6 +102,10 @@ def ps_parse_info(info):
use_wmic_info = False
if not use_wmic_info:
# We need to determine the number of cpu_cores without the wmic_info
+ if len(line) < 3:
+ # On some rare instances the name of the process is missing
+ # This line will be igored
+ continue
if line[2].lower() == "system idle process":
cpu_cores = int(line[1][1:-1].split(",")[9])
ps_result.append(line)
Module: check_mk
Branch: master
Commit: 4d9e2ca5c07e0d1282e1a7e999bef3cdca407d3d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4d9e2ca5c07e0d…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Tue Feb 10 14:33:19 2015 +0100
Fixed more broken manpages
---
checkman/hwg_temp | 18 +++++++++---------
checkman/kentix_temp | 32 ++++++++++++++++----------------
checkman/lnx_thermal | 32 ++++++++++++++++----------------
3 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/checkman/hwg_temp b/checkman/hwg_temp
index baccf9a..da9fdde 100644
--- a/checkman/hwg_temp
+++ b/checkman/hwg_temp
@@ -17,17 +17,17 @@ inventory:
All available temperature sensors are automatically inventorized.
[parameters]
-This checks parameters are a dictionary with the
+parameters(dict): This checks parameters are a dictionary with the
following (optional) keys:
- {"levels"}: A tuple (warn, crit) containing the upper levels. Default: (30, 35)
+ {"levels"}: A tuple (warn, crit) containing the upper levels. Default: (30, 35)
- {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No defaults.
+ {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No defaults.
- {"output_unit"}: "c", "f" or "k", the check will output the temperature in the
-specified unit. If this is not set, output is in degrees Celsius.
+ {"output_unit"}: "c", "f" or "k", the check will output the temperature in the
+ specified unit. If this is not set, output is in degrees Celsius.
- {"input_unit"}: "c, "f" or "k". By default, the check interprets the sensor value
-according to the unit sent by the device. This key allows to override that. Tread
-lightly, as this may lead to a misinterpreted temperature. Should only be used if
-the device reports its unit incorrectly.
+ {"input_unit"}: "c, "f" or "k". By default, the check interprets the sensor value
+ according to the unit sent by the device. This key allows to override that. Tread
+ lightly, as this may lead to a misinterpreted temperature. Should only be used if
+ the device reports its unit incorrectly.
diff --git a/checkman/kentix_temp b/checkman/kentix_temp
index faca9af..c47d2e3 100644
--- a/checkman/kentix_temp
+++ b/checkman/kentix_temp
@@ -16,24 +16,24 @@ perfdata:
One variable: the temperature in °C
[parameters]
-This checks parameters are a dictionary with the
-following (optional) keys:
+parameters(dict): This checks parameters are a dictionary with the
+ following (optional) keys:
- {"levels"}: A tuple (warn, crit) containing the upper levels. Default: (70, 80)
+ {"levels"}: A tuple (warn, crit) containing the upper levels. Default: (70, 80)
- {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No defaults.
+ {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No defaults.
- {"output_unit"}: "c", "f" or "k", the check will output the temperature in the
-specified unit. If this is not set, output is in degrees Celsius.
+ {"output_unit"}: "c", "f" or "k", the check will output the temperature in the
+ specified unit. If this is not set, output is in degrees Celsius.
- {"input_unit"}: "c, "f" or "k". By default, the check interprets the sensor value
-according to the unit sent by the device. This key allows to override that. Tread
-lightly, as this may lead to a misinterpreted temperature. Should only be used if
-the device reports its unit incorrectly.
+ {"input_unit"}: "c, "f" or "k". By default, the check interprets the sensor value
+ according to the unit sent by the device. This key allows to override that. Tread
+ lightly, as this may lead to a misinterpreted temperature. Should only be used if
+ the device reports its unit incorrectly.
- {"device_levels_handling"}: How the check treats the device's internal levels
-versus the ones you specify yourself. The following options are supported: "best"
-results in the best status between yours and the device's levels, "worst" in the
-worst, "usr" ignore's the device's levels, "dev" ignores yours, usrdefault and
-devdefault uses your/the devices set of levels if present, otherwise the other
-respectively. Default setting is "devdefault"
+ {"device_levels_handling"}: How the check treats the device's internal levels
+ versus the ones you specify yourself. The following options are supported: "best"
+ results in the best status between yours and the device's levels, "worst" in the
+ worst, "usr" ignore's the device's levels, "dev" ignores yours, usrdefault and
+ devdefault uses your/the devices set of levels if present, otherwise the other
+ respectively. Default setting is "devdefault"
diff --git a/checkman/lnx_thermal b/checkman/lnx_thermal
index 6b4a1c1..4e67050 100644
--- a/checkman/lnx_thermal
+++ b/checkman/lnx_thermal
@@ -17,24 +17,24 @@ inventory:
Creates one check for earch thermal zone.
[parameters]
-This checks parameters are a dictionary with the
-following (optional) keys:
+parameters(dict): This checks parameters are a dictionary with the
+ following (optional) keys:
- {"levels"}: A tuple (warn, crit) containing the upper levels. Default: (70, 80)
+ {"levels"}: A tuple (warn, crit) containing the upper levels. Default: (70, 80)
- {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No defaults.
+ {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No defaults.
- {"output_unit"}: "c", "f" or "k", the check will output the temperature in the
-specified unit. If this is not set, output is in degrees Celsius.
+ {"output_unit"}: "c", "f" or "k", the check will output the temperature in the
+ specified unit. If this is not set, output is in degrees Celsius.
- {"input_unit"}: "c, "f" or "k". By default, the check interprets the sensor value
-according to the unit sent by the device. This key allows to override that. Tread
-lightly, as this may lead to a misinterpreted temperature. Should only be used if
-the device reports its unit incorrectly.
+ {"input_unit"}: "c, "f" or "k". By default, the check interprets the sensor value
+ according to the unit sent by the device. This key allows to override that. Tread
+ lightly, as this may lead to a misinterpreted temperature. Should only be used if
+ the device reports its unit incorrectly.
- {"device_levels_handling"}: How the check treats the device's internal levels
-versus the ones you specify yourself. The following options are supported: "best"
-results in the best status between yours and the device's levels, "worst" in the
-worst, "usr" ignore's the device's levels, "dev" ignores yours, usrdefault and
-devdefault uses your/the devices set of levels if present, otherwise the other
-respectively. Default setting is "devdefault"
+ {"device_levels_handling"}: How the check treats the device's internal levels
+ versus the ones you specify yourself. The following options are supported: "best"
+ results in the best status between yours and the device's levels, "worst" in the
+ worst, "usr" ignore's the device's levels, "dev" ignores yours, usrdefault and
+ devdefault uses your/the devices set of levels if present, otherwise the other
+ respectively. Default setting is "devdefault"
Module: check_mk
Branch: master
Commit: 4564b17789b5775dffdffa0a2015b59509ed3b3a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4564b17789b577…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Tue Feb 10 14:12:36 2015 +0100
etherbox.temp: Fixed broken manpage
---
checkman/etherbox.temp | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/checkman/etherbox.temp b/checkman/etherbox.temp
index 0657738..7d68582 100644
--- a/checkman/etherbox.temp
+++ b/checkman/etherbox.temp
@@ -18,17 +18,17 @@ inventory:
The inventory creates a service for each temperature sensor found
[parameters]
-This checks parameters are a dictionary with the
-following (optional) keys:
+parameters(dict): This checks parameters are a dictionary with the
+ following (optional) keys:
- {"levels"}: A tuple (warn, crit) containing the upper levels. No defaults.
+ {"levels"}: A tuple (warn, crit) containing the upper levels. No defaults.
- {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No defaults.
+ {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No defaults.
- {"output_unit"}: "c", "f" or "k", the check will output the temperature in the
-specified unit. If this is not set, output is in degrees Celsius.
+ {"output_unit"}: "c", "f" or "k", the check will output the temperature in the
+ specified unit. If this is not set, output is in degrees Celsius.
- {"input_unit"}: "c, "f" or "k". By default, the check interprets the sensor value
-according to the unit sent by the device. This key allows to override that. Tread
-lightly, as this may lead to a misinterpreted temperature. Should only be used if
-the device reports its unit incorrectly.
+ {"input_unit"}: "c, "f" or "k". By default, the check interprets the sensor value
+ according to the unit sent by the device. This key allows to override that. Tread
+ lightly, as this may lead to a misinterpreted temperature. Should only be used if
+ the device reports its unit incorrectly.
Module: check_mk
Branch: master
Commit: 8fc8a2cac2dd1c1375069b597edb1546efb9ff41
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8fc8a2cac2dd1c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 10 13:52:20 2015 +0100
Updated bug entries #2288
---
.bugs/2288 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/.bugs/2288 b/.bugs/2288
new file mode 100644
index 0000000..52bc1b5
--- /dev/null
+++ b/.bugs/2288
@@ -0,0 +1,11 @@
+Title: Don't hide "activate changes" button when activion produced an error
+Component: wato
+State: open
+Date: 2015-02-10 13:51:03
+Targetversion: 1.2.7
+Class: nastiness
+
+When a user activates a change in WATO and the activation fails
+for some reason, the activate changes button is hidden. The user
+needs to reload the page to be able to retry the operation. It
+would be better to let the user simply retry the action.
Module: check_mk
Branch: master
Commit: c21fbed1c5512382d88d657534867b45a6b27337
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c21fbed1c55123…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 10 08:35:40 2015 +0100
#1982 FIX Fixed exception during checking regular checking when having checks without discovery function
---
.werks/1982 | 10 ++++++++++
ChangeLog | 1 +
modules/check_mk.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/1982 b/.werks/1982
new file mode 100644
index 0000000..cf35f24
--- /dev/null
+++ b/.werks/1982
@@ -0,0 +1,10 @@
+Title: Fixed exception during checking regular checking when having checks without discovery function
+Level: 1
+Component: core
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1423553729
+
+
diff --git a/ChangeLog b/ChangeLog
index 81d6f85..a74b053 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
* 1880 FIX: inventory_processes rules can now be configured without setting levels...
* 1882 FIX: Fixed exception "filesystem_levels" not defined when compiling config for nagios
* 1977 FIX: Dramatically reduced size of Check_MK check helper processes...
+ * 1982 FIX: Fixed exception during checking regular checking when having checks without discovery function
Checks & Agents:
* 1665 agent_netapp: New special agent for NetApp monitoring via Web-API...
diff --git a/modules/check_mk.py b/modules/check_mk.py
index d7927b7..60d5444 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -2671,7 +2671,7 @@ opt_verbose = ('-v' in sys.argv) and 1 or 0
opt_debug = '-d' in sys.argv
# make sure these names are defined (even if never needed)
-no_inventory_possible = None
+no_discovery_possible = None
""")
# Compile in all neccessary global variables