Module: check_mk
Branch: master
Commit: 3c08f6f991fe28fb9244dc73c32fdab281077cb9
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3c08f6f991fe28…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Mon Sep 23 16:44:11 2013 +0200
new manpage for check cisco_vpn_tunnel
---
checkman/cisco_vpn_tunnel | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/checkman/cisco_vpn_tunnel b/checkman/cisco_vpn_tunnel
new file mode 100644
index 0000000..efd9900
--- /dev/null
+++ b/checkman/cisco_vpn_tunnel
@@ -0,0 +1,34 @@
+title: IPSEC and Remote Access VPN-Tunnels on Cisco Devices
+agents: snmp
+catalog: hw/network/cisco
+license: GPL
+distribution: check_mk
+description:
+ This check tests for the existence of inventorized IPSEC and remote access VPN
+ Tunnels on a Cisco ASA device. A name and a state if the configured tunnel can no longer
+ be found can be configured. Also, a global state for no longer existing
+ tunnels can be configured.
+ The check has been tested with a cisco model ASA 5510.
+
+inventory:
+ One check is created for each IPSEC and remote access tunnel found during inventory
+
+item:
+ Check item is the ip address of the remote tunnel endpoint
+
+examples:
+ checkgroup_parameters.setdefault('vpn_tunnel', [])
+
+ checkgroup_parameters['vpn_tunnel'] = [
+ ( {'state': 1, 'tunnels': [('12.34.56.78', 'dark tunnel', 2)]}, [], ALL_HOSTS, ALL_SERVICES ),
+ ] + checkgroup_parameters['vpn_tunnel']
+
+
+[parameters]
+parameters(dict): with the keys "state" and "tunnel"
+
+ 'state' is the globally returned state of no longer existent tunnels
+
+ 'tunnels' is a list of tuples. Each tuple consists of the ip address of the tunnel endpoint,
+ a corresponding name of the tunnel shown in the check output, and the state which is returned
+ when the tunnel no longer exists.
Module: check_mk
Branch: master
Commit: a1dd993e855a2d43aa5619ba1b4d5a1aea430bd1
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a1dd993e855a2d…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Mon Sep 23 15:13:47 2013 +0200
Updated bug entries #0902
---
.bugs/902 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.bugs/902 b/.bugs/902
index 90654ba..6947328 100644
--- a/.bugs/902
+++ b/.bugs/902
@@ -19,3 +19,6 @@ when installing check_mk-1.2.2p1 manually (by setup.sh) the directory
and as long as this directory is missing *all* notifications fail
silently!!
directory needs to be created in setup.sh
+
+2013-09-23 bs: should be fixed, added creation of directory to setup.sh
+but TEST IS STILL OPEN, needs to wait for 1055 to be fixed
Module: check_mk
Branch: master
Commit: 0bd4f33fe5feb38c5fea0482dc782c362f2f931c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0bd4f33fe5feb3…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Mon Sep 23 13:34:14 2013 +0200
added documentation of the new, dict based configuration to check manpage of ps and ps.perf
---
checkman/ps | 27 +++++++++++++++++++++++++++
checkman/ps.perf | 2 ++
2 files changed, 29 insertions(+)
diff --git a/checkman/ps b/checkman/ps
index 7b7c5a5..d0dc807 100644
--- a/checkman/ps
+++ b/checkman/ps
@@ -78,6 +78,20 @@ examples:
# make sure exactly one ntpd is running
( "somehost", "ps", "NTP", ( "/usr/sbin/ntpd", 1, 1, 1, 1 ) ),
+ # or this can be done with the new, dictionary based
+ # syntax; in this case additional parameters cpulevels and
+ # cpu_average can be passed
+ ( 'somehost', 'ps', 'NTP', {
+ 'process': '/usr/sbin/ntpd',
+ 'user': 'ntp',
+ 'warnmin': 1,
+ 'warnmax': 1,
+ 'okmin': 1
+ 'okmax': 1,
+ 'cpulevels': (90.0, 98.0),
+ 'cpu_average': 15,
+ }),
+
# the same, but for all hosts with the tag "lnx"
( ["lnx"], ALL_HOSTS, "ps", "NTPD", ( "/usr/sbin/ntpd", 1, 1, 1, 1 ) ),
@@ -143,3 +157,16 @@ okmin (int): Minimum number for OK state
okmax (int): Maximum number for OK state
warnmax (int): Maximum number for WARNING state. Counts less than warnmin or greater than
warnmax are CRITICAL
+
+parameters (dict): Or the parameters can be given in the new, dictionary based syntax
+ with the elements below.
+ In this case additional parameters cpulevels and cpu_average can be passed.
+
+{"process"}: procname, see above
+{"user"}: see above
+{"warnmin"}: see above
+{"warnmax"}: see above
+{"okmin"}: see above
+{"okmax"}: see above
+{"cpulevels"}: (float, float): levels of CPU usage for {WARN} and {CRIT} in percent
+{"cpu_average"}: int: build average over CPU usage for the given time in minutes
diff --git a/checkman/ps.perf b/checkman/ps.perf
index b1a0231..a45e3cd 100644
--- a/checkman/ps.perf
+++ b/checkman/ps.perf
@@ -28,6 +28,8 @@ inventory:
[parameters]
params (5 or 6 tuple): Please refer to {ps} for information about the parameters.
+parameters (dict): or the parameters can be given in the new, dictionary based syntax.
+ Please refer to {ps} for information about the parameters.
[configuration]
inventory_processes_perf (list): A list of 7-tuples. See {ps} for details.