nagios xi auto discovery

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
anil406
Posts: 43
Joined: Tue Apr 01, 2014 3:53 pm

nagios xi auto discovery

Post by anil406 »

Hello,

Auto discovery does not seemed to resolve the ip address, and also is there way to assign host template to new hosts similar to the process we do for bulk host importing?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: nagios xi auto discovery

Post by slansing »

You cannot assign a custom template via that wizard, however, after you have configured the new hosts from it you could apply the template to them through the CCM. As far as addresses not resolving, are you able to reach that network segment from your XI server's? The networks do have to be able to route to each other for you to scan them.
anil406
Posts: 43
Joined: Tue Apr 01, 2014 3:53 pm

Re: nagios xi auto discovery

Post by anil406 »

Here is the scan job that runs :
10.99.116.8/24 - Once 2014-07-23 22:05:38 2 New / 10 Total nagiosadmin Finished Edit Job Re-Run Job Delete Job View Job Results
It was able to detect the new hosts IP addresses during the scan, however its not getting update in address field for host after completion of auto discovery monitoring wizard.
--------------------------------
Basic Host Settings

Change basic host settings.
Host Name: container029-web-01.dev.cb

The unique name of the host.
Address: address

The IP address or FQDNS name of the host.
------------------------------------------------------------
And also services and type are also not resolved, any specific setting that need to be done?

Address Type OS Status Host Name Services Service Name Service Port Protocol
10.99.116.48 New No services were detected on this host.
10.99.116.49 New No services were detected on this host.
Last edited by anil406 on Fri Jul 25, 2014 2:15 pm, edited 1 time in total.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: nagios xi auto discovery

Post by sreinhardt »

This was a bug in past versions, please go to Admin->Manage components and Manage Wizards and do any updates to both the autodiscovery component and wizard. This should resolve the issue after you run another scan on that subnet. Any existing scans will need to be rerun.
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.
anil406
Posts: 43
Joined: Tue Apr 01, 2014 3:53 pm

Re: nagios xi auto discovery

Post by anil406 »

I am using below version -
Auto-Discovery component Version: 2.04
Auto-Discovery wizard Version: 1.2
No internet access to the nagios host, could you give me a location so i can download those and upload it manually?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: nagios xi auto discovery

Post by sreinhardt »

Unfortunately that is one of the few files that we do not provide without a paid support account. You should however, be able to update to 2014r1.3 and it will update both the component and wizard if needed. You could also pull the updated zips from the tarball if you really didn't want to do the full upgrade.
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.
anil406
Posts: 43
Joined: Tue Apr 01, 2014 3:53 pm

Re: nagios xi auto discovery

Post by anil406 »

I've upgrade the nagiosxi to latest version, after installation - site didnt came up due the permission issue on all the files/dir under /usr/local/nagiosxi/html were set to 700. Site came up after changing the permission to 755.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios xi auto discovery

Post by lmiltchev »

I've upgrade the nagiosxi to latest version, after installation - site didnt came up due the permission issue on all the files/dir under /usr/local/nagiosxi/html were set to 700. Site came up after changing the permission to 755.
This is really strange. I am glad it's fixed now. Are you still having issues with the auto discovery? You may need to remove the old scans and rerun them.
Be sure to check out our Knowledgebase for helpful articles and solutions!
anil406
Posts: 43
Joined: Tue Apr 01, 2014 3:53 pm

Re: nagios xi auto discovery

Post by anil406 »

after the upgrade, It not showing the performance graphs for individual hosts. And also nagios service status shows it not running, while nagios is running..
[root@nagios01 var]# service nagios status
nagios is not running
nagios 25860 2.0 0.2 49540 9272 ? Ss 09:53 0:05 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios xi auto discovery

Post by lmiltchev »

Were you able to finish the upgrade successfully? Do you have any config errors when you run the Write Config Tool?

CCM->Tools->Write Config Files->Write->Verify

Run the following commands and show us the output:

Code: Select all

/usr/local/nagios/bin/nagios | head -2
/usr/local/nagios/bin/ndo2db | head -2
service npcd status
service ndo2db status
ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
ls /usr/local/nagios/var/spool/checkresults | wc -l
Are you using mod gearman or mk livestatus?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked