> From: Jack G Atkinson Jr [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 22, 2008 12:47 PM
> Okay, the python works to degree, but after a while it quits.
> Here's a sample of running the same test script (source code
> after transcipt) over and over. It worked 4 times, then no
> longer functions. I can still run it just fine from the
> cygwin prompt using normal netsnmp commands.
I can't support the python bindings myself, but let's see what we can
discover...
First, your script as posted has no looping construct. How are you
looping? Shell script?
Second, your script is creating rows but not activating them. I'm not
sure I would consider that an infinitely repeatable operation. Each potential
row takes up space from what is probably a fixed pool of management resources
which may not be shared with the operational resources. Try adding
#Delete Row
SnmpSet(genEasyBridgeRowStatus,res[0],6,'INTEGER')
to the end of the script, so that you don't leave malingerers.
HTH,
Mike
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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