Page 1 of 1
Specific Actions Auto-Discovery in XI Takes?
Posted: Tue Jul 09, 2013 8:38 am
by matt.uebel
I am interested in using Nagios to auto-discover frequently as a way of ensuring all our hosts are monitored. It seems that the auto-discovery plugin uses nmap to actually do the discovering part. Has anybody else used this method with success?
What specific nmap command does the plugin end up running?
I am having difficulty finding any documentation apart from initial setup and basic usage of the plugin. Does anybody have a link to good documentation?
Re: Specific Actions Auto-Discovery in XI Takes?
Posted: Tue Jul 09, 2013 11:58 am
by abrist
The nmap commands are in a protected component, but the commands are:
Code: Select all
sudo /usr/bin/nmap -O -oX <filename> <ip>
/usr/bin/nmap -oX <filename> <ip>
And it also uses a vanilla traceroute command as well.
Re: Specific Actions Auto-Discovery in XI Takes?
Posted: Tue Jul 09, 2013 2:46 pm
by matt.uebel
So it will do a full port scan on each discovered host?
Re: Specific Actions Auto-Discovery in XI Takes?
Posted: Tue Jul 09, 2013 2:55 pm
by abrist
By default, Nmap scans the most common 1,000 ports for each protocol.
Re: Specific Actions Auto-Discovery in XI Takes?
Posted: Wed Jul 10, 2013 2:13 pm
by matt.uebel
Is there any way to stop Nagios Auto-Discovery from doing this?
Re: Specific Actions Auto-Discovery in XI Takes?
Posted: Wed Jul 10, 2013 2:16 pm
by abrist
What would you like it to do instead?
Re: Specific Actions Auto-Discovery in XI Takes?
Posted: Fri Jul 12, 2013 9:52 am
by matt.uebel
Do ping only for host discovery.
Re: Specific Actions Auto-Discovery in XI Takes?
Posted: Fri Jul 12, 2013 9:57 am
by sreinhardt
At this point it is not possible, as this is an encrypted file within XI. You certainly can put in a feature request, although something more along the lines of "Allowing additional scan options for nmap, such as ignoring ping up or down, udp scan...." Instead of just asking for the ability to only ping.