OoO En cette  nuit nuageuse du samedi 17 mars  2012, vers 00:02, Charlie
Martin <crmar...@sgi.com> disait :

>> Use:
>> snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1

> 1020 $ snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1
> .1.3.6.1.4.1.59.1.5.3.1.1 = No Such Instance currently exists at this OID

> Which actually corresponds to the overall problem I'm trying to figure
> out.  So, let's say I send

> snmpget -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1

You should get "No such instance"

> and

> snmpgetnext -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1

You should get 1.3.6.1.4.1.59.1.5.3.1.1.1 = 9 (if I remember correctly)

Maybe you don't handle this last bit in your pass_persist script: if the
requested OID is less than the  first OID you can serve, you must return
the first OID you can serve.

snmpwalk     1.3.6.1.4.1.59.1.5.3.1.1.2     does     a    getnext     on
1.3.6.1.4.1.59.1.5.3.1.1.2   and   get  1.3.6.1.4.1.59.1.5.3.1.1.3   but
returns  nothing because it  is not  included in  the subtree  rooted at
1.3.6.1.4.1.59.1.5.3.1.1.2.
-- 
Vincent Bernat ☯ http://vincent.bernat.im

 /* Nobody will ever see this message :-) */
panic("Cannot initialize video hardware\n");
        2.0.38 /usr/src/linux/arch/m68k/atari/atafb.c

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to