Nagios 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.
Locked
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

Nagios Shutting Down

Post by delboy1966 »

Is there any reason the Nagios process would shut itself down?
Its happened a few times today and I've restarted it.

The log shows the following just before it shuts down:

###############
Dec 2 14:18:51 nagla01lv nagios: wproc: 'Core Worker 25101' seems to be choked. ret = -1; bufsize = 130936: errno = 32 (Broken pipe)
Dec 2 14:18:51 nagla01lv nagios: wproc: 'Core Worker 25101' seems to be choked. ret = -1; bufsize = 36421: errno = 32 (Broken pipe)
Dec 2 14:18:51 nagla01lv nagios: wproc: 'Core Worker 25101' seems to be choked. ret = -1; bufsize = 36427: errno = 32 (Broken pipe)
Dec 2 14:18:51 nagla01lv nagios: wproc: 'Core Worker 25101' seems to be choked. ret = -1; bufsize = 36305: errno = 32 (Broken pipe)
Dec 2 14:18:51 nagla01lv nagios: wproc: Job with id '5081' doesn't exist on Core Worker 25101.
Dec 2 14:18:51 nagla01lv nagios: wproc: Job with id '5083' doesn't exist on Core Worker 25101.
Dec 2 14:18:51 nagla01lv nagios: wproc: Job with id '5085' doesn't exist on Core Worker 25101.
Dec 2 14:18:51 nagla01lv nagios: wproc: iocache_read() from Core Worker 25101 returned -1: Connection reset by peer
Dec 2 14:18:51 nagla01lv nagios: wproc: Socket to worker Core Worker 25101 broken, removing
Dec 2 14:18:51 nagla01lv nagios: Caught SIGSEGV, shutting down...
###############

It looks like its shut down from command line but I am the only one that has access to the server and haven't shut it down at all.

Using Nagios 4.1.1 with, mod_gearman and livestatus.

Thanks
Tony
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Shutting Down

Post by tgriep »

For a test, can you remove the gearman and livestatus settings from the nagios.cfg file and see if the process continues to run?
Be sure to check out our Knowledgebase for helpful articles and solutions!
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

Re: Nagios Shutting Down

Post by delboy1966 »

I disabled both modules in the config file and restarted the Nagios process.
Within 20 minutes the process stopped again.
Seems to happen at least once an hour.

Tony
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios Shutting Down

Post by hsmith »

How did you install Nagios, and what OS is it running on?
Former Nagios Employee.
me.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Shutting Down

Post by rkennedy »

How many host / service checks are running on this machine? How many workers are you running with Nagios? Can you post the output of the following command -

Code: Select all

top|head -5
Former Nagios Employee
Locked