Services missing from Nagios XI
Posted: Thu Nov 15, 2018 2:19 pm
Today I have noticed that our XI system is not reflecting the actual amount of services that we actually have. It is a big difference. Right now it shows about 2300 fluctuating services, but we actually have about 50,000 services. To my knowledge nothing major has changed on the box from a day ago when it was not having this problem.
Here are some results from the local mysql database:
mysql> select * from nagios.nagios_services;
Empty set (0.00 sec)
mysql> select * from nagios.nagios_hosts;
Empty set (0.00 sec)
mysql> select count(*) from nagiosql.tbl_host;
+----------+
| count(*) |
+----------+
| 8841 |
+----------+
1 row in set (0.01 sec)
mysql> select count(*) from nagiosql.tbl_service;
+----------+
| count(*) |
+----------+
| 55445 |
+----------+
1 row in set (0.00 sec)
I have tried restarting the server itself, the main nagios process, and the ndo2db process, but nothing has helped.
Here is a quick look at the message queue
-bash-4.1$ ipcs -q
------ Message Queues --------
key msqid owner perms used-bytes messages
0xbe05801f 524288 nagios 600 221273088 216087
As a side note there does not seem to be any problem showing the hosts, only services
Here are some results from the local mysql database:
mysql> select * from nagios.nagios_services;
Empty set (0.00 sec)
mysql> select * from nagios.nagios_hosts;
Empty set (0.00 sec)
mysql> select count(*) from nagiosql.tbl_host;
+----------+
| count(*) |
+----------+
| 8841 |
+----------+
1 row in set (0.01 sec)
mysql> select count(*) from nagiosql.tbl_service;
+----------+
| count(*) |
+----------+
| 55445 |
+----------+
1 row in set (0.00 sec)
I have tried restarting the server itself, the main nagios process, and the ndo2db process, but nothing has helped.
Here is a quick look at the message queue
-bash-4.1$ ipcs -q
------ Message Queues --------
key msqid owner perms used-bytes messages
0xbe05801f 524288 nagios 600 221273088 216087
As a side note there does not seem to be any problem showing the hosts, only services