[Nagiosplug-devel] check_snmp suggestion

Troy Lea Troy.Lea at strategicgroup.net.au
Sun Oct 7 02:34:51 CEST 2012


Michael,
Excellent answer / solution. 

Today I have learnt something new and once again Nagios shows how flexible and powerful it is.

Sincerely

 
Troy Lea 
Senior VAULT Infrastructure Engineer
VCP3,VCP4,VTSP,VSP,MCP
P: +61 2 4921 8218 
F: + 61 2 4962 5102 
troy.lea at strategicgroup.net.au 




-----Original Message-----
From: Michael Friedrich [mailto:michael.friedrich at gmail.com] 
Sent: Friday, 5 October 2012 5:48 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] check_snmp suggestion

On 05.10.2012 02:38, Troy Lea wrote:
>
> I would like the option of not producing any performance data.
>
> For example:
>
> check_snmp -H 10.250.151.1 -o IF-MIB::ifMtu.3 -C public -P 2c
>
> Output:
>
> SNMP OK - 1460 | IF-MIB::ifMtu.3=1460
>
> I don't really care about the performance data for this check, I am 
> only using it for auditing purposes. I suggest an option like 
> -noperfdata that would product the following output:
>
> SNMP OK - 1460
>

how about setting process_perf_data=0 in your nagios/icinga service object config?

>
> 	
>
> *Troy Lea
> Senior VAULT Infrastructure Engineer*
>
> *VCP3,VCP4,VTSP,VSP,MCP*
>
> P: +61 2 4921 8218
> F: + 61 2 4962 5102 _
> troy.lea at strategicgroup.net.au
> <mailto:%0btroy.lea at strategicgroup.net.au>_
>
> 	
>
>
>
> ----------------------------------------------------------------------
> --
> Confidentiality: The contents of this e-mail are confidential. The 
> contents are intended only for the named recipient of this e-mail. If 
> the reader of this e-mail is not the intended recipient you are hereby 
> notified that any use, reproduction, disclosure or distribution of the 
> information contained in the e-mail is prohibited. If you have 
> received this e-mail in error please reply to us immediately and 
> delete the document.
>
>
> ----------------------------------------------------------------------
> -------- Don't let slow site performance ruin your business. Deploy 
> New Relic APM Deploy New Relic app performance management and know 
> exactly what is happening inside your Ruby, Python, PHP, Java, and 
> .NET app Try New Relic at no cost today and get our sweet Data Nerd 
> shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
>
>
> _______________________________________________________
> Nagios Plugin Development Mailing List 
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at 
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


--
DI (FH) Michael Friedrich

mail:     michael.friedrich at gmail.com
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmichi at jabber.ccc.de
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null




More information about the Devel mailing list