Module: check_mk
Branch: master
Commit: 3b22481a69b85053ea338d2fbcc9e09ec72cc330
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3b22481a69b850…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Mar 3 19:35:50 2011 +0100
man page for snmp_info
---
ChangeLog | 2 +-
checkman/dummy | 2 +-
checkman/snmp_info | 23 +++++++++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c7c9b0c..37e344c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,7 @@
* FIX: Fixed bug that lost autochecks when using WATO and cmk -II together
Checks & Agents:
- * Added check man page for systemtime, multipath
+ * Added check man page for systemtime, multipath, snmp_info
1.1.10b1:
diff --git a/checkman/dummy b/checkman/dummy
index 5f920bb..925a0d7 100644
--- a/checkman/dummy
+++ b/checkman/dummy
@@ -1,5 +1,5 @@
title: Dummy check man page - used as template for new check manuals
-agents: linux, windows, aix, solaris, hpux, vms, freebsd
+agents: linux, windows, aix, solaris, hpux, vms, freebsd, snmp
author: Mathias Kettner <mk(a)mathias-kettner.de>
license: GPL
distribution: check_mk
diff --git a/checkman/snmp_info b/checkman/snmp_info
new file mode 100644
index 0000000..620dd56
--- /dev/null
+++ b/checkman/snmp_info
@@ -0,0 +1,23 @@
+title: Retrieve informational SNMP data about host
+agents: snmp
+author: Mathias Kettner <mk(a)mathias-kettner.de>
+license: GPL
+distribution: check_mk
+description:
+ This check retrieves the values {sysDescr}, {sysContact}, {sysName} and
+ {sysLocation} and displays them. It is alwas OK.
+
+examples:
+ # Force snmp_info as manual check on all SNMP hosts
+ checks += [
+ ( [ "snmp" ], ALL_HOSTS, "snmp_info", None, None ),
+ ]
+
+inventory:
+ One check per SNMP host will be created.
+
+ Please note: This check is not found be then SNMP scan (which you do with
+ a simple {cmk -I}). You need to explicitely specify the check, if you
+ want to inventorize it ({cmk --checks snmp_info -I}). Alternatively you
+ can specify it as a manual check.
+