There is a Perl example of a pass_persist script that supports GET and GET-NEXT in the Net-SNMP source tree (local/pass_persisttest). Sorry but I'm not sure where to find an example of such a script that also implements the SET method.
On 09/10/12 12:56, Sébastien Boissé wrote: > Thanks a lot for your answer. > "Get" is working fine now (I was missing escape for backslashes). > I still have some problems to make "Set" work. I always get the error > "Bad object type: -". > Do you have a basic working sample of batch script ? > > > 2012/9/10 Bart Van Assche <bvanass...@acm.org <mailto:bvanass...@acm.org>> > > On 09/08/12 09:07, Sébastien Boissé wrote: > > I am using NetSnmp 5.6.1 under windows XP and I am trying to use the > > pass method with a batch script. > > I tested different syntaxes wihout any success... Can you confirm this > > is implemented under Windows and give me an example on how to use this > > feature ? > > It should work when you start the batch file via cmd /c <path>. And if > you use backslashes in <path> it may be necessary to escape these. > > Bart. > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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