[Nagiosplug-help] check_interval threshold

Marc Powell marc at ena.com
Thu Jan 7 16:46:49 CET 2010

On Jan 6, 2010, at 8:03 PM, Khan, Tony (A&E) wrote:

> Hi all,
>         Can Nagios monitors (plugins) run within 1 and 10 second interval?  We have to do a performance based testing of Nagios and we want to do it for 1 second sampling for CPU, memory, network I/O etc.  Can someone please advise if this is possible?  If not, what’s the lowest check_interval threshold I can set? 

In theory, yes; in reality, there are too many variables to guarantee it.

You can set interval_length to '1' to have every _interval variable measured in seconds. a check_interval of 1 would be 1 second. a check_interval of '10' would be 10 seconds. If your OS can instantiate/launch the plugin, your plugin perform whatever action it's doing, return the results to nagios, nagios process the results, all in under 1 second, and be ready to launch another instance at the next second *and* nagios isn't busy processing a bunch of these at the same time or doing other things, you may be able to have a 1 second check_interval. My guess is that those things are going to take more than one second to accomplish though.

You should really just Try And Find Out if it works in your configuration. Note that when you change interval_length, you'll need to adjust every *_interval value to compensate for your change since it's the basis for those.


More information about the Help mailing list