Caught SIGSEGV, shutting down

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
hemak88
Posts: 22
Joined: Wed Mar 29, 2017 2:31 am

Re: Caught SIGSEGV, shutting down

Post by hemak88 »

Script detects Nagios shutdown error in logs. So by that time error is detected, plugin will be stopped and nagios will be down, if in case a plugin is causing the issue.

However, I have enabled nagios alerts for processes and memory usage for nagios server itself. It has graphs available. These graphs has not shown any abrupt increase in memory or processes just before issue started.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Caught SIGSEGV, shutting down

Post by scottwilkerson »

hemak88 wrote:However, I have enabled nagios alerts for processes and memory usage for nagios server itself. It has graphs available. These graphs has not shown any abrupt increase in memory or processes just before issue started.
It can be extremely hard deciphering these as a plugin with a memory leak can spike the memory in a fraction of a second until the memory killer stops the process.

Any hints in the syslog on the server at the time the memory spikes?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
hemak88
Posts: 22
Joined: Wed Mar 29, 2017 2:31 am

Re: Caught SIGSEGV, shutting down

Post by hemak88 »

In syslog, no memory errors or anomaly messages appeared. Plugins means, I am using only normal nagios plugins and few custom bash scripts as plugins. Any known issues with any plugins? If it was a plugin, then we should be able to see that in nagios logs and after that plugin check, the nagios service should crash. Am I thinking in the right direction?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Caught SIGSEGV, shutting down

Post by tgriep »

This link has some details about memory issues running the check_http plugin but is seems web site related.
https://github.com/nagios-plugins/nagio ... issues/235

The nagios.log file may not have enough information to determine what the issue is unless you enable debugging.
I would tale a look at the /var/log/messages file to see if you can find something in there.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked