Page 1 of 2
Auto-Discovery - Exclude device types
Posted: Wed Feb 22, 2012 2:39 pm
by aacajo
I'm wondering if it is possible to exclude device types when running Auto-Discovery? I do not want to add workstations in Nagios. Also, after the discovery is complete where can I define the default values for the enabled monitors?
I'm doing a trial of the software for my company and figured I'd check how active the community is. Thanks in advance!
Re: Auto-Discovery - Exclude device types
Posted: Wed Feb 22, 2012 3:14 pm
by scottwilkerson
The auto discovery component will just look in the range of IP's you give it (excluding the IP's in the exclude list) and test for common open ports.
These aren't automatically added, once the job is done, you need to choose which machines and ports you want to start monitoring.
Re: Auto-Discovery - Exclude device types
Posted: Wed Feb 22, 2012 3:38 pm
by aacajo
Is there a way to exclude a range of addresses rather than doing a single device seperated by a comma? Scanning a subnet of 254 devices can be cumbersome going through each of them to deselect them and their services, if all I want to do is monitor 30 of those devices.
Re: Auto-Discovery - Exclude device types
Posted: Wed Feb 22, 2012 5:46 pm
by scottwilkerson
Yes you can exclude with slash notation
ie.
exclude: 192.168.5.1/26
Would exclude 192.168.5.0-192.168.5.63
http://www.subnet-calculator.com/
Re: Auto-Discovery - Exclude device types
Posted: Wed Feb 22, 2012 10:51 pm
by aacajo
Oh perfect! You're a smart smart man.
It scans for open ports, but can I have it add SNMP monitors to the discovered devices as well? I didn't see a place to enter my credentials. I'll stop lumping all my questions into one thread, I apologize.
Re: Auto-Discovery - Exclude device types
Posted: Thu Feb 23, 2012 8:12 am
by scottwilkerson
Sure. the auto discovery is just going to setup tcp/udp checks for the ports it finds. You can easily just run the SNMP wizard for the machines that you have SNMP running on to add them.
Re: Auto-Discovery - Exclude device types
Posted: Thu Feb 23, 2012 9:37 am
by aacajo
I need to be able to do this in bulk as well. Again, I only see an option to add SNMP monitoring for a single device. Am I missing something?
Re: Auto-Discovery - Exclude device types
Posted: Thu Feb 23, 2012 9:45 am
by scottwilkerson
aacajo wrote:I need to be able to do this in bulk as well. Again, I only see an option to add SNMP monitoring for a single device. Am I missing something?
There isn't currently a "bulk SNMP" wizard, however there is a bulk import wizard which allows you to setup one host with the services you need and then run the wizard and give it a list of other IP's that you want setup the exact same way...
Re: Auto-Discovery - Exclude device types
Posted: Thu Feb 23, 2012 10:20 am
by aacajo
Bulk import wizard you're referring to the CSV import? Is there a document on how to enable monitors based off of a single host? Not sure where to start with that. Thanks for the prompt replies!
Re: Auto-Discovery - Exclude device types
Posted: Thu Feb 23, 2012 10:28 am
by scottwilkerson
1. Setup 1 machine the way you would like to setup all the others, then, go to:
2. Configure -> Run the Monitoring Wizard -> Bulk Host Import -> Next
3. Select the machine you setup in step 1
4. Check services you want to copy to your new hosts
In the import data section, under CSV Fields, Select address, name
in the CSV Data portion enter the new hosts like the following:
10.1.1.2,machine 1
10.1.1.3,machine 2
10.1.1.4,machine 3
10.1.1.5,machine 4
10.1.1.6,machine 5
etc.
Using of course your data...