Re: nagiosxi demo issues
Posted: Tue Aug 24, 2010 5:34 am
There is a five (5) minute minimum interval that bandwidth can actually be polled. If you change the Nagios check to use a shorter interval, it will not have any real effect. This is because bandwidth is pulled and calculated by MRTG at five minute intervals. The interval is controlled through a cron job. If you want to edit that, the cron job entries can be found in:
There is some info on the net about changing MRTG to use a shorter interval. Recent versions of MRTG might be able to support an interval < 5 minutes, so the link below may no longer have required information. We haven't tried this, but the following might be helpful if you decide to make this change:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93140
http://www.loplop.net/projects/1minMRTG/
Note that you will likely see a performance hit from this, especially if you're monitoring several switches. There's a pretty high I/O cost to constantly updating RRD files.
Code: Select all
/etc/cron.d/mrtghttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93140
http://www.loplop.net/projects/1minMRTG/
Note that you will likely see a performance hit from this, especially if you're monitoring several switches. There's a pretty high I/O cost to constantly updating RRD files.