Page 1 of 1

Caught SIGSEGV, shutting down...

Posted: Sat Nov 25, 2017 3:16 pm
by raymonvdm
Once in a while the Nagios Core process is terminated but we cannot find out why this is happening. It seems to happen in a random time frame.

Nagios is running on two independent hosts. The first one is running in active mode (notifications enabled), the second one is also running but notifications are disabled until the first Nagios machine fails. Nagios is checking the Nagios process using NRPE to achieve this. If it fails it wil enable the notifications on itself (fallback Nagios)

Nagios01 is running Ubuntu 16.04.3 LTS \n \l and Nagios 4.3.2 (just upgraded to 4.3.4)
Nagios02 is running Ubuntu 14.04.5 LTS \n \l and Nagios Core 4.3.1 (last week upgrade to 4.3.4)

The SIGSEGV issue is occurring for quite some time now and does not seem to be related to the Nagios Core version

We have 1100 hosts and 6243 services which we are checking. Nagios is NOT logging to MySQL

Code: Select all


/usr/local/nagios/var/archives# grep SIGSEGV *2017*
nagios-01-11-2017-00.log:[1484047531] Caught SIGSEGV, shutting down...
nagios-01-31-2017-00.log:[1485803143] Caught SIGSEGV, shutting down...
nagios-02-02-2017-00.log:[1485978347] Caught SIGSEGV, shutting down...
nagios-02-20-2017-00.log:[1487540688] Caught SIGSEGV, shutting down...
nagios-03-06-2017-00.log:[1488697806] Caught SIGSEGV, shutting down...
nagios-03-27-2017-00.log:[1490545573] Caught SIGSEGV, shutting down...
nagios-04-10-2017-00.log:[1491689917] Caught SIGSEGV, shutting down...
nagios-04-24-2017-00.log:[1492917330] Caught SIGSEGV, shutting down...
nagios-05-06-2017-00.log:[1493994126] Caught SIGSEGV, shutting down...
nagios-05-21-2017-00.log:[1495256362] Caught SIGSEGV, shutting down...
nagios-06-02-2017-00.log:[1496285195] Caught SIGSEGV, shutting down...
nagios-07-03-2017-00.log:[1498996453] Caught SIGSEGV, shutting down...
nagios-07-23-2017-00.log:[1500698040] Caught SIGSEGV, shutting down...
nagios-08-14-2017-00.log:[1502585406] Caught SIGSEGV, shutting down...
nagios-08-25-2017-00.log:[1503599473] Caught SIGSEGV, shutting down...
nagios-09-16-2017-00.log:[1505511188] Caught SIGSEGV, shutting down...
nagios-10-15-2017-00.log:[1507944279] Caught SIGSEGV, shutting down...


Re: Caught SIGSEGV, shutting down...

Posted: Mon Nov 27, 2017 4:27 pm
by dwhitfield
Do all of your configs have contacts, or do some of them have just contact groups? It's possible there's a bug that goes back at least as far as 4.2.4, but as far as I can tell we only have one other example of it: https://github.com/NagiosEnterprises/na ... issues/444