Page 2 of 3
Re: Auto discovery does not work with /24 subnet
Posted: Tue Jun 03, 2014 10:38 am
by lmiltchev
Did you try installing the auto-discovery wizard from the link I PM-ed you?
Note: Don't worry about the version number - just install the wizard over the old one. Remove the "old" scan jobs and rerun the wizard.
BTW, do you see any results if you click on "Refresh job list"?
Re: Auto discovery does not work with /24 subnet
Posted: Tue Jun 03, 2014 12:47 pm
by cloudcom
I have installed the wizard that you sent by PM.
I am waiting for the result.
BTW, do you see any results if you click on "Refresh job list"?
No, I can not see any result when ı click on "Refresh".
Did you look at the "auto discovery screen shots.docx" file which I attached on previous post?
Re: Auto discovery does not work with /24 subnet
Posted: Tue Jun 03, 2014 12:52 pm
by PhilG
If you don't mind my chiming in ... I had similar issues until the most recent version of Nagios XI and the Auto-Discovery Wizard that came out in the past couple of weeks. I needed to install the most recent versions, then deleted my Auto-Discovery jobs, apply the configurations, wrote the config files, then did a server reboot.
Those steps appeared to have worked for me.
Re: Auto discovery does not work with /24 subnet
Posted: Tue Jun 03, 2014 2:09 pm
by cloudcom
lmiltchev wrote:Did you try installing the auto-discovery wizard from the link I PM-ed you?
Note: Don't worry about the version number - just install the wizard over the old one. Remove the "old" scan jobs and rerun the wizard.
BTW, do you see any results if you click on "Refresh job list"?
Hi lmiltchev,
Unfortunately, it did not work. it failed and "Last Run" field changed again.
1.png
2.png
3.png
Re: Auto discovery does not work with /24 subnet
Posted: Tue Jun 03, 2014 2:15 pm
by cloudcom
PhilG wrote:If you don't mind my chiming in ... I had similar issues until the most recent version of Nagios XI and the Auto-Discovery Wizard that came out in the past couple of weeks. I needed to install the most recent versions, then deleted my Auto-Discovery jobs, apply the configurations, wrote the config files, then did a server reboot.
Those steps appeared to have worked for me.
Thank you so much PhilG,
Can you tell me the steps more clearly?
What should I do?
Re: Auto discovery does not work with /24 subnet
Posted: Tue Jun 03, 2014 3:01 pm
by PhilG
cloudcom wrote:PhilG wrote:If you don't mind my chiming in ... I had similar issues until the most recent version of Nagios XI and the Auto-Discovery Wizard that came out in the past couple of weeks. I needed to install the most recent versions, then deleted my Auto-Discovery jobs, apply the configurations, wrote the config files, then did a server reboot.
Those steps appeared to have worked for me.
Thank you so much PhilG,
Can you tell me the steps more clearly?
What should I do?
1). Run a backup on your server -
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
2). Upgrade Nagios XI to the latest version (which should include the newer version of Auto-Discovery plug-in) -
http://assets.nagios.com/downloads/nagi ... nstall.pdf
3). Go to your Auto-Discovery job:
Click on "Configure" in the top menu, click on "Run the Auto-Discovery Wizard", in the "Auto-Discovery Jobs" window click on the "X" (delete job) under the "Actions" column.
4). Click "Advanced Configuration" (or under that menu option on the left click "Core Config Manager", then under "Quick Tools" click "Apply Configuration", then click "Apply Configuration" button on the right.
5). Once completed, scroll down on the left side and click "Write Config Files" under "Tools".
6). Click "Write" button. Once the process completes, then verify if any errors and then click "Verify" button. Once the process completes, then verify if any errors and then click "Restart" button.
7). When all is complete, remote in to your Nagios XI server and do a restart (logged in as your local Admin or whatever account provides you root access and do a "/sbin/shutdown -r now".
8). Verify that the server comes back with no issues.
9). Log back into your Nagios XI monitor and try running another Auto-Discovery.
NOTE: It took almost 45 minutes to check and verify each of my subnets with address W.X.Y.Z/24
If this doesn't work, then continue working with these fine folks. They got me up and running.
Re: Auto discovery does not work with /24 subnet
Posted: Tue Jun 03, 2014 3:06 pm
by tmcdonald
cloudcom, did your
other thread solve this issue as well?
Re: Auto discovery does not work with /24 subnet
Posted: Tue Jun 03, 2014 3:15 pm
by cloudcom
No, it has not been resolved yet.
Re: Auto discovery does not work with /24 subnet
Posted: Wed Jun 04, 2014 11:08 am
by lmiltchev
Can you run the following command and show us the output?
Code: Select all
ll /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/
Re: Auto discovery does not work with /24 subnet
Posted: Thu Jun 05, 2014 1:41 am
by cloudcom
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