Autodiscovery Questions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Autodiscovery Questions

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Autodiscovery Questions

Post 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.
Former Nagios Employee.
me.
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Autodiscovery Questions

Post by haile711 »

Thanks for the respond hsmith. I will take a look and see if there is anything I can do
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Autodiscovery Questions

Post by rkennedy »

I'll leave this thread open for now, let us know if you have any more questions.
Former Nagios Employee
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Autodiscovery Questions

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Autodiscovery Questions

Post 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?

Code: Select all

nmap -V
Be sure to check out our Knowledgebase for helpful articles and solutions!
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Autodiscovery Questions

Post 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.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Autodiscovery Questions

Post 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.
Former Nagios Employee
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Autodiscovery Questions

Post by haile711 »

how do we find out the wizards version?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Autodiscovery Questions

Post 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).
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked