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
Nagios Shutting Down
Re: Nagios Shutting Down
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
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
Within 20 minutes the process stopped again.
Seems to happen at least once an hour.
Tony
Re: Nagios Shutting Down
How did you install Nagios, and what OS is it running on?
Former Nagios Employee.
me.
me.
Re: Nagios Shutting Down
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