Page 1 of 3
Autodiscovery Questions
Posted: Wed Dec 02, 2015 1:07 pm
by haile711
I have set up 2 jobs for discovery of new hosts. They are locate in the /html/includes/components/autodiscovery/jobs. I want to know how to the jobs name get created?
Is there a way to parse out the .xml to a new text file?
Code: Select all
[root@MA100DLVMON812 jobs]# ls -lrt
total 624
-rw-r--r-- 1 apache nagios 0 Dec 1 13:43 o80q02.watch
-rw-r--r-- 1 apache nagios 345477 Dec 1 13:49 o80q02.out
-rw-r--r-- 1 apache nagios 87581 Dec 1 13:49 o80q02.xml
-rw-r--r-- 1 apache nagios 0 Dec 1 14:34 4oorvf.watch
-rw-r--r-- 1 apache nagios 150605 Dec 1 14:41 4oorvf.out
-rw-r--r-- 1 apache nagios 37001 Dec 1 14:41 4oorvf.xm
l
Re: Autodiscovery Questions
Posted: Wed Dec 02, 2015 6:22 pm
by hsmith
haile711 wrote:I want to know how to the jobs name get created?
Random, to the best of my knowledge.
You could look inside of
/usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php and make any modifications you would like.
Re: Autodiscovery Questions
Posted: Thu Dec 03, 2015 11:11 am
by haile711
Thanks for the respond hsmith. I will take a look and see if there is anything I can do
Re: Autodiscovery Questions
Posted: Thu Dec 03, 2015 11:24 am
by rkennedy
I'll leave this thread open for now, let us know if you have any more questions.
Re: Autodiscovery Questions
Posted: Mon Dec 07, 2015 11:44 am
by haile711
Thanks Kennedy,
I have recently upgraded one of my Nagios servers to 5.x but the "Autodiscovery" is running for the long long time. When we tried the nmap scan from the server with the same subnet, we got a response within 3 mins less. Did I do something wrong? please advise. Thanks
Re: Autodiscovery Questions
Posted: Mon Dec 07, 2015 12:10 pm
by lmiltchev
I have recently upgraded one of my Nagios servers to 5.x but the "Autodiscovery" is running for the long long time.
How long does it take before the new devices are discovered in the GUI? What is the version of the Nagios XI, "Auto-Discovery" component, and the "Auto-Discovery" wizard that you are currently using? What is the output of the following command?
Re: Autodiscovery Questions
Posted: Mon Dec 07, 2015 12:34 pm
by haile711
Code: Select all
Nmap version 5.51 ( http://nmap.org )
Auto-Discovery version 2.2.1
I have been running the job for over 3 hours and still nothing. Nothing the has been discovered and the jobs is not done either.
Re: Autodiscovery Questions
Posted: Mon Dec 07, 2015 12:41 pm
by rkennedy
Can you update your nmap?
Also, what version is the 'Auto-Discovery' wizard? The screen shot you posted is for the core component.
Re: Autodiscovery Questions
Posted: Mon Dec 07, 2015 1:53 pm
by haile711
how do we find out the wizards version?
Re: Autodiscovery Questions
Posted: Mon Dec 07, 2015 2:04 pm
by lmiltchev
how do we find out the wizards version?
Go to: Admin->Manage Config Wizards
What is the Nagios XI version that you are currently using? It's shown on the Home page (bottom left corner).