Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit 233ddeb9 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 17b61e13
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ def parse_snmp_uptime_extended(string_table: StringTable) -> Optional[uptime.Sec ...@@ -37,7 +37,7 @@ def parse_snmp_uptime_extended(string_table: StringTable) -> Optional[uptime.Sec
""" """
try: try:
sysUpTime, hrSystemUptime, snmpEngineTime = string_table[0] sysUpTime, hrSystemUptime, snmpEngineTime = string_table[0]
except ValueError: except (ValueError, IndexError):
return return
ticks = sysUpTime or hrSystemUptime ticks = sysUpTime or hrSystemUptime
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment