I have this very slooooow snmp device which I cannot scan due to time outs on the webinterface
So cli to the rescue, but when I do a “cmk -II host” I get
Hostname or tag specification 'host' does not match any host.
but when I perform a -D dump check I get the proper details
running the reinventory has the same behaviour on master as on slaves … I’m puzzled here
the cmk -D <hostname> has to be executed in the site on the satellite where the host is assigned via the folder structure.
Have you really checked the output on the master ?
It might be, that the output is just a dummy output, because cmk -D nonexistent also outputs things that look valid at first glance:
nonexistent
Addresses: 0.0.0.0
Tags: [address_family:ip-v4-only], [agent:cmk-agent], [criticality:prod], [networking:lan], [piggyback:auto-piggyback], [site:monitoring], [snmp_ds:no-snmp]
Labels: [cmk/site:monitoring]
Host groups: check_mk
Contact groups:
Agent mode: No agent
Type of agent:
Process piggyback data from /omd/sites/monitoring/tmp/check_mk/piggyback/nonexistent
PING only
Services:
checktype item params description groups
The BlogPost you mention is about SNMP monitoring and tuning, not about inventory scans via cli (it only short mentions the syntax)
(trust me I’ve read this blog many times )
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.