Page 1 of 1

Lost all service&host data in Nagios..

Posted: Thu Jan 29, 2015 5:00 am
by Kimseongcheol
All services&hosts disappeared from the Nagios XI web UI

I have rebooted several times.
But when I go to Service,hosts Detail view, it says "No matching services found" , "No matching hosts found"

However i can see service and host in nagios core configure Manager...
what is the problem?
help me :roll:

Re: Lost all service&host data in Nagios..

Posted: Thu Jan 29, 2015 9:00 am
by RockerMan
Hi

This happened after you upgrade?

Re: Lost all service&host data in Nagios..

Posted: Thu Jan 29, 2015 10:06 am
by scottwilkerson
Van you run the following

Code: Select all

service nagios stop
service ndo2db stop
kill all -9 nagios
killall -9 ndo2db
service ndo2db start
service nagios start
If you still do not have success can you run the following so we can verify ndomod is configured in your nagios.cfg

Code: Select all

cat /usr/local/nagios/etc/nagios.cfg|grep ndomod

Re: Lost all service&host data in Nagios..

Posted: Thu Jan 29, 2015 6:18 pm
by Kimseongcheol
Hi Rockerman

It happened after i executed reset vmware.

Hi scottwilkerson
I ran this code but there are no changes.

Code: Select all

service nagios stop
service ndo2db stop
kill all -9 nagios
killall -9 ndo2db
service ndo2db start
service nagios start
Nagios Web UI still don't show any services & hosts.
Then i run following code.

Code: Select all

cat /usr/local/nagios/etc/nagios.cfg|grep ndomod
This is result.
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg

Re: Lost all service&host data in Nagios..

Posted: Fri Jan 30, 2015 9:06 am
by RockerMan
I had such a case. Launched a restore backup and all returned to normal.
Daily full backups servers do you have?

Re: Lost all service&host data in Nagios..

Posted: Fri Jan 30, 2015 1:27 pm
by scottwilkerson
Do you have 6 green checks in the upper left of the Web UI?

Can you check to see if you have any errors in you mysqld.log

Code: Select all

tail -50 /var/log/mysqld.log
Next can you go to the following address to go to the Core interface and verify your services and host show there

Code: Select all

http://<YOUR_IP>/nagios/