service timeout

Lars Stavholm stava at telcotec.se
Tue Mar 27 23:56:18 CEST 2007


Patrick Morris wrote:
> On Tue, 27 Mar 2007, Lars Stavholm wrote:
> 
>> I get "(Service Check Timed Out)" for one of my service checks
>> (check_rootkit [rkhunter]), which could take a few minutes at
>> times, so I've scheduled it to run every 20 minutes. Now, when
>> getting the timeout, I went looking in the doco for some time
>> out option and I couldn't find one. Well, I found the global
>> configuration option "service_check_timeout", but that doesn't
>> really cut it for me. The check_rootkit plugin could take several
>> minutes, and I wouldn't want to adjust the timeout for all
>> services just because of the check_rootkit.
>>
>> Q: Is there any way one could define time out on one service
>>    rather than all services?
> 
> service_check_timeout is pretty much absolute.  If you don't want to
> change it (and you probably shouldn't) you may want to consider making
> this a passive check, which generally makes more sense for checks that
> are going to take a long time to complete.

Thanks! I'll try that.
/L


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list