nagios ndoutils problem
Mark Young
mark at zarzax.com
Sun Mar 4 00:38:14 CET 2012
You really need to give more details with your message. But it seems you are running the latest NDOUtils version 1.5 and having some of the same problems I was having. This is related to the latest update that adds asynchronous database queries. Read about the patch here http://exchange.nagios.org/directory/Patches/NDOUtils/ndoutils-2Dasync/details. The problem is that NDOUtils is filling up the message queue before it has a chance to read the messages back.
You will need to increase the kernel message queue parameters for your system. I do not know the 'optimal' parameters for your system. But in my case I increased my parameters substancially (in /etc/sysctl.conf and applied by `/sbin/sysctl -p`) to:
kernel.msgmax = 131072000
kernel.msgmnb = 131072000
kernel.msgmni = 65536000
I learned about message queue parameters from this IBM site http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=%2Fcom.ibm.db2.udb.uprun.doc%2Fdoc%2Ft0008238.htm.
Good luck
Mark
On Feb 28, 2012, at 5:15 AM, 杨先生 wrote:
> Feb 28 19:04:37 monitor nagios: ndomod: Successfully connected to data sink. 0 queued items to flush.
> Feb 28 19:04:37 monitor nagios: Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully.
> Feb 28 19:04:37 monitor nagios: Finished daemonizing... (New PID=3160)
> Feb 28 19:04:37 monitor ndo2db-3x: Error: queue send error.
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list