Module: check_mk
Branch: master
Commit: 3eb8daa9a6fefdd92719c1d2bdb8fcf2c735032c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3eb8daa9a6fefd…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue May 17 13:14:24 2016 +0200
docsis_cm_status: readable states
---
checks/docsis_cm_status | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/checks/docsis_cm_status b/checks/docsis_cm_status
index fb39bed..959d483 100644
--- a/checks/docsis_cm_status
+++ b/checks/docsis_cm_status
@@ -52,19 +52,19 @@ def inventory_docsis_cm_status(info):
def check_docsis_cm_status( item, params, info):
status_table = {
- 1 : "other",
- 2 : "notReady",
- 3 : "notSynchronized",
- 4 : "phySynchronized",
- 5 : "usParametersAcquired",
- 6 : "rangingComplete",
- 7 : "ipComplete",
- 8 : "todEstablished",
- 9 : "securityEstablished",
- 10 :"paramTransferComplete",
- 11 :"registrationComplete",
- 12 :"operational",
- 13 :"accessDenied",
+ 1 : "other",
+ 2 : "not ready",
+ 3 : "not synchronized",
+ 4 : "PHY synchronized",
+ 5 : "upstream parameters acquired",
+ 6 : "ranging complete",
+ 7 : "IP complete",
+ 8 : "TOD established",
+ 9 : "security established",
+ 10 : "params transfer complete",
+ 11 : "registration complete",
+ 12 : "operational",
+ 13 : "access denied",
}
for sid, status, tx_power in info:
@@ -108,4 +108,3 @@ check_info["docsis_cm_status"] = {
"group" : "docsis_cm_status",
"includes" : [ "docsis.include" ],
}
-