Page 1 of 1

How can I do check per 1 second

PostPosted: Wed Jul 20, 2011 2:18 am
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

Re: How can I do check per 1 second

PostPosted: Thu Jul 21, 2011 12:38 pm
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.