I would like to discovery only snmp hosts

When I run a discovery on a network I find all things:

  • important ones: server, routers, printers, all with snmp
  • not important: pc, notebooks, and so on

Unfortunately pc and notebook are not always on so I get false alarms and anyway I am not interested in cpu usage of a notebook.
Is there a way to scan a network and keep only snmp enabled hosts?
Thanks,
Mario

Do you not segment your network to keep end user equipment separate from servers and networking gear? I’d narrow the subnets you’re scanning to only get what you want, if that’s the case. If you don’t, maybe you should.

Otherwise, build a requisition if you have some source of truth, or use discovery with detectors: https://docs.opennms.org/opennms/releases/latest/guide-admin/guide-admin.html#ga-provisioning-auto-discovery-detectors

I cannot segment “my networks”, because they are not “my networks”. Customers call me when they are desperate and want to understand what’s happening in their company.
Anyway I am trying to use detectors but opennms crashes at start and I cannot find first exception.
Is documentation updated?
Thanks,
Mario

You probably have some malformed config that’s causing the application to not start. Try the config tester: ${OPENNMS_HOME}/bin/config-tester -a;