SNMP Fault after update to 2.1

Checkmk Enterprise Edition 2.1.0p11

Cannot update tree(!), Found 1 inventory entries, [snmp] Cannot fetch system object OID .1.3.6.1.2.1.1.2.0. Please check your SNMP configuration. Possible reason might be: Wrong credentials, wrong SNMP version, Firewall rules, etc.(!)


Not

It was working before the update to 2.1 not sure what changed in 2.1

If it is only the HW/SW Inventory that has problems, it is possible that only one of the inventory plugins has a problem with your device.

On the command line you can do also a test like the following two.

cmk --debug -vvI hostname
or
cmk --debug -vv --inventory-as-check hostname

OMD[mon]:~$ cmk --debug -vvI --HOSTNAME–
WARNING: 1 deprecated plugins will be ignored in Checkmk version 2.2 (see werk #14084): mikrotik_os_info
Discovering services and host labels on: --HOSTNAME–
–HOSTNAME–:

  • FETCHING DATA
    Source: SourceType.HOST/FetcherType.SNMP
    [cpu_tracking] Start [7f84866fae80]
    [SNMPFetcher] Fetch with cache settings: SNMPFileCache(–HOSTNAME–, base_path=/omd/sites/mon/tmp/check_mk/data_source_cache/snmp, max_age=MaxAge(checking=0, discovery=120, inventory=120), disabled=False, use_outdated=False, simulation=False)
    Not using cache (Too old. Age is 104918 sec, allowed is 120 sec)
    [SNMPFetcher] Execute data source
    SNMP scan:
    Getting OID .1.3.6.1.2.1.1.1.0: Executing SNMP GET of .1.3.6.1.2.1.1.1.0 on --HOSTNAME–
    => [b’“Network-Box Model: M-385i/UTM+ MASTER”‘] OCTETSTR
    b’“Network-Box Model: M-385i/UTM+ MASTER”’
    Getting OID .1.3.6.1.2.1.1.2.0: Executing SNMP GET of .1.3.6.1.2.1.1.2.0 on --HOSTNAME–
    => [None] NOSUCHOBJECT
    failed.
    [cpu_tracking] Stop [7f84866fae80 - Snapshot(process=posix.times_result(user=0.040000000000000036, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.030000001192092896))]
    Source: SourceType.HOST/FetcherType.PIGGYBACK
    [cpu_tracking] Start [7f84866fa0a0]
    [PiggybackFetcher] Fetch with cache settings: NoCache(–HOSTNAME–, base_path=/omd/sites/mon/tmp/check_mk/data_source_cache/piggyback, max_age=MaxAge(checking=0, discovery=120, inventory=120), disabled=True, use_outdated=False, simulation=False)
    Not using cache (Cache usage disabled)
    [PiggybackFetcher] Execute data source
    No piggyback files for ‘–HOSTNAME–’. Skip processing.
    No piggyback files for ‘–IP–’. Skip processing.
    Not using cache (Cache usage disabled)
    [cpu_tracking] Stop [7f84866fa0a0 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
  • PARSE FETCHER RESULTS
    Source: SourceType.HOST/FetcherType.SNMP
    → Not adding sections: Cannot fetch system object OID .1.3.6.1.2.1.1.2.0. Please check your SNMP configuration. Possible reason might be: Wrong credentials, wrong SNMP version, Firewall rules, etc.
    Source: SourceType.HOST/FetcherType.PIGGYBACK
    No persisted sections
    → Add sections: []
    Received no piggyback data
    Received no piggyback data
  • ANALYSE DISCOVERED HOST LABELS
    Trying host label discovery with:
    Trying host label discovery with:
    SUCCESS - Found no new host labels
  • ANALYSE DISCOVERED SERVICES
  • EXECUTING DISCOVERY PLUGINS (0)
    Trying discovery with:
    SUCCESS - Found no new services

Has this device really no SystemObject OID?
You can test manually with an snmpwalk.

Hi there,

i have the same issu. I have updated the Aplliance from 2.0 to 2.1.0p29.
Befor the update everyting was fine, after i can get any SNMP date from 3 Servers.

SNMP Error on hostIP : Timeout: No Response from hostIP (Exit-Code: 1)

tcpdump:

10:52:39.812447 IP srv-check-mk01.46408 > hostIP.snmp: GetBulk(27) N=0 M=10 system.sysDescr
10:52:39.814448 IP hostIP.snmp > srv-check-mk01.46408: GetResponse(330) system.sysDescr.0=“Linux hostname 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64” system.sysObjectID.0=E:8072.3.2.10 system.sysUpTime.0=311123341 system.sysContact.0=“root@localhost” system.sysName.0=“hostname” system.sysLocation.0=“Unknown” system.8.0=4 system.9.1.2.1=S:snmpMPDMIB.snmpMPDMIBConformance.snmpMPDMIBCompliances.1 system.9.1.2.2=S:snmpUsmMIB.usmMIBConformance.usmMIBCompliances.1 system.9.1.2.3=S:snmpFrameworkMIB.snmpFrameworkMIBConformance.1.1
10:52:39.829272 IP srv-check-mk01.34965 > hostIP.snmp: GetBulk(27) N=0 M=10 system.sysContact
10:52:39.897334 IP srv-check-mk01.51704 > hostIP.snmp: GetNextRequest(27) system.sysDescr
10:52:39.902994 IP srv-check-mk01 > hostIP: ICMP echo request, id 119, seq 1, length 64
10:52:39.904151 IP hostIP> srv-check-mk01: ICMP echo reply, id 119, seq 1, length 64
10:52:39.941347 IP srv-check-mk01.33238 > hostIP.snmp: GetNextRequest(27) system.sysDescr
10:52:40.103443 IP srv-check-mk01 > hostIP: ICMP echo request, id 119, seq 2, length 64
10:52:40.104595 IP hostIP> srv-check-mk01: ICMP echo reply, id 119, seq 2, length 64
10:52:40.225284 IP srv-check-mk01.50973 > hostIP.snmp: GetNextRequest(32) E:2021.13.15.1.1.3
10:52:40.830349 IP srv-check-mk01.34965 > hostIP.snmp: GetBulk(27) N=0 M=10 system.sysContact
10:52:40.898418 IP srv-check-mk01.51704 > hostIP.snmp: GetNextRequest(27) system.sysDescr
10:52:40.942168 IP srv-check-mk01.33238 > hostIP.snmp: GetNextRequest(27) system.sysDescr
10:52:41.831401 IP srv-check-mk01.34965 > hostIP.snmp: GetBulk(27) N=0 M=10 system.sysContact
10:52:41.899615 IP srv-check-mk01.51704 > hostIP.snmp: GetNextRequest(27) system.sysDescr
10:52:41.943227 IP srv-check-mk01.33238 > hostIP.snmp: GetNextRequest(27) system.sysDescr
10:52:42.318525 IP srv-check-mk01 > hostIP: ICMP echo request, id 33234, seq 1, length 64
10:52:42.319539 IP hostIP> srv-check-mk01: ICMP echo reply, id 33234, seq 1, length 64
10:52:42.355378 IP srv-check-mk01.38224 > hostIP.snmp: GetBulk(27) N=0 M=10 system.sysDescr

OMD[DAAD]:~$ cmk --debug -vvI hostname
Discovering services and host labels on: hostname
hostname:

  • FETCHING DATA
    Source: SourceType.HOST/FetcherType.SNMP
    [cpu_tracking] Start [7f0e991399d0]
    [SNMPFetcher] Fetch with cache settings: SNMPFileCache(hostname, base_path=/omd/sites/DAAD/tmp/check_mk/data_source_cache/snmp, max_age=MaxAge(checking=0, discovery=120, inventory=120), disabled=False, use_outdated=False, simulation=False)
    Not using cache (Too old. Age is 37752 sec, allowed is 120 sec)
    [SNMPFetcher] Execute data source
    SNMP scan:
    Getting OID .1.3.6.1.2.1.1.1.0: Running ‘snmpget -v1 -c public -m “” -M “” -t 5.00 -r 5 -On -OQ -Oe -Ot hostIP .1.3.6.1.2.1.1.1.0’
    SNMP answer: ==> [“Linux hostname 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64”]
    b’Linux hostname 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64’
    Getting OID .1.3.6.1.2.1.1.2.0: Running ‘snmpget -v1 -c public -m “” -M “” -t 5.00 -r 5 -On -OQ -Oe -Ot hostIP .1.3.6.1.2.1.1.2.0’
    SNMP answer: ==> [.1.3.6.1.4.1.8072.3.2.10]
    b’.1.3.6.1.4.1.8072.3.2.10’
    Getting OID .1.3.6.1.4.1.14848.2.1.1.1.0: Running ‘snmpget -v1 -c public -m “” -M “” -t 5.00 -r 5 -On -OQ -Oe -Ot hostIP .1.3.6.1.4.1.14848.2.1.1.1.0’
    ERROR: SNMP error
    Error in packet
    Reason: (noSuchName) There is no such variable name in this MIB.
    Failed object: .1.3.6.1.4.1.14848.2.1.1.1.0

failed.
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.1.0: ‘Linux hostname 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.1.0: ‘Linux hostname 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.1.0: ‘Linux hostname 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64’
Using cached OID .1.3.6.1.2.1.1.1.0: ‘Linux hostname 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.1.0: ‘Linux hostname 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Using cached OID .1.3.6.1.2.1.1.2.0: ‘.1.3.6.1.4.1.8072.3.2.10’
Getting OID .1.3.6.1.4.1.7244.1.2.1.1.1.0: Running ‘snmpget -v1 -c public -m “” -M “” -t 5.00 -r 5 -On -OQ -Oe -Ot hostIP .1.3.6.1.4.1.7244.1.2.1.1.1.0’
ERROR: SNMP error
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.7244.1.2.1.1.1.0

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.