How can I do check per 1 second

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
runmouse
Posts: 1
Joined: Wed Jul 20, 2011 1:52 am

How can I do check per 1 second

Post by runmouse »

I have install nagios and write a shell to check something.
I changed interval_length in nagios.cfg, interval_length=1, and set normal_check_interval=1 in services config file. The shell do nothing besides to write the time when it was executed to a file.
I expected that the interval is one second,but in fact the interval is ten second.
According to my expriments, Any normal_check_interval value less then 10 have no effect to real executive frequency, the nagios will execute the shell per 10 seconds. When normal_check_interval is setted to more then 10,such as 13, the nagios will execute the shell per 13 seconds.
How can I do check per 1 second
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: How can I do check per 1 second

Post by mguthrie »

Not sure you would want to. The most you'll ever be able to monitor is about 20-40 services depending on your CPU power. A single Core CPU tanks at about 20 checks per second, just an FYI.
Locked