Page 1 of 2

Nagios 4.1.1: auto discovery tools/plugin

Posted: Fri Apr 29, 2016 3:58 am
by erotavlas
Hi,
I'm new of Nagios. I just installed the latest available version 4.1.1 together with latest plugin version 2.1.1 on Ubuntu 14.04. I know that I can manually add new devices via configuration files. What about a devices discovering functionality? I read https://en.wikipedia.org/wiki/Compariso ... ng_systems that this feature is currently available via plug in. Can you suggest me a documentation about this? By making a search on the web, I only found this https://exchange.nagios.org/directory/A ... DDiscovery.
Thank you

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Fri Apr 29, 2016 10:11 am
by rkennedy
There isn't an auto discovery plugin for Nagios Core, and the plugin you linked mostly applies to Nagios XI. If you're looking for this feature, I would take a look at our enterprise product which will have wizards available for easier functionality. (https://www.nagios.com/downloads/nagios-xi/)

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Fri Apr 29, 2016 10:21 am
by eloyd
My company is a Nagios reseller, so I do want to encourage you to look at the Nagios XI Enterprise option, but if you're brave, you can make a basic auto-discovery yourself. Here's a brief overview (details are beyond the scope of this forum):
  • Setup cron to use nmap to probe your network
  • Parse the nmap output to look for new hosts (you will have to keep track of the previous nmap output)
  • Find new hosts and use snmpwalk or some other probe to determine what you can monitor on that host
  • Build a new Nagios configuration file for that host with any appropriate services that you discovered
  • Reload Nagios configurations
That's a quick overview of how you could do auto-discovery.

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Fri Apr 29, 2016 11:04 am
by nozlaf
adagios (agagios.org)a has a neat discovery tool for nagios core
is a bit under development tho

if you do what eloyd suggested pynag is very handy to add hosts to configs

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Fri Apr 29, 2016 1:44 pm
by hsmith
I set this one up and used it my first week working for Nagios trying to learn things: https://exchange.nagios.org/directory/A ... 29/details

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Fri Apr 29, 2016 1:45 pm
by tmcdonald
nozlaf wrote:adagios (agagios.org)a has a neat discovery tool for nagios core
is a bit under development tho
We also can't really support or officially recommend it, although it is a pretty cool idea.

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Sun May 01, 2016 3:00 am
by erotavlas
hsmith wrote:I set this one up and used it my first week working for Nagios trying to learn things: https://exchange.nagios.org/directory/A ... 29/details
Thank you for this script. I never used perl even if I know bash scripting and other scripting languages. Is there the possibility to split the configuration file among different categorized configuration files: switch, access point, phone cells, and so on?
Thank you

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Sun May 01, 2016 3:01 am
by erotavlas
nozlaf wrote:adagios (agagios.org)a has a neat discovery tool for nagios core
is a bit under development tho

if you do what eloyd suggested pynag is very handy to add hosts to configs
Thank you for the answer. I will take a look at pynag.
Best regards

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Sun May 01, 2016 3:04 am
by erotavlas
rkennedy wrote:There isn't an auto discovery plugin for Nagios Core, and the plugin you linked mostly applies to Nagios XI. If you're looking for this feature, I would take a look at our enterprise product which will have wizards available for easier functionality. (https://www.nagios.com/downloads/nagios-xi/)
Thank you. However, if I need to buy an enterprise solution, I will turn my attention to other monitoring solutions.

Re: Nagios 4.1.1: auto discovery tools/plugin

Posted: Mon May 02, 2016 8:59 am
by eloyd
You will likely not find a better bargain than Nagios XI for Enterprise monitoring, and you will likely not find a free Enterprise monitoring solution with auto-discovery tools.

Nagios XI has auto-discovery built into it. So far, you've asked only about Nagios Core. Nagios Core is open source free software. Nagios XI is commercial software built around Nagios Core that provides hundreds (if not thousands) of Enterprise level options including auto-discovery, monitoring wizards, built-in graphing and analysis, and tons of other things.

I would be happy to discuss this with you in private messages, if you would like, as we are a Nagios Authorized Reseller and consulting company.