checks cisco_srst_state/call_legs improved
Message-ID: <55642817.yzisSgMRwy6S1KaB%si(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: b532bd4fe2111367cac28783d67f8967cde71fef
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b532bd4fe21113…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue May 26 09:59:07 2015 +0200
cisco_srst_call_legs manpage edited, checks cisco_srst_state/call_legs improved
---
checkman/cisco_srst_call_legs | 2 +-
checks/cisco_srst_call_legs | 2 +-
checks/cisco_srst_state | 5 +++++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/checkman/cisco_srst_call_legs b/checkman/cisco_srst_call_legs
index dfa662f..8fc985b 100644
--- a/checkman/cisco_srst_call_legs
+++ b/checkman/cisco_srst_call_legs
@@ -1,4 +1,4 @@
-title: Cisco Unified Survivable Remote Site Telephony (SRST): Active Call Legs
+title: Cisco Unified Survivable Remote Site Telephony (SRST): Call Legs
agents: snmp
catalog: hw/network/cisco
license: GPL
diff --git a/checks/cisco_srst_call_legs b/checks/cisco_srst_call_legs
index f2aabdc..f055ff9 100644
--- a/checks/cisco_srst_call_legs
+++ b/checks/cisco_srst_call_legs
@@ -31,7 +31,7 @@ def inventory_cisco_srst_call_legs(info):
def check_cisco_srst_call_legs(_no_item, _no_params, info):
call_legs = int(info[0][0])
- yield 0, "%d active call legs" % call_legs, [ ("call_legs",
call_legs) ]
+ yield 0, "%d call legs routed through the Cisco device since going active"
% call_legs, [ ("call_legs", call_legs) ]
check_info['cisco_srst_call_legs'] = {
diff --git a/checks/cisco_srst_state b/checks/cisco_srst_state
index 50dd709..2023421 100644
--- a/checks/cisco_srst_state
+++ b/checks/cisco_srst_state
@@ -25,6 +25,11 @@
# Boston, MA 02110-1301 USA.
+# 1.3.6.1.4.1.9.9.441.1.2.32.1.1 -> csrstAccessCodeType: 1, 2, 3, 4(pri)
+# 1.3.6.1.4.1.9.9.441.1.2.32.1.2 -> csrstAccessCode: SnmpAdminString
+# 1.3.6.1.4.1.9.9.441.1.2.32.1.3 -> csrstAccessCodeDIDEnabled TruthValue
+
+
def inventory_cisco_srst_state(info):
return [ (None, None) ]