CMK version: 2.4.0p27.cme
OS version: RHEL 9
Was happy to see that this device was being added in werk 19562. We recently purchased one but nothing was discovered when added in 2.4.0p21. I just updated last night and expected to see services discovered.
Error message: No errors, just no services discovered.
Test Connection in the GUI shows empty values or “Got empty SNMP response”.
Upped the timeout to 4 seconds without much difference.
Updated the firmware for the device just in case.
Testing from the CLI using cmk --snmpwalk produces a file.
$ cat ~/var/check_mk/snmpwalks/temp01
.1.3.6.1.2.1.1.2.0 .1.3.6.1.4.1.20916
.1.3.6.1.2.1.1.3.0 287988984
.1.3.6.1.2.1.1.4.0 Systems
.1.3.6.1.2.1.1.5.0 temp01
.1.3.6.1.2.1.1.6.0 Seattle
.1.3.6.1.4.1.20916.1.13.1.1.1.1.0 7892
.1.3.6.1.4.1.20916.1.13.1.1.1.2.0 2607
.1.3.6.1.4.1.20916.1.13.1.2.1.1.0 2237
.1.3.6.1.4.1.20916.1.13.1.2.1.2.0 7226
.1.3.6.1.4.1.20916.1.13.1.4.1.1.0 Internal Sensor
.1.3.6.1.4.1.20916.1.13.1.4.2.1.0 Ext Sensor 1
snmpwalk responds with content:
$ snmpwalk -v2c -c <commstring> <IP> 1.3.6.1.2.1.1
SNMPv2-MIB::sysDescr.0 = STRING: AVTECH RoomAlert 3S
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.20916
SNMPv2-MIB::sysUpTime.0 = Timeticks: (467789) 1:17:57.89
SNMPv2-MIB::sysContact.0 = STRING: Systems
SNMPv2-MIB::sysName.0 = STRING: temp01
SNMPv2-MIB::sysLocation.0 = STRING: Seattle
SNMPv2-MIB::sysServices.0 = INTEGER: 7
snmpbulkwalk responds with content but is missing the sysDescr
$ snmpbulkwalk -v2c -c <commstring> <ip> 1.3.6.1.2.1.1
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.20916
SNMPv2-MIB::sysUpTime.0 = Timeticks: (486829) 1:21:08.29
SNMPv2-MIB::sysContact.0 = STRING: Systems
SNMPv2-MIB::sysName.0 = STRING: temp01
SNMPv2-MIB::sysLocation.0 = STRING: Seattle
Based on the missing bulkwalk info, tried disabling bulkwalk for the device via rule.
No change.
Debug output
$ cmk -vv temp01
value store: loading from disk
Checkmk version 2.4.0p27
+ FETCHING DATA
Source: SourceInfo(hostname='temp01', ipaddress='<IP>', ident='snmp', fetcher_type=<FetcherType.SNMP: 7>, source_type=<SourceType.HOST: 1>)
[cpu_tracking] Start [7f847bc9b8f0]
Read from cache: SNMPFileCache(path_template=/omd/sites/<sitename>/tmp/check_mk/data_source_cache/snmp/{mode}/temp01, max_age=MaxAge(checking=0, discovery=180.0, inventory=180.0), simulation=False, use_only_cache=False, file_cache_mode=6)
Not using cache (Too old. Age is 8 sec, allowed is 0 sec)
Write data to cache file /omd/sites/<sitename>/tmp/check_mk/data_source_cache/snmp/checking/temp01
Trying to acquire lock on /omd/sites/<sitename>/tmp/check_mk/data_source_cache/snmp/checking/temp01
Got lock on /omd/sites/<sitename>/tmp/check_mk/data_source_cache/snmp/checking/temp01
Releasing lock on /omd/sites/<sitename>/tmp/check_mk/data_source_cache/snmp/checking/temp01
Released lock on /omd/sites/<sitename>/tmp/check_mk/data_source_cache/snmp/checking/temp01
[cpu_tracking] Stop [7f847bc9b8f0 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
Source: SourceInfo(hostname='temp01', ipaddress='<IP>', ident='piggyback', fetcher_type=<FetcherType.PIGGYBACK: 4>, source_type=<SourceType.HOST: 1>)
[cpu_tracking] Start [7f847c1fec60]
Read from cache: NoCache(path_template=/dev/null, max_age=MaxAge(checking=0.0, discovery=0.0, inventory=0.0), simulation=False, use_only_cache=False, file_cache_mode=1)
0 piggyback files for 'temp01'.
0 piggyback files for '<IP>'.
Get piggybacked data
[cpu_tracking] Stop [7f847c1fec60 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.009999999776482582))]
[cpu_tracking] Start [7f847c1876e0]
+ PARSE FETCHER RESULTS
HostKey(hostname='temp01', source_type=<SourceType.HOST: 1>) -> Add sections: []
HostKey(hostname='temp01', source_type=<SourceType.HOST: 1>) -> Add sections: []
Received no piggyback data
0 piggyback files for 'temp01'.
0 piggyback files for '<IP>'.
[cpu_tracking] Stop [7f847c1876e0 - Snapshot(process=posix.times_result(user=0.009999999999999787, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
value store: updating
Trying to acquire lock on /omd/sites/<sitename>/tmp/check_mk/counters/temp01
Got lock on /omd/sites/<sitename>/tmp/check_mk/counters/temp01
value store: already loaded
value store: writing to disk
Releasing lock on /omd/sites/<sitename>/tmp/check_mk/counters/temp01
Released lock on /omd/sites/<sitename>/tmp/check_mk/counters/temp01
[snmp] Success, [piggyback] Success (but no data found for this host), execution time 0.0 sec | execution_time=0.010 user_time=0.010 system_time=0.000 children_user_time=0.000 children_system_time=0.000 cmk_time_snmp=0.000 cmk_time_agent=0.010
Wondering if this is broken snmp and/or something with the plug-in.
I can provide more specifics if desired but appreciate any troubleshooting assistance.
Thanks for your time,
Scotsie
