CMK version: 2.1.0p8.cee
OS version: Check_MK virt1 v1.5.4
Error message:
Check_MK Discovery
Cannot fetch system description OID .1.3.6.1.2.1.1.1.0. Please check your SNMP configuration. Possible reason might be: Wrong credentials
Description:
SNMP Checks with snmpv3 authNoPriv fail on 2.1.0p8.cee.
Steps to isolate / reproduce the issue:
- Create two clean Checkmk instances with the versions 2.0.0p22.cee & 2.1.0p8.cee
- Add only 1 host to each site with exactly the same configuration (Fujitsu IRMC Device)
- Do a discovery via GUI or CMD
- Use a cmk -D to compare the used SNMP params directly
Type of agent 2.0.0p22.cee & 2.1.0p8.cee compared
SNMP (Credentials: 'authNoPriv, md5, checkmk, strongpw!, Bulk walk: yes, Port: 161, Backend: Inline)
SNMP (Credentials: 'authNoPriv, md5, checkmk, strongpw!, Bulk walk: yes, Port: 161, Backend: Inline)
2.0.0p22.cee → works like a charm
2.1.0p8.cee → Discovery / SNMP-Checks fail
Full output
OMD[test]:~/etc$ omd version
OMD - Open Monitoring Distribution Version 2.1.0p8.cee
OMD[test]:~/etc$ cmk -D esx05-irmc
esx05-irmc
Addresses: 192.168.1.105
Tags: [address_family:ip-v4-only], [agent:special-agents], [criticality:prod], [ip-v4:ip-v4], [networking:lan], [piggyback:auto-piggyback], [site:test], [snmp:snmp], [snmp_ds:snmp-v2], [tcp:tcp]
Labels: [cmk/site:test]
Host groups: check_mk
Contact groups: all
Agent mode: No Checkmk agent, all configured special agents
Type of agent:
SNMP (Credentials: 'authNoPriv, md5, checkmk, strongpw!, Bulk walk: yes, Port: 161, Backend: Inline)
Process piggyback data from /omd/sites/test/tmp/check_mk/piggyback/esx05-irmc
Services:
checktype item params description groups
--------- ---- ------ ----------- ------
OMD[test]:~$ omd version
OMD - Open Monitoring Distribution Version 2.0.0p22.cee
OMD[test]:~$ cmk -D esx05-irmc
esx05-irmc
Addresses: 192.168.1.105
Tags: [address_family:ip-v4-only], [agent:cmk-agent], [criticality:prod], [ip-v4:ip-v4], [networking:lan], [piggyback:auto-piggyback], [site:test], [snmp:snmp], [snmp_ds:snmp-v2], [tcp:tcp]
Labels:
Host groups: check_mk
Contact groups: all
Agent mode: No Checkmk agent, all configured special agents
Type of agent:
SNMP (Credentials: 'authNoPriv, md5, checkmk, strongpw!, Bulk walk: yes, Port: 161, Backend: Inline)
Process piggyback data from /omd/sites/test/tmp/check_mk/piggyback/esx05-irmc
Inventory Debug output
OMD[test]:~/etc$ cmk --debug -IIvvv esx05-irmc
#Discovering services and host labels on: esx05-irmc
esx05-irmc:
+ FETCHING DATA
Source: SourceType.HOST/FetcherType.SNMP
[cpu_tracking] Start [7fe520f53940]
[SNMPFetcher] Fetch with cache settings: SNMPFileCache(esx05-irmc, base_path=/omd/sites/test/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 1550 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 esx05-irmc
=> [None] NOSUCHINSTANCE
failed.
[cpu_tracking] Stop [7fe520f53940 - Snapshot(process=posix.times_result(user=0.020000000000000018, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.029999997466802597))]
Source: SourceType.HOST/FetcherType.PIGGYBACK
[cpu_tracking] Start [7fe520e4c040]
[PiggybackFetcher] Fetch with cache settings: NoCache(esx05-irmc, base_path=/omd/sites/test/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 'esx05-irmc'. Skip processing.
No piggyback files for '192.168.1.105'. Skip processing.
Not using cache (Cache usage disabled)
[cpu_tracking] Stop [7fe520e4c040 - 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 description OID .1.3.6.1.2.1.1.1.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 host labels
+ ANALYSE DISCOVERED SERVICES
+ EXECUTING DISCOVERY PLUGINS (0)
Trying discovery with:
SUCCESS - Found no services
Has somebody a similar behaviour registered at 2.1.x Versions?
Best Regards
Philipp