Error in ndoutils-2.0.0

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
Ravil
Posts: 43
Joined: Thu Feb 20, 2014 9:30 pm

Error in ndoutils-2.0.0

Post by Ravil »

Hi! I have nagios 4.0.8 and ndoutils-2.0.0 on CentOS 6.5. Everything worked well until restart nagios. After restar in /var/log/message I see this error:

Code: Select all

Dec 11 18:02:02 mon-27 ndo2db: Warning: queue send error, retrying...
Dec 11 18:02:03 mon-27 ndo2db: Message sent to queue.
Dec 11 18:02:03 mon-27 ndo2db: Warning: queue send error, retrying...
Dec 11 18:02:04 mon-27 ndo2db: Message sent to queue.
Dec 11 18:02:04 mon-27 ndo2db: Warning: queue send error, retrying...
Dec 11 18:02:05 mon-27 ndo2db: Message sent to queue.
Dec 11 18:02:05 mon-27 ndo2db: Warning: queue send error, retrying...
Dec 11 18:02:06 mon-27 ndo2db: Message sent to queue.
Dec 11 18:02:06 mon-27 ndo2db: Warning: queue send error, retrying...
Dec 11 18:02:07 mon-27 ndo2db: Message sent to queue.
Dec 11 18:02:07 mon-27 ndo2db: Warning: queue send error, retrying...
Dec 11 18:02:08 mon-27 ndo2db: Message sent to queue.
Before I user nagios 3.5.1 and ndoutils-1.5.2 and after restart nagios was no such problem.
After I stoped ndo2db and nagios service and run its one by one, everything become fine. Why after restart nagios ndo2db is crashed? How fix it?
Ravil
Posts: 43
Joined: Thu Feb 20, 2014 9:30 pm

Re: Error in ndoutils-2.0.0

Post by Ravil »

I solved this problem.
I raised up number in msgmax and msgmnb

Code: Select all

echo 131072000 > /proc/sys/kernel/msgmax
echo 131072000 > /proc/sys/kernel/msgmnb
also added it in /etc/sysctl.conf
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Error in ndoutils-2.0.0

Post by cmerchant »

I'm glad you found a resolution. Found this reference to the related error message in this forum, I'll post for others. Thanks.

http://support.nagios.com/forum/viewtop ... =6&t=24543
Locked