Page 1 of 2

nagios xi auto discovery

Posted: Fri Jul 25, 2014 11:25 am
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?

Re: nagios xi auto discovery

Posted: Fri Jul 25, 2014 1:44 pm
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.

Re: nagios xi auto discovery

Posted: Fri Jul 25, 2014 2:11 pm
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.

Re: nagios xi auto discovery

Posted: Fri Jul 25, 2014 2:13 pm
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.

Re: nagios xi auto discovery

Posted: Fri Jul 25, 2014 2:20 pm
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?

Re: nagios xi auto discovery

Posted: Mon Jul 28, 2014 10:31 am
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.

Re: nagios xi auto discovery

Posted: Mon Jul 28, 2014 4:11 pm
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.

Re: nagios xi auto discovery

Posted: Tue Jul 29, 2014 10:47 am
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.

Re: nagios xi auto discovery

Posted: Wed Jul 30, 2014 8:32 am
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

Re: nagios xi auto discovery

Posted: Thu Jul 31, 2014 2:17 pm
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?