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.
Auto-Discovery status keeps running ...
Auto-Discovery status keeps running ...
Newbie '14
Re: Auto-Discovery status keeps running ...
There were some bugs with this component/wizard. Update the autodiscovery wizard and component from admin --> manage components/config wizards.
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.
"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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Auto-Discovery status keeps running ...
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 ...
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.
Newbie '14
Re: Auto-Discovery status keeps running ...
Could you check the version of the autodiscovery component as well?PhilG wrote: The Auto-Discovery Wizard is at version 1.3, and identified as "Up to date".
Rightfully so. Wait for a few weeks to see if any bugs survived beta.PhilG wrote:I just noted the following Nagios XI update - 2014R1.0 - and am very skeptical with going to version "1.0" of anything.
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.
"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.
Re: Auto-Discovery status keeps running ...
abrist wrote:Could you check the version of the autodiscovery component as well?PhilG wrote: The Auto-Discovery Wizard is at version 1.3, and identified as "Up to date".
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?
Rightfully so. Wait for a few weeks to see if any bugs survived beta.PhilG wrote:I just noted the following Nagios XI update - 2014R1.0 - and am very skeptical with going to version "1.0" of anything.
Newbie '14
Re: Auto-Discovery status keeps running ...
Run the following and post the output
Code: Select all
grep "COMPONENT_VERSION" /usr/local/nagiosxi/html/includes/components/autodiscovery/autodiscovery.inc.phpFormer Nagios employee
Re: Auto-Discovery status keeps running ...
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
Newbie '14
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Auto-Discovery status keeps running ...
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.
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.
Re: Auto-Discovery status keeps running ...
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.
Newbie '14