Today NagiosXI suddenly stopped. When I checked the event log I found an error "Caught SIGTERM shutting down". I restarted Nagios and it seems to be working now. My concern is if it happens again and goes unnoticed. What causes this and can it be prevented?
Thanks,
Greg
Caught SIGTERM shutting down
Re: Caught SIGTERM shutting down
Hello @gregwhite
Thanks for reaching out, typically the SIGTERM” signal indicates that some process is sent a signal to shutdown a process or service for various reasons. Suggestion to take a look at the events that surround the "SIGTERM" may find another event that caused it. So when a process receives SIGTERM, some other process sent that signal:
Want to check to see if there are any Add-on brokers configured:(like mod_gearman, livestatus, ndo, etc)
Here is also a support article that goes over some optimizations that you can check.
https://assets.nagios.com/downloads/nag ... uning.html
Thanks,
Perry
Thanks for reaching out, typically the SIGTERM” signal indicates that some process is sent a signal to shutdown a process or service for various reasons. Suggestion to take a look at the events that surround the "SIGTERM" may find another event that caused it. So when a process receives SIGTERM, some other process sent that signal:
Code: Select all
grep -Eir "Caught SIGTERM|Caught SIGSEGV" /usr/local/nagios/var/nagios.log /var/log/messages /var/log/syslog --color=always -A 4 -B 2 | less -SRCode: Select all
grep broker /usr/local/nagios/etc/nagios.cfghttps://assets.nagios.com/downloads/nag ... uning.html
Thanks,
Perry