Only localhost data present under nagios_* tables
Posted: Mon Jan 25, 2021 12:49 pm
Hi All,
We are holding latest nagios XI 5.8.0 version on Test and Prod NagiosXI servers.
We have received some requirement which can accomplish using SQL query. So, in order to implement on prod servers I have created SQL script on one of our NagiosXI test server and it is working as expected. However, when I ran the same query on one of the prod NAgios XI server I have observed that only one record was displaying and that too it was of localhost. Then I tried running it on another prod server and I have observed MySql service is not running.
Now interesting thing on GUI of both prod servers I can observe all the data is present and also in reports correct data is getting reflected. But in terminal when I check the tables it shows only local host data on one of the prod server. As on another server mysql service is not running so didn't had a look.
Below are the tables in which I'm looking for values.
nagios_services,nagios_servicestatus,nagios_hosts, nagios_hostgroup_members, nagios_hostgroups
Below are the points I'm looking for
1. How can i see data under the requested tables.
2. If we are starting the mysql service will it going to effect any performance.
3. If it start displaying the data in the tables does it going to effect any performance.
As I'm observing this problem in Prod env due to which I need to ensure will it effect any problem or not. Because on Test env it is working as expected and no changes required.
We are holding latest nagios XI 5.8.0 version on Test and Prod NagiosXI servers.
We have received some requirement which can accomplish using SQL query. So, in order to implement on prod servers I have created SQL script on one of our NagiosXI test server and it is working as expected. However, when I ran the same query on one of the prod NAgios XI server I have observed that only one record was displaying and that too it was of localhost. Then I tried running it on another prod server and I have observed MySql service is not running.
Now interesting thing on GUI of both prod servers I can observe all the data is present and also in reports correct data is getting reflected. But in terminal when I check the tables it shows only local host data on one of the prod server. As on another server mysql service is not running so didn't had a look.
Below are the tables in which I'm looking for values.
nagios_services,nagios_servicestatus,nagios_hosts, nagios_hostgroup_members, nagios_hostgroups
Below are the points I'm looking for
1. How can i see data under the requested tables.
2. If we are starting the mysql service will it going to effect any performance.
3. If it start displaying the data in the tables does it going to effect any performance.
As I'm observing this problem in Prod env due to which I need to ensure will it effect any problem or not. Because on Test env it is working as expected and no changes required.