Ndo2db stop checks on nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

Ndo2db stop checks on nagiosxi

Post by venkitesh »

Hi Team,

i am getting below error in /var/log/messages

ndo2db: Warning: queue send error, retrying...
localhost ndo2db: Message sent to queue.

This is my sysctl.conf


kernel.msgmnb = 131072000

# Controls the maximum size of a message, in bytes
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

kernel.msgmni = 256000

Also please find ulimit -a

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 46668
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 46668
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

i did a reboot also after making changes in kernel parameters.

System configuration is 6GB RAM with 4 CPUS.

No of hosts: 271 and Services: 442

Kindly help as monitoring is affecting badly.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Ndo2db stop checks on nagiosxi

Post by jolson »

Before we increase your kernel message queues further, we could try setting fewer worker processes. The message queues are used for inter-process communication. Each worker spawns processes to run the actual checks, which could result in a lot of processes.

Please run:

Code: Select all

ps -ef|grep worker
This will allow us to see how many workers you have running. If there are a lot, you can limit the amount by running:

Code: Select all

echo "check_workers=NUMBER" >> /usr/local/nagios/etc/nagios.cfg
service nagios restart
I suggest setting the number to 4 (because you have 4 cores) to start with, and seeing if that helps at all.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

Re: Ndo2db stop checks on nagiosxi

Post by venkitesh »

hi jolson,

No luck
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Ndo2db stop checks on nagiosxi

Post by scottwilkerson »

What version of Nagios XI are you running?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

Re: Ndo2db stop checks on nagiosxi

Post by venkitesh »

2014R2.6
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Ndo2db stop checks on nagiosxi

Post by scottwilkerson »

Closing thread as there is already an email ticket open.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked