Problem accessing Values in SWRAID-MIB (Error in packet)

Marco Schuh <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I have problems accessing specific OIDs in a MIB i loaded (SWRAID-MIB).

The MIB is :
  SWRAID-MIB (the one from 
http://www.net-snmp.org/wiki/index.php/Net-snmp_extensions listed as 
dlmod module)

My Configuration is :
  Opensuse 11
  Kernel 2.6.25.5-1
  net-snmp 5.4.1-77.2

I followed the installation Instructions for the MIB which includes :
  -> compiling and installing the .so file with the according 
SW-RAID.txt file in /usr/share/snmp/mibs (that's the place for opensuse 11)
  -> edited the snmpd.conf with "dlmod swRaidMIB 
/usr/lib/snmp/dlmod/swRaidPlugin.so"
  -> started snmpd with following cmd line option "-m+SWRAID-MIB"

The Problem :
  a query like :
  snmpwalk -v1 -c public -m+SWRAID-MIB localhost swRaidMIB
  does succeed, so far so good.

  But when I query the server with snmpget (or snmptranslate) to only 
get one value by the MIBs OID !!! -  i get an error - that there is no 
such variable name in this MIB.
  Then again this only happens if I haven't recently queried the server 
before on the SW Raid MIB with Snmpwalk.
  If i did so, the snmpget requests works ...

  It seems to me, that snmpwalk somehow initializes the values for my 
MIB when walking over it, so that after an snmpwalk query i can do an 
individual request on the MIB OIDs. Here is what it looks like when I do 
some queries :

-----------------------------------
linux-6m2a:/usr/share/snmp/mibs # snmpget -v1 -c public 192.168.0.211 
.1.3.6.1.4.1.2021.13.18.1.1.3.1
Connection from UDP: [192.168.0.211]:39088
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::ucdExperimental.18.1.1.3.1

linux-6m2a:/usr/share/snmp/mibs # snmpwalk -v1 -c public 192.168.0.211 
.1.3.6.1.4.1.2021.13.18.1.1.3.1
Connection from UDP: [192.168.0.211]:35280
Connection from UDP: [192.168.0.211]:35280
UCD-SNMP-MIB::ucdExperimental.18.1.1.3.1 = STRING: "raid5"

linux-6m2a:/usr/share/snmp/mibs # snmpget -v1 -c public 192.168.0.211 
.1.3.6.1.4.1.2021.13.18.1.1.3.1
Connection from UDP: [192.168.0.211]:58333
UCD-SNMP-MIB::ucdExperimental.18.1.1.3.1 = STRING: "raid5"
-----------------------------------
The "Connection from" stuff is from the snmpd which i started with 
logging in foreground ....


"snmpget -Dparse-mibs" gives me
-----------------------------------
parse-mibs:   Module 16 SNMP-PROXY-MIB is in 
/usr/share/snmp/mibs/SNMP-PROXY-MIB.txt
parse-mibs: Checking file: /usr/share/snmp/mibs/SWRAID-MIB.txt...
-----------------------------------
so I suppose the MIB gets correctly loaded by snmpd ?

"snmpd -H" says dlmod support is compiled in in my suse package


Probably I misconfigured or misunderstood something ... ?

Any help would be appreciated.

Thanks Marco


-------------------------------------------------------------------------
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=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.