[Nagiosplug-devel] [ nagiosplug-Bugs-1119903 ] check_snmp_storage.pl 1.1 fails with AIX

SourceForge.net noreply at sourceforge.net
Mon Jun 4 10:33:41 CEST 2007


Bugs item #1119903, was opened at 2005-02-10 09:56
Message generated for change (Comment added) made by psychotrahe
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1119903&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parsing problem
Group: Release (specify)
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Vincent Cuirassier (vcuirassier)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_snmp_storage.pl 1.1 fails with AIX

Initial Comment:
I'm using the nagios-plugins-1.3.1-5mdk Mandrake RPM, which 
includes version 1.1 of check_snmp_storage.pl. 
 
I can make successful requests to the Linux SNMP agent 
(net-snmp-5.1-7mdk), but the following command fails to query the 
AIX SNMP agent : 
 
# check_snmp_storage.pl -H aixhost -C public -m /home -w 60 -c 
80 
Alarm at 15 + 5 
ERROR: Description table : Requested table is empty or does not 
exist. 

----------------------------------------------------------------------

>Comment By: Matthias Eble (psychotrahe)
Date: 2007-06-04 10:33

Message:
Logged In: YES 
user_id=1694341
Originator: NO

Hi Vincent, 

I have searched the mailing list archive but could not find any further
posts on this topic.
Could you resolve this problem in the meantime? 

However, according to the posts, this seems to be a problem with your SNMP
deamon rather than a bug of check_snmp_storage.

I'm setting this item to pending. The Item will get deleted if you won't
reply in the next 14 days.

Thanks for your report,
Matthias

----------------------------------------------------------------------

Comment By: Patrick Proy (patrickproy)
Date: 2005-02-24 00:38

Message:
Logged In: YES 
user_id=124902

To linguafr : 
The mib FILE is here, but ir doesn't mean the snmp daemon
handles it.
On linux, it should work : just try with the snmpwalk
command instead (snmpget on this oid will always fail) or
get the latest net-snmp version.

To vcuirassier :
I don't know much about the AIX snmp agent. 
The aim is to have the snmpwalk command give some output for
the oid, but I have no idea how. If IBM says it's OK, ask
them...

Did you give net-snmp a try ?

Note : Please continue this thread in the nagiosplug
mailling list : I can just put comments here, and I hate
writing in this small comment box...

Patrick 
nagios AT proy. org

----------------------------------------------------------------------

Comment By: Bill F (linguafr)
Date: 2005-02-24 00:08

Message:
Logged In: YES 
user_id=1080464

turns out HOST-RESOURCES-MIB is an optional mib that needed
to be compiled in as a configure option.  It now works

----------------------------------------------------------------------

Comment By: Bill F (linguafr)
Date: 2005-02-23 21:59

Message:
Logged In: YES 
user_id=1080464

I'm having the same problem on the following system

Linux earth.epd.com 2.4.21-20.0.1.ELsmp #1 SMP Wed Nov 24
20:34:01 EST 2004 i686 i686 i386 GNU/Linux

[root at earth root]# /usr/local/sbin/snmpd -v

NET-SNMP version:  5.2.1
Web:               http://www.net-snmp.org/
Email:             net-snmp-coders at lists.sourceforge.net

ps -ef|grep snmpd
root      5368     1  0 Feb22 ?        00:00:03
/usr/local/sbin/snmpd -c /usr/local/share/snmp/snmpd.conf -M
/usr/local/share/snmp/mibs -d -Lf /var/log/snmpd.log -p
/var/run/snmpd -a

[root at centauri etc]# snmpget -v 1 earth -c ******
1.3.6.1.2.1.25.2.3.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: HOST-RESOURCES-MIB::hrStorageEntry

....but the mib is here

[root at earth root]# ls
/usr/local/share/snmp/mibs/HOST-RESOURCES-MIB*
/usr/local/share/snmp/mibs/HOST-RESOURCES-MIB.txt



----------------------------------------------------------------------

Comment By: Vincent Cuirassier (vcuirassier)
Date: 2005-02-18 12:47

Message:
Logged In: YES 
user_id=1216109

According to IBM docs, the AIX SNMP agent implements the 
HOST-RESOURCES-MIB. 
 
But the snmpwalk command that you provided did not produce any 
output. 

----------------------------------------------------------------------

Comment By: Patrick Proy (patrickproy)
Date: 2005-02-11 22:42

Message:
Logged In: YES 
user_id=124902

This plugin was never tested on AIX, but it can work on any
plaforms with MIBII compliance. 
Does AIX snmp daemon implements the HOST-RESOURCES-MIB ? Try
an snmpwalk on the oid "1.3.6.1.2.1.25.2.3.1" .

Patrick Proy
nagios at proy.org


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1119903&group_id=29880




More information about the Devel mailing list