Module: check_mk
Branch: master
Commit: 33870605efc6e170841ca12b90d065b1cb088845
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=33870605efc6e1…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Jul 8 10:01:32 2013 +0200
Updated bug entries #0934
---
.bugs/934 | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/.bugs/934 b/.bugs/934
new file mode 100644
index 0000000..a8f20f2
--- /dev/null
+++ b/.bugs/934
@@ -0,0 +1,19 @@
+Title: fileinfo.groups and "patterns" check_parameter
+Component: wato
+State: open
+Date: 2013-07-08 09:56:03
+Targetversion: future
+Class: bug
+
+The fileinfo.groups checks evaluates the parameter fileinfo_groups upon inventory
+and create an autocheck file with a pattern key.
+
+In the WATO inventory screen the valuespec for the fileinfo.groups parameters is
+displayed ( which does NOT contain a pattern key, just age/count/etc. )
+This raises in error when multisite debug is used ( valuespec validation fails )
+
+Additionally the static checks for fileinfo.groups is not working because
+it is not possible to define patterns in the fileinfo_groups valuespec
+
+Solution:
+Add patterns to fileinfo_groups valuespec
Module: check_mk
Branch: master
Commit: 2cbb6189a808d7c278e583353af3f3083c822e2a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2cbb6189a808d7…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Mon Jul 8 09:51:48 2013 +0200
checkman mysql.connections: fixed formating issues
---
checkman/mysql.connections | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/checkman/mysql.connections b/checkman/mysql.connections
index 347310f..34f87af 100644
--- a/checkman/mysql.connections
+++ b/checkman/mysql.connections
@@ -7,11 +7,11 @@ distribution: check_mk
description:
This check allows tracking of connection usage for a MySQL database.
Therefor it queries
- {the maximum number of connections that have been in use simultaneously since the server started}
+ the maximum number of connections that have been in use simultaneously since the server started
and
- {the maximum number of possible parallel connections}.
+ the maximum number of possible parallel connections.
From these both it calculates the
- {maximum usage level of these connections in percent}
+ maximum usage level of these connections in percent
and matches the given warning and critical thresholds against it.
inventory:
Module: check_mk
Branch: master
Commit: 26edfe6829df42d4866875db96c1cb4655f5373b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=26edfe6829df42…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Fri Jul 5 14:52:19 2013 +0200
added new check manpage win_netstat
---
checkman/win_netstat | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/checkman/win_netstat b/checkman/win_netstat
new file mode 100644
index 0000000..da772bd
--- /dev/null
+++ b/checkman/win_netstat
@@ -0,0 +1,57 @@
+title: Established TCP Connections or TCP/UDP Listeners
+agents: windows
+catalog: os/network
+author: Mathias Kettner <mk(a)mathias-kettner.de>
+license: GPL
+distribution: check_mk
+description:
+ This check evaluates output of {netstat -an} command on windows
+ and checks if there are established connections or listeners
+ matching the given criteria.
+
+ Returns {OK} state if there are some and {CRITICAL} if not
+
+item:
+ Give the parameters to match against connection or listeners.
+ See {Examples} and {Parameters} for details.
+
+examples:
+ If you want to make sure some machine on 192.168.0.1 has an established
+ TCP connection to the monitored machine (192.168.0.2) on port 445 you
+ would define:
+
+ static_checks['tcp_connections'] = [
+ ( ('win_netstat', 'My Test Connection',
+ {
+ 'local_ip' : '192.168.0.2',
+ 'local_port': 445,
+ 'remote_ip' : '192.168.0.1',
+ 'state' : 'ESTABLISHED',
+ 'proto' : 'TCP'
+ }),
+ [], ['winsrv1'] ),
+ ]
+
+ Or if you want to check if there is an HTTP listener available
+
+ static_checks['tcp_connections'] = [
+ ( ('win_netstat', 'HTTP Listener',
+ {
+ 'local_ip' : '192.168.0.2',
+ 'local_port': 80,
+ 'state' : 'LISTEN',
+ 'proto' : 'TCP'
+ }),
+ [], ['websrv1'] ),
+ ]
+
+[parameters]
+local_ip(string): the local IP address
+local_port(int): the local Port
+remote_ip(string): the remote IP address
+remote_port(int): the remote Port
+proto(string): TCP or UDP are possible values:
+ The protocol used for the connection or the listener
+state(string): ESTABLISHED, LISTEN, TIME_WAIT, SYN_SENT, SYN_RECV,
+ LAST_ACK, CLOSE_WAIT, TIME_WAIT, CLOSED, CLOSING, FIN_WAIT1, FIN_WAIT2,
+ BOUND: The state of the connection or listener
Module: check_mk
Branch: master
Commit: c57cd8da39b1798691362cdbc04080118866a2eb
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c57cd8da39b179…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 5 13:31:29 2013 +0200
diskstat: Agent is now also processing data of mmcblk devices
---
ChangeLog | 1 +
agents/check_mk_agent.linux | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index ffb4246..2b49c8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -47,6 +47,7 @@
* win_netstat: New check for Windows for checking the existance of a UDP/TCP
connection or listener
* ps/ps.perf: allow to set levels on CPU util, optional averaging of CPU
+ * diskstat: Agent is now also processing data of mmcblk devices
Notifications:
* notify.py: Matching service level: Use the hosts service level if a
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index d956815..fc5c7cd 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -223,7 +223,7 @@ cat /proc/mdstat
# Performancecounter Platten
echo '<<<diskstat>>>'
date +%s
-egrep ' (x?[shv]d[a-z]*|cciss/c[0-9]+d[0-9]+|emcpower[a-z]+|dm-[0-9]+|VxVM.*) ' < /proc/diskstats
+egrep ' (x?[shv]d[a-z]*|cciss/c[0-9]+d[0-9]+|emcpower[a-z]+|dm-[0-9]+|VxVM.*|mmcblk.*) ' < /proc/diskstats
if type dmsetup >/dev/null ; then
echo '[dmsetup_info]'
dmsetup info -c --noheadings --separator ' ' -o name,devno,vg_name,lv_name