Problem with NDOUtils

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.
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Problem with NDOUtils

Post by Cristhian_Plaza »

Hi,

I installed NDOUtils few time ago, but I'm finding an issue with the service. When I see the status of the service I get this messages.

Code: Select all

● ndo2db.service - Stores data from Nagios in a database
   Loaded: loaded (/usr/lib/systemd/system/ndo2db.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2017-08-11 15:30:16 UTC; 3 days ago
     Docs: http://www.nagios.org/documentation
  Process: 470 ExecStart=/usr/sbin/ndo2db -c /etc/nagios/ndo2db.cfg (code=exited, status=0/SUCCESS)
 Main PID: 487 (ndo2db)
   CGroup: /system.slice/ndo2db.service
           ├─ 487 /usr/sbin/ndo2db -c /etc/nagios/ndo2db.cfg
           ├─4659 /usr/sbin/ndo2db -c /etc/nagios/ndo2db.cfg
           └─4660 /usr/sbin/ndo2db -c /etc/nagios/ndo2db.cfg

Aug 14 18:46:36 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Warning: queue send error, retrying...
Aug 14 18:46:37 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Message sent to queue.
Aug 14 18:55:44 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Warning: Retrying message send. This can occur because you have too few messages allowed or too ...options.
Aug 14 18:55:45 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Message sent to queue.
Aug 14 18:56:36 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Warning: queue send error, retrying...
Aug 14 18:56:37 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Message sent to queue.
Aug 14 19:05:44 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Warning: queue send error, retrying...
Aug 14 19:05:45 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Message sent to queue.
Aug 14 19:06:36 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Warning: Retrying message send. This can occur because you have too few messages allowed or too ...options.
Aug 14 19:06:37 ip-10-0-8-150.ec2.eys.internal ndo2db[4659]: Message sent to queue.
Hint: Some lines were ellipsized, use -l to show in full.
If I write the command: grep ndo2db /var/log/syslog/ /var/log/messages, I get this messages

Code: Select all

/var/log/messages:Aug 14 11:16:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 11:16:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 11:25:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 11:25:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 11:26:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 11:26:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 11:35:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 11:35:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 11:36:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 11:36:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 11:45:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 11:45:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 11:46:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 11:46:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 11:55:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 11:55:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 11:56:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 11:56:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:05:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 12:05:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:06:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 12:06:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:15:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 12:15:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:16:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 12:16:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:25:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 12:25:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:26:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 12:26:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:35:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 12:35:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:36:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 12:36:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:45:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 12:45:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:46:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 12:46:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:55:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 12:55:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 12:56:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 12:56:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:05:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 13:05:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:06:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 13:06:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:15:45 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 13:15:46 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:16:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 13:16:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:25:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 13:25:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:26:37 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 13:26:38 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:35:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 13:35:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:36:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 13:36:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:45:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 13:45:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:46:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 13:46:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:55:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 13:55:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 13:56:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 13:56:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:05:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 14:05:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:06:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 14:06:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:15:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 14:15:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:16:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 14:16:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:25:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 14:25:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:26:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 14:26:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:35:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 14:35:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:36:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 14:36:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:45:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 14:45:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:46:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 14:46:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:55:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 14:55:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 14:56:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 14:56:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:05:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 15:05:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:06:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 15:06:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:15:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 15:15:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:16:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 15:16:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:25:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 15:25:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:26:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 15:26:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:35:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 15:35:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:36:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 15:36:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:45:45 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 15:45:46 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:46:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 15:46:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:55:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 15:55:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 15:56:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 15:56:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:05:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 16:05:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:06:37 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 16:06:38 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:15:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 16:15:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:16:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 16:16:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:25:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 16:25:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:26:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 16:26:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:35:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 16:35:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:36:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 16:36:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:45:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 16:45:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:46:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 16:46:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:55:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 16:55:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 16:56:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 16:56:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:05:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 17:05:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:06:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 17:06:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:15:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 17:15:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:16:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 17:16:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:25:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 17:25:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:26:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 17:26:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:35:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 17:35:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:36:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 17:36:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:45:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 17:45:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:46:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 17:46:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:55:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 17:55:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 17:56:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 17:56:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:05:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 18:05:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:06:36 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 18:06:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:15:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 18:15:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:16:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 18:16:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:25:45 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 18:25:46 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:26:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 18:26:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:35:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 18:35:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:36:37 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 18:36:38 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:45:44 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 18:45:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:46:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 18:46:37 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:55:44 ip-10-0-8-150 ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
/var/log/messages:Aug 14 18:55:45 ip-10-0-8-150 ndo2db: Message sent to queue.
/var/log/messages:Aug 14 18:56:36 ip-10-0-8-150 ndo2db: Warning: queue send error, retrying...
/var/log/messages:Aug 14 18:56:37 ip-10-0-8-150 ndo2db: Message sent to queue.

bolson

Re: Problem with NDOUtils

Post by bolson »

This document addresses the issue you're having. If you have any additional questions or require additional assistance, please let me know. Thank you!
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Re: Problem with NDOUtils

Post by Cristhian_Plaza »

bolson wrote:This document addresses the issue you're having. If you have any additional questions or require additional assistance, please let me know. Thank you!
Which Document?
kyang

Re: Problem with NDOUtils

Post by kyang »

@Cristhian_Plaza,

Look at the ndoutils/README starting from line 216 and down.

It lists your error and how to fix it.

https://github.com/NagiosEnterprises/nd ... ter/README

Let me know if this helps
bolson

Re: Problem with NDOUtils

Post by bolson »

Sorry, here's the document I referred to earlier:

https://support.nagios.com/kb/article.php?id=139
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Problem with NDOUtils

Post by dwhitfield »

Thanks @kyang!

As of right now, this is what the README says regarding the error (you know in case github is down...and to save you the click!)
If there are insufficient resources for sending messages between the
broker and the daemon, you will see an entry similar to the following
in your logs. (This is logged via the syslog facility, using the level
`LOG_ERR` and the default facility.)

ndo2db: Warning: Retrying message send. This can occur because
you have too few messages allowed or too few total bytes
allowed in message queues. You are currently using 16 of 16
mesages and 65536 of 65536 bytes in the queue. See README for
kernel tuning options.

If you see this entry, the message will likely eventually be sent,
but retrying uses system resources, and there is the possibility that
more messages will queued than can be handled, causing the broker
module to stall.

If you are close to or have exceeded the number of messages, you may
need to increase `kernel.msgmni`. If you are close to or have exceeded
the number of bytes in the queue, you may need to increase
`kernel.msgmnb`. In some cases you may need to increase both.

A conservative approach would be to double the necessary value, stop
and restart both the NDO2DB daemon and Nagios Core, and watch for any
further messages. Note that if NDO2DB is started after Nagios Core,
you may see the warning above as the broker module first attempts to
flush its backlog of messages.

To increase a value, echo the value to `/proc/sys/kernel/msgmni` or
`/proc/sys/kernel/msgmnb` as appropriate.

For example, to increase the number of messages allowed in the queue
to 32, use the command `echo 32 > /proc/sys/kernel/msgmni`.

Once you have determine the correct parameters, you can make them
permanent by editing `/etc/sysctl.conf`. Add or update the line of
the form `kernel.msg{mni|mnb} = <value>` with the value(s) determined
above. The next time the system is booted, the values of the
parameters in `/etc/sysctl.conf` will be loaded.
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Re: Problem with NDOUtils

Post by Cristhian_Plaza »

Yes..., I did all that the document said and is still failing, at first when I configured the msgmnb, msgmax and msgmni values it worked without problem the command systemctl status ndo2db showed me an unique error. The error was about the reading of the PID. after that I wrote this command

Code: Select all

for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
I looked the var/log/messages and I am getting this 2 errors

Code: Select all

/var/log/messages:Aug 14 21:18:31 ip-10-0-8-150 journal: Suppressed 995555 messages from /system.slice/ndo2db.service

Code: Select all

/var/log/messages:Aug 14 21:19:01 ip-10-0-8-150 ndo2db: Error: queue recv error.
After I changed the value of /procs/sys/kernel/msgmnb and /procs/sys/kernel/msgmni to 32 and did the same for the sysctl.conf file... I am getting the same error and I don't know what I am doing now
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem with NDOUtils

Post by scottwilkerson »

Stepping back to a more basic level. Has this ever worked?

Is mysqld running?

Code: Select all

service mysqld status
Have you verified the credentials match the mysql setup?
any errors in

Code: Select all

tail -200 /var/log/mysqld.log
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Cristhian_Plaza
Posts: 62
Joined: Thu Oct 27, 2016 2:43 pm

Re: Problem with NDOUtils

Post by Cristhian_Plaza »

scottwilkerson wrote:Stepping back to a more basic level. Has this ever worked?

Is mysqld running?

Code: Select all

service mysqld status
Have you verified the credentials match the mysql setup?
any errors in

Code: Select all

tail -200 /var/log/mysqld.log
I hope this helps

Code: Select all

[root@ip-10-0-8-150 centos]# systemctl status ndo2db
● ndo2db.service - Stores data from Nagios in a database
   Loaded: loaded (/usr/lib/systemd/system/ndo2db.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2017-08-14 22:19:41 UTC; 17h ago
     Docs: http://www.nagios.org/documentation
  Process: 26203 ExecStart=/usr/sbin/ndo2db -c /etc/nagios/ndo2db.cfg (code=exited, status=0/SUCCESS)
 Main PID: 26205 (ndo2db)
   CGroup: /system.slice/ndo2db.service
           └─26205 /usr/sbin/ndo2db -c /etc/nagios/ndo2db.cfg

Aug 14 22:19:41 ip-10-0-8-150.ec2.eys.internal systemd[1]: Stopping Stores data from Nagios in a database...
Aug 14 22:19:41 ip-10-0-8-150.ec2.eys.internal systemd[1]: Starting Stores data from Nagios in a database...
Aug 14 22:19:41 ip-10-0-8-150.ec2.eys.internal systemd[1]: Failed to read PID from file /var/run/ndoutils/ndo2db.pid: Invalid argument
Aug 14 22:19:41 ip-10-0-8-150.ec2.eys.internal systemd[1]: Started Stores data from Nagios in a database.

Code: Select all

[root@ip-10-0-8-150 centos]# systemctl status mysql
● mysql.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/rc.d/init.d/mysql; bad; vendor preset: disabled)
   Active: active (running) since Fri 2017-08-11 15:30:21 UTC; 4 days ago
     Docs: man:systemd-sysv-generator(8)
  Process: 762 ExecStart=/etc/rc.d/init.d/mysql start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/mysql.service
           ├─769 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/ip-10-0-8-150.ec2.eys.internal.pid
           └─959 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/ip-10-0-8-150....
I can connect correctly to the database and yeaahh as I mentioned it worked fine..., problem was with this..

Code: Select all

 Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. You are currently using 16 of 1979 messages and 16384 of 16384 bytes in the queue. See README for kernel tuning options.
but I changed some things explained before.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem with NDOUtils

Post by scottwilkerson »

can you tail the system log on the machine in one terminal and then restart ndo2db in another

Terminal 1

Code: Select all

tail -f /var/log/messages
Terminal 2

Code: Select all

systemctl restart ndo2db
and see if you get the message saying it flushed to datasink.

Also, now that we know you can connect to the database from the CLI, did you verify you have the same credentials in the ndo2db.cfg ?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked