RE: Still some more problems using python module
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC07CDC2E7@mailserver.metatv-ds.metatv.com> |
> 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