Page 2 of 2
Re: Virual Nagios and high disk rate
Posted: Fri Apr 13, 2012 3:01 pm
by mguthrie
Just an FYI, we'll be pushing out the new 2.3 release on Monday.
Re: Virtual Nagios and high disk rate
Posted: Wed Apr 18, 2012 4:52 am
by TenTimes
Thanks for the information.
I installed the update yesterday and it seems to me that the disk rate problems have lessened. We now get a small spike every 2 minutes instead of a huge spike every minute, so cron seems to have been improved (still haven't seen the disk rate go over a 1000 Kb/s). The apache service seems to be using a bit less RAM now and it doesn't grow over time as much as before the update.
There is a small increase in CPU usage, but the bennefits outweigh this problem. I still have to see how the new update works after a week of usage, and how the growth in resource usage will turn out.
I'll keep you updated.
Re: Virtual Nagios and high disk rate
Posted: Wed Apr 18, 2012 9:08 am
by mguthrie
My observations on performance were similar to yours. The spikes seem to flatten out a bit, while the overall disk activity still remains around the same level. Thanks for the updates!
Re: Virtual Nagios and high disk rate
Posted: Wed Apr 18, 2012 9:12 am
by TenTimes
Just one question (off topic)
Is a usage of 1 complete processor (of 2) much for a machine which checks 70 hosts and about 2500 services? The average usage is about 27,5% of 2 processors. (virtual nagios)
Re: Virtual Nagios and high disk rate
Posted: Wed Apr 18, 2012 9:25 am
by mguthrie
There's actually quite a few things that can affect that question. My short answer is yes, that's probably normal. The variables in that are ultimately:
- How many checks are being run every second? ( ( hosts+services / average check interval ) / 60)
- This also depends on the checks that you're running. Compiled plugins take less CPU, while SNMP, ESX checks, and other plugins written in interpreted languages can take more CPU.
- Whether or not mysql is on the same server, or if it's offloaded to a second machine.
Re: Virtual Nagios and high disk rate
Posted: Wed Apr 18, 2012 9:41 am
by TenTimes
The sql database is on the same server and the checks are every 5 minutes.
The only plug-in we use is the ESX perl SDK and the NSClient++ on the servers (about 40 hosts)
Re: Virtual Nagios and high disk rate
Posted: Wed Apr 18, 2012 10:48 am
by scottwilkerson
This could be about right, however if your CPU usage is 27.5%, that's only about 1/2 of one processor, not 1 complete processor...
Re: Virtual Nagios and high disk rate
Posted: Wed Apr 18, 2012 1:34 pm
by mguthrie
The only plug-in we use is the ESX perl SDK
That is actually a pretty big CPU user, so I'd say your system is running pretty nicely ; )
Re: Virtual Nagios and high disk rate
Posted: Thu Apr 19, 2012 1:34 am
by TenTimes
scottwilkerson wrote:This could be about right, however if your CPU usage is 27.5%, that's only about 1/2 of one processor, not 1 complete processor...
This is the average CPU usage. It spikes every 1-2 minutes to about 50% then drops to around 20-22,5%.
We just stopped monitoring every port of our switches (not needed) and now we have about 800 checks and we now have a CPU usage of about 12.5-15% which is good.
Now I just have to solve the problem with the mysql database (in
http://support.nagios.com/forum/viewtop ... 3&start=10).
Thanks for the help and you can close the tread now.