IBM TS 4300: Got empty SNMP response

The snmp scan function in ~/lib/python3/cmk/base/check_legacy_includes/ibm_tape_library.py needs to be extended. I’ll try to get this into the next releases.

For a quick fix we now put a copy into the ~/local folder and extended the scan function

$ diff ~/lib/python3/cmk/base/check_legacy_includes/ibm_tape_library.py ~/local/lib/python3/cmk/base/check_legacy_includes/ibm_tape_library.py 
11c11
<     return oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.32925.1")
---
>     return (oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.14851") or oid(".1.3.6.1.4.1.14851.3.1.3.5.0").startswith("IBM TS4300 Tape Library"))

But we also found a IBM TS4300 Tape Library
that is not outputting any information about drives and cadridges at all (i suspect it needs a reboot or firmware upgrade)

1 Like