I restart in full debug mode for ndoutils and the ndo2db.debug file is still 0 bytes and the nagios.log is full of:
1339020577] ndomod: Successfully reconnected to data sink! 0 items lost, 4998 queued items to flush.
[1339020577] ndomod: Error writing to data sink! Some output may get lost. 4776 queued items to flush.
[1339020593] ndomod: Successfully reconnected to data sink! 248 items lost, 5000 queued items to flush.
[1339020593] ndomod: Error writing to data sink! Some output may get lost. 4747 queued items to flush.
[1339020609] ndomod: Successfully reconnected to data sink! 0 items lost, 4946 queued items to flush.
When I kill the ndo2db process :
ndomod: Still unable to connect to data sink. 6522 items lost, 5000 queued items to flush.
So I belive its connecting to the database correctly.
What is the data sink! and Why am I unable to connect?
is this a ndo.sock error and I need to delete it and restart? usually that say port in use
ndoutils ndomod:Error writing to data sink!
Re: ndoutils ndomod:Error writing to data sink!
Try increasing the kernel message queue parameters for your system (in /etc/sysctl.conf). I do not know the 'optimal' parameters for your system but in my case I increased my parameters to:
After updating this in the conf file, run:
Code: Select all
kernel.msgmax = 131072000
kernel.msgmnb = 131072000Code: Select all
/sbin/sysctl -pBe sure to check out our Knowledgebase for helpful articles and solutions!