Auto discovery does not work with /24 subnet

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Auto discovery does not work with /24 subnet

Post by scottwilkerson »

cloudcom wrote:Here is the output:

# ll /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/
total 508
-rw-r--r-- 1 apache nagios 452375 Jun 4 15:12 srj4um.out
-rw-r--r-- 1 apache nagios 0 Jun 3 23:46 srj4um.watch
-rw-r--r-- 1 apache nagios 59579 Jun 4 15:12 srj4um.xml
Being these dates are a couple days ago, I would guess you did not do PhilG's suggestions here
http://support.nagios.com/forum/viewtop ... 10#p100599
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Auto discovery does not work with /24 subnet

Post by cloudcom »

I have not done what PhilG sad yet.

I am waiting for your team's solution.

Any progress?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Auto discovery does not work with /24 subnet

Post by scottwilkerson »

Yes, I would do as PhilG suggested. I believe you basically have a job "stuck" in the queue.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Auto discovery does not work with /24 subnet

Post by cloudcom »

I have already latest version of nagiosXI and I also removed and re-installed the nagiosXI.
So , I did not do step 1 and step 2 which are in PhilG post.

What is the normal time that auto discovery job with /24 can complete the process?

I deleted all the jobs and applied the cofiguration. Then created a new fresh job with /24 one day ago.
It is still running but I noticed that Last Run time field of job has been regenerated.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Auto discovery does not work with /24 subnet

Post by sreinhardt »

A regular /24 scan should only take about 15-60 minutes. I would suggest starting with one system, make sure the job will complete or scanning a /24 that you have not scanned previously, so that it has no chance of picking up where the last job stalled.
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.
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: Auto discovery does not work with /24 subnet

Post by PhilG »

Update?
Newbie '14
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Auto discovery does not work with /24 subnet

Post by lmiltchev »

@cloudcom
Have you tried sreinhardt's suggestion?
Be sure to check out our Knowledgebase for helpful articles and solutions!
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Auto discovery does not work with /24 subnet

Post by cloudcom »

Hi lmiltchev,
You can close the topic. Lastly, we have run auto-discovery with subnet 19 succesfully, although it have taken a long time.
Anyway, we won't dealing with the auto-discovery for a while.
İf we encounter a problem, we open a new topic again ;)

Thanks.
Locked