Specific Actions Auto-Discovery in XI Takes?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Specific Actions Auto-Discovery in XI Takes?

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Specific Actions Auto-Discovery in XI Takes?

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Specific Actions Auto-Discovery in XI Takes?

Post by matt.uebel »

So it will do a full port scan on each discovered host?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Specific Actions Auto-Discovery in XI Takes?

Post by abrist »

By default, Nmap scans the most common 1,000 ports for each protocol.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Specific Actions Auto-Discovery in XI Takes?

Post by matt.uebel »

Is there any way to stop Nagios Auto-Discovery from doing this?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Specific Actions Auto-Discovery in XI Takes?

Post by abrist »

What would you like it to do instead?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Specific Actions Auto-Discovery in XI Takes?

Post by matt.uebel »

Do ping only for host discovery.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Specific Actions Auto-Discovery in XI Takes?

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked