Ok, I have found why it didn't work. I've looked the packets with wireshark,
and the problem was that the python script only sent BA BE, and not the rest
(00 00 FA CE). So I tried to put something else than 00, like 01 01 FA CE,
or BA BE FA CE, and it works. So it seems that the agent doesn't like when
python send him 0 in a MAC address. But I don't know why, and how to fix it
(because maybe someday there will be the need to put a 0 in the MAC
address).
I have tried, to check, with the address BA BE 00 BE FA CE and BA BE BA 00
FA CE, both failed. As soon as the agent meet a 0 in the address, it fails.
Thank you for your help, I didn't think to check it with wireshark.
2009/8/4 Dave Shield <[email protected]>
> 2009/8/4 François Dumont <[email protected]>:
> > In fact, I cannot restart the agent with options. I can only push the
> reset
> > button to restart the agent.
>
> Then I'm afraid I cannot help you any further.
>
> Unless you can get hold of a packet dump of the
> (failing) python-based request, to compare against
> the (working) command-line tool, then we simply do
> not have enough information to tell what is going wrong.
>
> Sorry
>
> Dave
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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