Announce: Check_Gentoo_Portage plugin

Matthias Kellermann mkellermann at net-com.de
Fri Feb 22 11:30:21 CET 2008


Hari Sekhon schrieb:
> Matthias Kellermann wrote:
>>> You can get the plugin from NagiosExchange here:
>>>
>>> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=1244 
>>
>>
>>
>> Thanks Hari for this great plugin - just what I needed! :)
>>
>> Just tested it - works fine!
>> I had to raise the DEFAULT_TIMEOUT to something like 30 on some older 
>> machines to get this to work. But on newer system 10 seconds are ok.
>>
>> Matthias
> This is one good reason for the --timeout switch. I've just used that 
> switch to increase the running timeout to 30 seconds as well just to be 
> safe from timeouts. If you're referring to the DEFAULT_TIMEOUT in the 
> plugin, it's not really needed to change the code if you use the 
> --timeout switch when you run it (or embed that in the NRPE call or 
> whatever you use for remote checks), but it's completely your choice.

You are right - the timeout switch is the better choice for changing the 
timeout. It's also more flexible to change it that way. So, next is to 
build an ebuild for that plugin, right? ;)

Matthias

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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