Re: [Nagios-users] snmpwalk is working, check_snmp is not ?

2011-08-29 Thread werner
Hi,

check_snmp plugin is delivered by Debian Squeeze respectively I didn't compile 
it by hand.
Howsoever it's working now. I just needed to add a ".0" to the OID and now it's 
working.

Thanks,
Werner



Am 29.08.11 20:16, schrieb Martin Hugo:
> Have you made any changes since you compiled the plugins?  I saw this a while 
> ago with a different plugin (unfortunately I can't remember what I had 
> changed) but a recompile of the plugins fixed it.
> 
> Marty
> 
> -Original Message-
> From: wer...@aloah-from-hell.de [mailto:wer...@aloah-from-hell.de] 
> Sent: Monday, August 29, 2011 2:07 PM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] snmpwalk is working, check_snmp is not ?
> 
> Hi again,
> 
> now I get:
> 
> root@nagios:~#  /usr/lib/nagios/plugins/check_snmp -H 192.168.2.1 -P2c -o 
> 1.3.6.1.4.1.25461.2.1.2.1.11.0 -w 100 -c 200
> No valid data returned
> 
> Any hints? Thanks,
> Werner
> 
> --
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management 
> Up to 160% more powerful than alternatives and 25% more efficient. 
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@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
> 
> 
> 
> --
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management 
> Up to 160% more powerful than alternatives and 25% more efficient. 
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@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


--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] snmpwalk is working, check_snmp is not ?

2011-08-29 Thread Martin Hugo
Have you made any changes since you compiled the plugins?  I saw this a while 
ago with a different plugin (unfortunately I can't remember what I had changed) 
but a recompile of the plugins fixed it.

Marty

-Original Message-
From: wer...@aloah-from-hell.de [mailto:wer...@aloah-from-hell.de] 
Sent: Monday, August 29, 2011 2:07 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] snmpwalk is working, check_snmp is not ?

Hi again,

now I get:

root@nagios:~#  /usr/lib/nagios/plugins/check_snmp -H 192.168.2.1 -P2c -o 
1.3.6.1.4.1.25461.2.1.2.1.11.0 -w 100 -c 200
No valid data returned

Any hints? Thanks,
Werner

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Nagios-users mailing list
Nagios-users@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



--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] snmpwalk is working, check_snmp is not ?

2011-08-29 Thread werner
Hi again,

now I get:

root@nagios:~#  /usr/lib/nagios/plugins/check_snmp -H 192.168.2.1 -P2c -o 
1.3.6.1.4.1.25461.2.1.2.1.11.0 -w 100 -c 200
No valid data returned

Any hints? Thanks,
Werner

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] snmpwalk is working, check_snmp is not ?

2011-08-29 Thread werner
Hi everybody,

i have a little problem with the check_snmp-Plugin that i do not understand so 
far. I'm
currently trying to montitor Palo-Alto-Firewalls. I'm able to retrieve 
information via
snmpwalk from the firewall:

root@nagios:# snmpwalk -v 2c -c public 192.168.2.1 1.3.6.1.4.1.25461.2.1.2.3.3
iso.3.6.1.4.1.25461.2.1.2.3.3.0 = INTEGER: 591

If i try doing the same via the Nagios Check-Plugin check_snmp i get:
root@nagios:# /usr/lib/nagios/plugins/check_snmp -H 192.168.2.1 -P 2c -C public 
-o 1.3.6.1.4.1.25461.2.1.2.3.3
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.4.1.25461.2.1.2.3.3

What the heck? Why do I actually get information via snmpwalk but not via 
check_snmp?
Any hints?

Thanks,
Werner

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Nagios-users mailing list
Nagios-users@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