Page 1 of 1

Nagios server performance optimization

Posted: Tue Apr 22, 2014 10:08 am
by kgopiramesh
Hi Experts,

Please find the below for our environment details

We are running with 1 CPU 4 cores and 2750 services ( All active checks) and the polling interval of 5 mins.

The load average is too high and I observed that notifications are getting delayed, The mails are getting queued up

please let me know if there is any way to tune the performance.

Re: Nagios server performance optimization

Posted: Tue Apr 22, 2014 1:17 pm
by slansing
What is your load average, please show the output of:

Code: Select all

top | head -6
You could look at implimenting a ram disk, and or offloading the database. Mod gearman would also make a big difference, or possibly testing out the worker processes that are being shipped with Core 4 that is in the 2014 beta. You can install the beta on a test system to see how it performs.

Re: Nagios server performance optimization

Posted: Wed Apr 23, 2014 6:14 am
by kgopiramesh
please find the below for the output

top | head -6
top - 12:13:02 up 41 days, 19:26, 3 users, load average: 3.33, 3.80, 3.51
Tasks: 373 total, 2 running, 371 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.2%us, 1.6%sy, 0.0%ni, 90.8%id, 1.4%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16294180k total, 13123224k used, 3170956k free, 863484k buffers
Swap: 8216568k total, 0k used, 8216568k free, 5640964k cached


I have a few queries on your suggestions, can we implement on worker processes on nagios 2.9 XI 2012

and when I searched for the mod gearman it is helpful for distributed monitoring that is we need another system which is not possible in our environment.

Re: Nagios server performance optimization

Posted: Wed Apr 23, 2014 10:21 am
by lmiltchev
I would recommend reviewing the "Boosting Performance" section in the Administrator's Guide:

http://assets.nagios.com/downloads/nagi ... p#boosting

Hope this helps.