Lost all service&host data in Nagios..

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Kimseongcheol
Posts: 4
Joined: Wed Jan 28, 2015 7:37 pm

Lost all service&host data in Nagios..

Post 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:
Last edited by Kimseongcheol on Thu Jan 29, 2015 6:34 pm, edited 1 time in total.
RockerMan
Posts: 70
Joined: Fri Nov 01, 2013 12:16 am

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

Post by RockerMan »

Hi

This happened after you upgrade?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Kimseongcheol
Posts: 4
Joined: Wed Jan 28, 2015 7:37 pm

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

Post 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
RockerMan
Posts: 70
Joined: Fri Nov 01, 2013 12:16 am

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

Post by RockerMan »

I had such a case. Launched a restore backup and all returned to normal.
Daily full backups servers do you have?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked