Page 2 of 2
Re: Auto-Discovery - Exclude device types
Posted: Wed Mar 21, 2012 2:03 pm
by benhank
just to piggie back on this: how can I get nagios to search for a range of Ip's for devices that have already been dicovered and then have nagios not monitor them.
For example, we have say 100 devices in nagios that are within a certain range of ip's, we want to have nagios not monitor these devices any more.
mind you we dont want to delete them we just dont want to monitor them.
Re: Auto-Discovery - Exclude device types
Posted: Wed Mar 21, 2012 2:37 pm
by scottwilkerson
This isn't built in however if you have these grouped into hostgroups you could go to the Hostgroup Summary, click View Hostgroup Commands
And then on the following screen click "Disable active checks of all services in this hostgroup"
Re: Auto-Discovery - Exclude device types
Posted: Wed Mar 21, 2012 2:46 pm
by benhank
My boss just rephrased the issue..
can we tell nagios to ignore an Ip range for instance 192.168.1.1 to 192.168.1.255.nagios would ignore these ip ranges irregardless of whether they are already monitored or not.
Or do you know of a script/ plugin out there that could be reconfigured by me to do it? Thanks!
Re: Auto-Discovery - Exclude device types
Posted: Wed Mar 21, 2012 3:12 pm
by scottwilkerson
You can ignore ranges in auto discovery, but you cannot configure nagios to monitor a bunch of IP's and then disable monitoring based on a range of IP's.
Re: Auto-Discovery - Exclude device types
Posted: Wed Mar 21, 2012 3:22 pm
by benhank
Thanks sir!
Re: Auto-Discovery - Exclude device types
Posted: Wed Mar 21, 2012 3:37 pm
by benhank
whats dumb is that i said all of that when I just could have said can nagios be configured to blacklist a range of Ip's.