Page 1 of 1

Services not Appearing

Posted: Mon Jan 07, 2013 12:34 pm
by CharconCS
Hello

I Have just installed Nagios XI (2012R1.3)
Have started creating my Hosts using the "Monitoring Wizard"
I Have created Windows Servers, Watchguard devices and Generic Network Devices.

If i go to the CCM and click Services they have been created with Synced/Synced to File next to them. But if i go to Service Detail on the home page there are no services. This is the same for every page on the home page.

I am getting email about the services being critical though so there are there somewhere.

Please Help
Thanks

Re: Services not Appearing

Posted: Mon Jan 07, 2013 12:54 pm
by abrist
I assume you made sure to click "apply configuration", and there were no errors. Have you tried logging out and logging back in?
Could you post the output of:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
and

Code: Select all

tail -25 /usr/local/nagios/var/nagios.log

Re: Services not Appearing

Posted: Mon Jan 07, 2013 1:41 pm
by CharconCS
Hello

yes, I have tried different users also.

Please see outputs attched:

Re: Services not Appearing

Posted: Mon Jan 07, 2013 2:09 pm
by abrist
Do the hosts appear in the hosts detail?

Lets try repairing the database:

Code: Select all

cd /usr/local/nagiosxi/scripts
./repairmysql.sh nagios

Re: Services not Appearing

Posted: Mon Jan 07, 2013 2:22 pm
by CharconCS
Yea the hosts are all there and showing status of 'OK'

Have done the DB repair and that fixed it!
Do you have any idea what that was ? was it something I have done to make it do that ? Will it happen again do you know ?

Thanks!

Re: Services not Appearing

Posted: Mon Jan 07, 2013 2:54 pm
by nscott
Largest cause of that is being stopped improperly. Other than that it could've been a system hiccup.

Re: Services not Appearing

Posted: Mon Jan 07, 2013 3:28 pm
by CharconCS
Ok,

thanks for all the help! :)