Module: check_mk
Branch: master
Commit: b1c21181bec31120e35b88eb5b9f342d412f249c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b1c21181bec311…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Sep 2 16:38:38 2015 +0200
modified tcp_conn_stats ruke and added map page for datapoer_tcp check
---
checkman/datapower_tcp | 16 ++++++++++++++++
web/plugins/wato/check_parameters.py | 21 +++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/checkman/datapower_tcp b/checkman/datapower_tcp
new file mode 100644
index 0000000..89c6aec
--- /dev/null
+++ b/checkman/datapower_tcp
@@ -0,0 +1,16 @@
+title: IBM Datapower: Number of TCP Connections per state
+agents: snmp
+catalog: hw/network/ibm
+license: GPL
+distribution: check_mk
+description:
+ This check monitors the number of TCP connections in the various possible states,
+ which are: {ESTABLISHED}, {SYN_SENT}, {SYN_RECV}, {LAST_ACK}, {CLOSE_WAIT},
+ {TIME_WAIT}, {CLOSED}, {CLOSING}, {FIN_WAIT1}, {FIN_WAIT2}.
+ This check supports the IBM Datapower XG45 device.
+
+ Moreover the check is configurable via WATO. For the possible states you
+ can set upper warn and crit levels. No default levels are set.
+
+inventory:
+ If there is at least one TCP connection then the check will be created.
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 3ba57a6..9638b68 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -2550,6 +2550,16 @@ register_check_parameters(
]
)
),
+ ( "LISTEN",
+ Tuple(
+ title = _("LISTEN"),
+ help = _("represents waiting for a connection request from any
remote TCP and port"),
+ elements = [
+ Integer(title = _("Warning at"), label =
_("connections")),
+ Integer(title = _("Critical at"), label =
_("connections"))
+ ]
+ )
+ ),
( "BOUND",
Tuple(
title = _("BOUND"),
@@ -2562,6 +2572,17 @@ register_check_parameters(
]
)
),
+ ( "IDLE",
+ Tuple(
+ title = _("IDLE"),
+ help = _("a TCP session that is active but that has no data being
"
+ "transmitted by either device for a prolonged period of
time"),
+ elements = [
+ Integer(title = _("Warning at"), label =
_("connections")),
+ Integer(title = _("Critical at"), label =
_("connections"))
+ ]
+ )
+ ),
]
),
None,