Skip to content

Commit

Permalink
docsis: Added Arris C4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian-Kuhn committed Aug 7, 2014
1 parent 71015c9 commit 29d91d7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions checks/docsis.include
Expand Up @@ -27,14 +27,15 @@

# Scan Function for DOCSIS Devices who supports the general information
def docsis_scan_function(oid):
if oid(".1.3.6.1.2.1.1.2.0") in [ ".1.3.6.1.4.1.4115.820.1.0.0.0.0.0",
".1.3.6.1.4.1.9.1.827",
if oid(".1.3.6.1.2.1.1.2.0") in [ ".1.3.6.1.4.1.4115.820.1.0.0.0.0.0", # ARRIS Touchstone WideBand Cable Modem
".1.3.6.1.4.1.9.1.827", # Cisco CMTS UBR 7200
".1.3.6.1.4.1.4998.2.1", # ARRIS CMTS C4
]:
return True

# Scan Function for cable modems with DOCSIS MIB
# docsIfCmStatusTable 1.3.6.1.2.1.10.127.1.2.2
def docsis_scan_function_cable_modem(oid):
if oid(".1.3.6.1.2.1.1.2.0") in [ ".1.3.6.1.4.1.4115.820.1.0.0.0.0.0",
if oid(".1.3.6.1.2.1.1.2.0") in [ ".1.3.6.1.4.1.4115.820.1.0.0.0.0.0", # ARRIS Touchstone WideBand Cable Modem
]:
return True

0 comments on commit 29d91d7

Please sign in to comment.