check_snmp without perf data

Andreas Ericsson ae at op5.se
Wed Aug 20 10:37:59 CEST 2008


Marcus wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Andy,
> 
> Ford, Andy schrieb:
>> I want check_snmp to have an option to NOT return performance data but I
>> can't see it.
>>
>> Can someone suggest an alternative?
> 
> Put "process_perf_data  0" in the service definition?
> 
> I use that on check_icmp and it doesn't return perf.data, if I am not
> totally mistaken.
> 

check_icmp *does* produce performance data. Using "process_perf_data 0"
in the service definition just causes Nagios to ignore it completely
for that particular service. For plugins that don't produce perfdata,
this setting has no effect what so ever.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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