Caught Sig Term, Shutting Down - Unknown Cause
Posted: Mon Aug 23, 2021 4:21 pm
Caught Sig Term, Shutting Down - Unknown Cause
Linux Distribution and version? CentOS 7, 64 bit, manual install
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
I found the Monitoring Engine Event Queue dashlet within the Monitoring Process\Process info page was empty and managed to catch the following in the event log history.
2021-08-23 20:05:16 - Event broker module '/usr/lib64/mod_german/mod_german_nagios4.o' initialized successfully
2021-08-23 20:05:16 - mod_gearman: initialized version 3.0.7 (libgearman 0.33)
2021-08-23 20:05:16 - Event broker module '/usr/local/nagios/bin/ndo.so' initialized successfylly.
2021-08-23 20:05:10 - Successfully shutdown... (PID...)
2021-08-23 20:05:10 - Caught SIGTERM, shutting down
This was followed by several minutes of initial state declarations and then checks following that. We have had several instances of this, and most of the time we are able to use the Monitoring Engine Process dashlet from an end user (non CCM user or admin) to restart the process. There are times that it requires a push from CCM to restart the Nagios process. I will have my team look for more information from the logs but any suggestions are helpful. We have other issues that may or may not be related so I will start them in a different thread. This is the most common issue and is a hard stop on our monitoring service until it is noticed, manually, and restarted.
----
Nagios XI - System Info
Nagios XI version: 5.8.3
Release info: 3.10.0-1062.9.1.el7.x86_64 x86_64
CentOS Linux release 7.0.1406 (Core)
Gnome is not installed
Apache Information
PHP Version: 5.4.16
Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Server Port: 443
Date/Time
PHP Timezone: UTC
PHP Time: Mon, 23 Aug 2021 21:23:08 +0000
System Time: Mon, 23 Aug 2021 21:23:08 +0000
Nagios XI Data
Install Type: manual/unknown
??6592 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
??9832 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
CPU Load 15: 0.66
Total Hosts: 892
Total Services: 5881
Nagios XI Components, abbreviated
ccm 3.1.1
deploydashboard 1.3.2
deploynotification 1.3.4
escalationwizard 1.5.1
freevariabletab 1.1.0
globaleventhandler 1.3.0
graphexplorer 2.3.0
helpsystem 2.0.1
ldap_ad_integration 1.2.2
massacknowledge 2.2.2
massimmediatecheck 1.0.2
metrics 1.3.5
nagiosbpi 3.0.3
nagiosim 2.2.6
nagiosna 1.4.4
Linux Distribution and version? CentOS 7, 64 bit, manual install
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
I found the Monitoring Engine Event Queue dashlet within the Monitoring Process\Process info page was empty and managed to catch the following in the event log history.
2021-08-23 20:05:16 - Event broker module '/usr/lib64/mod_german/mod_german_nagios4.o' initialized successfully
2021-08-23 20:05:16 - mod_gearman: initialized version 3.0.7 (libgearman 0.33)
2021-08-23 20:05:16 - Event broker module '/usr/local/nagios/bin/ndo.so' initialized successfylly.
2021-08-23 20:05:10 - Successfully shutdown... (PID...)
2021-08-23 20:05:10 - Caught SIGTERM, shutting down
This was followed by several minutes of initial state declarations and then checks following that. We have had several instances of this, and most of the time we are able to use the Monitoring Engine Process dashlet from an end user (non CCM user or admin) to restart the process. There are times that it requires a push from CCM to restart the Nagios process. I will have my team look for more information from the logs but any suggestions are helpful. We have other issues that may or may not be related so I will start them in a different thread. This is the most common issue and is a hard stop on our monitoring service until it is noticed, manually, and restarted.
----
Nagios XI - System Info
Nagios XI version: 5.8.3
Release info: 3.10.0-1062.9.1.el7.x86_64 x86_64
CentOS Linux release 7.0.1406 (Core)
Gnome is not installed
Apache Information
PHP Version: 5.4.16
Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Server Port: 443
Date/Time
PHP Timezone: UTC
PHP Time: Mon, 23 Aug 2021 21:23:08 +0000
System Time: Mon, 23 Aug 2021 21:23:08 +0000
Nagios XI Data
Install Type: manual/unknown
??6592 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
??9832 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
CPU Load 15: 0.66
Total Hosts: 892
Total Services: 5881
Nagios XI Components, abbreviated
ccm 3.1.1
deploydashboard 1.3.2
deploynotification 1.3.4
escalationwizard 1.5.1
freevariabletab 1.1.0
globaleventhandler 1.3.0
graphexplorer 2.3.0
helpsystem 2.0.1
ldap_ad_integration 1.2.2
massacknowledge 2.2.2
massimmediatecheck 1.0.2
metrics 1.3.5
nagiosbpi 3.0.3
nagiosim 2.2.6
nagiosna 1.4.4