Does Checkmk have the ability to do subnet(s) discovery using SNMP?

Does Checkmk have the ability to do subnet discovery using SNMP? This is important to us since we have a lot of change taking place.

What do you mean by subnet discovery using SNMP?

You can configure “Network Scan” in individual folders. This will ping the configured IP range and add new hosts. It will not do a service discovery but you could have the newly created hosts be configured with SNMP on and checkmk agent off.

1 Like

Just tried this. Quick question…
How in the world do I get checkmk to display the host name instead of IP address on the list of discovered hosts?

Thanks,

The system should do this automatically if the system can resolve the IP.

1 Like

Right. If it work manually (which means DNS resolution is working), why would a subnet scan not produce the same results?

Even if I scan a range of 10 IPs, it does not resolve, so it’s not as if it’s taxing the system in any way.

The network scan does a simple

socket.gethostbyaddr(ipaddress)

You can only look on your command line if this works or not.

What do you mean with

Have you tested with nslookup or dig on command line?

Thanks for the reply. I cannot use the command line since this is a trial appliance, so the command line is restricted to setup only (no root access).

By manually, I meant that if you add a single device manually by hostname, it will resolve and add it. The issue arises when doing a subnet scan (range of IPs or full network scan). Doing this only returns a list of all the IPs. None of these resolve.

Regards,
NB

That’s fine - this is a forward lookup, the network scan does a reverse lookup.
Your DNS cannot resolve reverse lookup queries correctly.

Thanks. Double checked and DNS is fine.

What I did find is that the only host that resolves in the whole /24 subnet is the checkmk appliance.

If you have no command line on the appliance you cannot double check.
How have you done it?

Meant that I checked entries on DNS itself:

Cheers,