Hello Team,
We are observing that Nagios service is going down frequently on server. below are the logs observe in messages. I Have tried to repair database and run reconfigure_nagios script, but no success. Service is getting start but goes down after few minutes.
Jun 14 10:54:34 wdc-nagios01d nagios[9878]: Caught SIGSEGV, shutting down...
Jun 14 10:54:34 wdc-nagios01 systemd[1]: nagios.service: main process exited, code=exited, status=254/n/a
Jun 14 10:54:34 wdc-nagios01 nagios[9979]: Caught SIGTERM, shutting down...
Jun 14 10:54:34 wdc-nagios01 systemd[1]: Unit nagios.service entered failed state.
Jun 14 10:54:34 wdc-nagios01 systemd[1]: nagios.service failed.
Nagios Service is going down
-
- Posts: 28
- Joined: Tue May 07, 2019 12:17 am
Re: Nagios Service is going down
Another observation from logs:
[1623671042] NDO-3: mysql_ping: Unknown error. Is the database running?
[1623671042] Caught SIGSEGV, shutting down...
[1623671042] Caught SIGTERM, shutting down...
[1623671042] NDO-3: mysql_ping: Unknown error. Is the database running?
[1623671042] Caught SIGSEGV, shutting down...
[1623671042] Caught SIGTERM, shutting down...
Re: Nagios Service is going down
Hi,
How are you doing?
May I ask if there is/are changes make to the OS and/or Nagios Xi system?
To further investigate the issue, could you please upload the system "profile.zip":
Click the "Admin" > "System Config" > "System Profile" Menu
Click the "Download Profile" button
If you're unable to generate the the profile through the web interface,
please try generating it from the command line by running these commands as root:
Please also post the full output of the following command to check the table sizes.
- NOTE: You may need to adjust the -h 127.0.0.1, the -uroot, and -pnagiosxi in the first command if your DB is offloaded to another server and/or you've changed the root mysql password
Best Regards,
Vinh
How are you doing?
May I ask if there is/are changes make to the OS and/or Nagios Xi system?
To further investigate the issue, could you please upload the system "profile.zip":
Click the "Admin" > "System Config" > "System Profile" Menu
Click the "Download Profile" button
If you're unable to generate the the profile through the web interface,
please try generating it from the command line by running these commands as root:
Code: Select all
rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
Please also post the full output of the following command to check the table sizes.
- NOTE: You may need to adjust the -h 127.0.0.1, the -uroot, and -pnagiosxi in the first command if your DB is offloaded to another server and/or you've changed the root mysql password
Code: Select all
echo "SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB' FROM information_schema.TABLES WHERE table_schema IN ('nagios', 'nagiosql', 'nagiosxi');" | mysql -h 127.0.0.1 -uroot -pnagiosxi --table
Best Regards,
Vinh