Page 1 of 4

Auto-Discovery status keeps running ...

Posted: Mon May 12, 2014 12:19 pm
by PhilG
Hello:
We are running Nagios XI 2012R2.9 on Red Hat Linux (latest version).
I ran an Auto-Discovery job on 2014-05-09 15:24:41 and the job is still running as of this time, Mon. 5/12/2014. I was informed by my colleague that when he setup Nagios XI back in the Fall of 2013 (the version of Nagios XI was 2 versions back at that time) and ran an Auto-Discovery job on the same IP range at that time, the process didn't take more than 30 minutes (at least less than one hour), w.x.y.z/24.
I checked with my firewall/network colleague and he stated that the Nagios XI server can "talk" with that IP range and VLAN, so NMAP and such are not blocked (Nagios server can search, discover, and communicate on that VLAN).
Is there anything you need me to look at or do to provide additional information to identify why Auto-Discover does not appear to be working or running in a loop or something? I can run a Windows WMI monitor wizard job on a single IP/host on the same subnet and VLAN with no issue.

Thank you.

Re: Auto-Discovery status keeps running ...

Posted: Mon May 12, 2014 12:47 pm
by abrist
There were some bugs with this component/wizard. Update the autodiscovery wizard and component from admin --> manage components/config wizards.

Re: Auto-Discovery status keeps running ...

Posted: Mon May 12, 2014 12:48 pm
by slansing
How large of a subnet are you running the scan against? Since autodiscovery runs an NMAP scan of that segment, it can take a great deal of time on larger subnets than one would expect.

Re: Auto-Discovery status keeps running ...

Posted: Tue May 13, 2014 8:40 am
by PhilG
slansing wrote:How large of a subnet are you running the scan against? Since autodiscovery runs an NMAP scan of that segment, it can take a great deal of time on larger subnets than one would expect.

As I stated previously, my colleague ran an Autodiscovery Job on the same subnet/VLAN back in the Fall of 2013 when our version of Nagios XI was 2 versions older on the same server, and the Auto-Discovery Wizard was one version older (approximately), and the time it took to locate all 256 devices took between 30 - 45 minutes (we run fiber optic and and at least Cat 5e Ethernet with routers and switches exceeding 100 Gb port connections, VLANed, and have not had any bottleneck issues on our network - firewall does not block the service or protocol or ports required)

Another colleague ran NMAP directly from the Nagios XI Linux server and it took less than 30 minutes to find the devices and provided a text report of the results to use for comparison.

The Auto-Discovery Wizard is at version 1.3, and identified as "Up to date".

The Windows WMI Wizard is at version 1.9 ("Up to date") and works fine.

Is there a way to back rev to an older version of Auto-Discovery, and can I get an older version to install and run, since this version does not seem to work correctly?


I just noted the following Nagios XI update - 2014R1.0 - and am very skeptical with going to version "1.0" of anything.

Re: Auto-Discovery status keeps running ...

Posted: Tue May 13, 2014 1:23 pm
by abrist
PhilG wrote: The Auto-Discovery Wizard is at version 1.3, and identified as "Up to date".
Could you check the version of the autodiscovery component as well?
PhilG wrote:I just noted the following Nagios XI update - 2014R1.0 - and am very skeptical with going to version "1.0" of anything.
Rightfully so. Wait for a few weeks to see if any bugs survived beta.

Re: Auto-Discovery status keeps running ...

Posted: Tue May 13, 2014 1:51 pm
by PhilG
abrist wrote:
PhilG wrote: The Auto-Discovery Wizard is at version 1.3, and identified as "Up to date".

Could you check the version of the autodiscovery component as well?

My response: The Component's Version cell is blank, and while most of the other components identify the version in the Component cell, Auto-Discovery identifies only the following: "Auto-Discovery
Provides device and service auto-discovery.
Author: Nagios Enterprises, LLC ".

What other way or where may I find that version number for you?


PhilG wrote:I just noted the following Nagios XI update - 2014R1.0 - and am very skeptical with going to version "1.0" of anything.
Rightfully so. Wait for a few weeks to see if any bugs survived beta.

Re: Auto-Discovery status keeps running ...

Posted: Tue May 13, 2014 2:09 pm
by tmcdonald
Run the following and post the output

Code: Select all

 grep "COMPONENT_VERSION" /usr/local/nagiosxi/html/includes/components/autodiscovery/autodiscovery.inc.php

Re: Auto-Discovery status keeps running ...

Posted: Tue May 13, 2014 2:21 pm
by PhilG
tmcdonald wrote:Run the following and post the output

Code: Select all

 grep "COMPONENT_VERSION" /usr/local/nagiosxi/html/includes/components/autodiscovery/autodiscovery.inc.php

The response was blank, so I edited the file using VI and noted that "COMPONENT_VERSION" did not exist (I can copy/paste the whole file's contents if you want) - "COMPONENT_AUTHOR, "COMPONENT_DESCRIPTION", "COMPONENT_TITLE", and "COMPONENT_CONFIGFUNCTION (commented out) existed, though.

The top commented area refers "// $Id: autodiscovery.inc.php 549 2012-03-27 16:52:39Z egalstad $" and the file stamp is
8127 May 13 08:44 autodiscovery.inc.php

Re: Auto-Discovery status keeps running ...

Posted: Wed May 14, 2014 1:39 pm
by sreinhardt
Why don't we have you force an update to the newest version. Since the update check seems to not be working properly, here is a link http://library.nagios.com/library/produ ... ery-wizard. You will need an active library account, but it looks like you guys should have that currently. Download that zip file, then upload it via Admin->Manage Wizards. You will need to remove and restart any jobs that are still running.

Re: Auto-Discovery status keeps running ...

Posted: Wed May 14, 2014 1:58 pm
by PhilG
sreinhardt wrote:Why don't we have you force an update to the newest version. Since the update check seems to not be working properly, here is a link http://library.nagios.com/library/produ ... ery-wizard. You will need an active library account, but it looks like you guys should have that currently. Download that zip file, then upload it via Admin->Manage Wizards. You will need to remove and restart any jobs that are still running.

I went to http://library.nagios.com/library/produ ... ery-wizard and d/l'ed autodiscovery.zip and the version is still 1.3, which I already have installed.