[Nagiosplug-devel] TR: TR: Check_snmp Problem

Bruno Grondin bruno.grondin at fr.bertrandt.com
Thu Nov 26 16:25:40 CET 2009


Hi thomas,

How can I add the option "-Oq" into the
check_snmp.c source for the snmpget commandline ?

Thanks for your help.

Greetings

Bruno


-----Message d'origine-----
De : Bruno Grondin [mailto:bruno.grondin at fr.bertrandt.com] 
Envoyé : jeudi 26 novembre 2009 12:49
À : 'Nagios Plugin Development Mailing List'
Objet : RE: [Nagiosplug-devel] TR: Check_snmp Problem

Hi Thomas

You are right, it's not a bug.

This article resolved the problem.
http://article.gmane.org/gmane.network.nagios.plugins/4519

It's run very well now.

Many thanks for your help

Bruno 

-----Message d'origine-----
De : Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Envoyé : mercredi 25
novembre 2009 20:58 À : Nagios Plugin Development Mailing List Objet : Re:
[Nagiosplug-devel] TR: Check_snmp Problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bruno Grondin wrote:
> Dear Support,
>  
> I'm using the new check_snmp plugin (1.4.14) and I'm having a problem 
> with it.
> I'm using the verbose mode for debugging (-v options). I obtain the 
> following result below
>  
> *[root at YEN ~]# check_snmp -H 192.168.20.227 -C public -o 
> 1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -l Temperature -v /usr/bin/snmpget 
> -t 1 -r 5 -m '' -v 1 [authpriv] 192.168.20.227:161 
> 1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 iso.3.6.1.4.1.3854.1.2.2.1.16.1.3.0
> 17 Temperature UNKNOWN - |*
>  
> I can see that snmpget is OK because it return 17 which is the correct 
> result but from check_snmp it always give a wrong result "UNKNOW".
>  
> Please could you correct the bug ?

I don't think it's a bug, though I have now received any confirmation this
is the issue.

See:
http://article.gmane.org/gmane.network.nagios.plugins/4519

If that helps please let me know and I will add a FAQ entry for this.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksNjGAACgkQ6dZ+Kt5Bchai2gCfaUqLAtsuZNxhxidpIF8Fn5K9
GqEAoPj0P6PgVvVA2XKKhXhe1baciYBr
=+cU1
-----END PGP SIGNATURE-----

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________________
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