Nagios did not exit in timely manner
-
- Posts: 41
- Joined: Wed Sep 30, 2015 1:58 pm
Re: Nagios did not exit in timely manner
Sure. I will look into it. This was the setup since the server was deployed and it was yeard ago. Its kinda weird why its happening all of a done.
Re: Nagios did not exit in timely manner
Try that and post back your results.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 41
- Joined: Wed Sep 30, 2015 1:58 pm
Re: Nagios did not exit in timely manner
Sure will do
-
- Posts: 41
- Joined: Wed Sep 30, 2015 1:58 pm
Re: Nagios did not exit in timely manner
I was about to make changes that you have recommended above. Before that i was see logs where i found messages like below,
I am not sure whether ndoutils got lots of queue messages or stuck somewhere. So i stopped ndo2b service. After that, i can see next check was wroking like a charm with no issue. I kept this in trend for 2 days and so far no issues (touch wood).
So i think there is some issue in ndoutils or it piled of queue messages.
Error: max retries exceeded sending message to queue. Kernel queue parameters may neeed to be tuned
nms ndo2db: Message sent to queue.
nms ndo2db: Warning: queue send error, retrying...
I am not sure whether ndoutils got lots of queue messages or stuck somewhere. So i stopped ndo2b service. After that, i can see next check was wroking like a charm with no issue. I kept this in trend for 2 days and so far no issues (touch wood).
So i think there is some issue in ndoutils or it piled of queue messages.
Re: Nagios did not exit in timely manner
There are some entries you can edit on your server to help out in the ndoutils and the kernel message queue errors.
Open /etc/sysctl.conf with a text editor. Edit the file to match the following values:
Note: If you don't have these entries in the "/etc/sysctl.conf" file, just add them to the end of the file.
After these settings are saved to the file, run:
So the system will load the changes. Try that and see if that helps.
Open /etc/sysctl.conf with a text editor. Edit the file to match the following values:
Code: Select all
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 131072000
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 131072000
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
## The maximum number of messages allowed in any one message queue
kernel.msgmni = 256000
After these settings are saved to the file, run:
Code: Select all
sysctl -p
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 41
- Joined: Wed Sep 30, 2015 1:58 pm
Re: Nagios did not exit in timely manner
I have increased it and looks good now. Thanks a lot for spending hours of your precious time.
Re: Nagios did not exit in timely manner
Your welcome. Let us know if we can mark this post as solved so we can close and lock it up.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 41
- Joined: Wed Sep 30, 2015 1:58 pm
Re: Nagios did not exit in timely manner
Sure. This issue was solved and can be closed. Thanks again