How can I do check per 1 second

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

How can I do check per 1 second

Postby runmouse » Wed Jul 20, 2011 2:18 am

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
runmouse
 
Posts: 1
Joined: Wed Jul 20, 2011 1:52 am

Re: How can I do check per 1 second

Postby mguthrie » Thu Jul 21, 2011 12:38 pm

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.
mguthrie
 
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am


Return to Community Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 11 guests