I have fixed my problem :)

In fact, there is a dependency between the parameters in the row. I knew
that but I was unable to know how to do to set the parameters.

I just did an snmpset with all the parameters I want in the same command,
like :

snmpset -c private -v 2c 10.0.0.1 rbQoSProfileType.29 i 1
> rbQoSProfileName.29 s test rbQoSProfileTime.29 i 1 rbQoSProfileParam1.29 u
> 1000
>

And now it works :)

Thank you all for helping ;)

François

2009/7/17 Dave Shield <d.t.shi...@liverpool.ac.uk>

> 2009/7/17 François Dumont <francoisdumon...@gmail.com>:
> > I thought my problem was in my python script or in the python library my
> > script uses, but I think this is a general problem (because it also
> happens
> > with a simple snmpset in command shell).
>
> If it fails with a "snmpset" command, then it sounds like the problem
> is with the code that implements this particular MIB object.
>
> That's not something we can really help you with.
> You'll need to talk to the vendor who supplied this MIB module.
>
> If it's trying to run "undo" when you're only assigning one varbind,
> then something is definitely wrong with the MIB implementation.
> The *only* time it should be running "undo", is when there are two
> or more assignments, and one of them fails.
>  And "undoFailed" is a very serious error - the module implementor
> should really be trying to avoid this at all costs.
>
> Dave
>
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to