Module: check_mk
Branch: master
Commit: 4324bbde47cc7e96824016dd704ad8b132761506
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4324bbde47cc7e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Nov 6 10:11:10 2010 +0100
Update MRPE man page
---
checkman/mrpe | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/checkman/mrpe b/checkman/mrpe
index cfdaab7..bfbcf6b 100644
--- a/checkman/mrpe
+++ b/checkman/mrpe
@@ -26,9 +26,13 @@ perfdata:
can set {perfdata_format = "pnp"} in your {main.mk}. This will let
PNP4Nagios choose a template matching the original check command.
+ Note: from version 1.1.9i2 on {"pnp"} is the default setting. You
+ can change it back by setting {perfdata_format} to {"standard"}.
+
inventory:
All plugins configured in {mrpe.cfg} are automatically inventorized.
[configuration]
perfdata_format (string): Set to {"pnp"} for adding the check command
- for PNP4Nagios
+ for PNP4Nagios. Set to {"standard"} for omitting template information
+ and better comply with the Nagios standard.
Module: check_mk
Branch: master
Commit: 73c3b1766c50da8c13d8f15981e467b3f596e0f5
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=73c3b1766c50da…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Nov 6 10:08:04 2010 +0100
perfdata_format now defaults to "pnp"
---
ChangeLog | 3 +++
LIESMICH.zutun | 2 --
main.mk | 5 -----
modules/check_mk.py | 2 +-
4 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fc78dae..73bc1e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,9 @@
* Inventory: Better error handling on invalid inventory result of checks
* setup.sh: fix problem with missing package_info (only appears if setup
is called from another directory)
+ * perfdata_format now defaults to "pnp". Previous default was "standard".
+ You might have to change that in main.mk if you are not using PNP (only
+ relevant for MRPE checks)
Checks & Agents:
* megaraid_pdisks: Using the real enclosure number as check item now
diff --git a/LIESMICH.zutun b/LIESMICH.zutun
index 57f7413..5985abe 100644
--- a/LIESMICH.zutun
+++ b/LIESMICH.zutun
@@ -96,8 +96,6 @@ nur noch ohne MIB-Dateien. Das würde das ganze deutlich vereinfachen!
filesystem_levels rausnehmen. Hinweis, dass check_parameters verwendet
werden soll.
-Perfdatenformat per Default auf 'pnp'
-
aggregation_output_format: Aggregation per Default auf mehrzeilige Ausgabe
Direct rrd updates ganz entfernen.
diff --git a/main.mk b/main.mk
index 1f33794..ecd627c 100644
--- a/main.mk
+++ b/main.mk
@@ -1,8 +1,3 @@
# Put your host names here
# all_hosts = [ 'localhost' ]
all_hosts = [ ]
-
-# Are you using PNP4Nagios and MRPE checks? This will make PNP
-# choose the correct template for standard Nagios checks:
-# perfdata_format = "pnp"
-
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 7d45f4b..e9d5236 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -206,7 +206,7 @@ agent_min_version = 0 # warn, if plugin has not at least versio
check_max_cachefile_age = 0 # per default do not use cache files when checking
cluster_max_cachefile_age = 90 # secs.
simulation_mode = False
-perfdata_format = "standard" # also possible: "pnp"
+perfdata_format = "pnp" # also possible: "standard"
debug_log = None
monitoring_host = "localhost" # your Nagios host
max_num_processes = 50
Module: check_mk
Branch: master
Commit: 7edf714ac3e1b6ef944a7a65803e94cc1d611f84
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7edf714ac3e1b6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Nov 5 18:51:27 2010 +0100
Added missing manpage
---
checkman/blade_blades | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/checkman/blade_blades b/checkman/blade_blades
new file mode 100644
index 0000000..cf05d93
--- /dev/null
+++ b/checkman/blade_blades
@@ -0,0 +1,25 @@
+title: Check for blades in an IBM blade center
+agents: snmp
+author: Lars Michelsen <lm(a)mathias-kettner.de>
+license: GPL
+distribution: check_mk
+description:
+ This check verifies the present-, health- and power-state of a blade in an
+ IBM blade center.
+
+ The check raises {CRITICAL} and {WARNING} states depending on the different states:
+ When a blade does not exist anymore the check becomes {CRITICAL}, when a blade has
+ been turned off the check becomes {WARNING} and when the health state of the blade
+ is reported as not ok it raises {WARNING} or {CRITICAL} depending on the severity.
+
+item:
+ Number of the blade (as string, not int).
+
+examples:
+ checks += [
+ ( "hostabc", "blade_bays", "8", None)
+ ]
+
+inventory:
+ All blades in the system with the state 1 (present) are automatically
+ inventorized.