Well, I tried another python snmp module and it worked from the first try.
Still I don't know what was the problem with netsnmp, tough..
Bogdana Botez wrote:
> You meant this: snmpget -v 2c -c private 127.1:8333
> MY-MIB::.0
>
> This works.
>
> The command line tools all work with MY-MIB and the
You meant this: snmpget -v 2c -c private 127.1:8333
MY-MIB::.0
This works.
The command line tools all work with MY-MIB and the agent (snmpset,
snmpget. snmpwalk etc). I also use a MIB browser and I'm able to manage
it just fine. Only the python library seems to get blocked somewhere.
Bogdana
On 16/04/07, Bogdana Botez <[EMAIL PROTECTED]> wrote:
> Q: > What happens if you try a "snmpget" request with the same numeric OID?
> > Does that return a value or not?
>
> A: I've just checked - it returns None:
> In [15]: oid = netsnmp.Varbind(,'0')
> In [19]: netsnmp.snmpget(oid, Version=2, Rem
Hi Dave,
See my answers below.
Q: > What happens if you try a "snmpget" request with the same numeric OID?
> Does that return a value or not?
A: I've just checked - it returns None:
In [15]: oid = netsnmp.Varbind(,'0')
In [19]: netsnmp.snmpget(oid, Version=2, RemotePort=8333, Community="private"
Hi Dave,
See my answers below.
Q: > What happens if you try a "snmpget" request with the same numeric OID?
> Does that return a value or not?
A: I've just checked - it returns None:
In [15]: oid = netsnmp.Varbind(,'0')
In [19]: netsnmp.snmpget(oid, Version=2, RemotePort=8333,
Community="privat
On 16/04/07, Andreea Bogdana Botez <[EMAIL PROTECTED]> wrote:
> But, when I try to do the same think using the python module:
>
>sess = netsnmp.Session(Version=2, DestHost='localhost',
> Community='public')
>sess.UseEnums = 1
>sess.UseLongNames = 1
>vars = netsnmp.Va