SNMPSET problem

2005-03-10 Thread Haizhu Liu
I am having a problem with snmpset: this is what I coded to add an integer to snmp set pdu: int action = 2; char type= 'i'; string action_str((char *)&action, sizeof(action)); pdu = snmp_pdu_create(SNMP_MSG_SET); int rc = snmp_add_var(pdu, myoid, sizeof(myoid)/sizeof(oid), type, action_str.da

Re: Latest Stable Version?

2005-03-10 Thread Thomas Anders
Olsson, Sten wrote: Is 5.2.1 the latest stable version of NET-SNMP to use at this time? I've Tried it and it seems pretty good, but I have had a problem with the "reconfigure" when SIGHUP is received by snmptrapd. I haven't quite determined if behavior has changed since 5.0.9 or not, but somethi

Latest Stable Version?

2005-03-10 Thread Olsson, Sten
All, Is 5.2.1 the latest stable version of NET-SNMP to use at this time? I've Tried it and it seems pretty good, but I have had a problem with the "reconfigure" when SIGHUP is received by snmptrapd. I haven't quite determined if behavior has changed since 5.0.9 or not, but something seems fishy

RE: Problem calling a shellscript via the pass command

2005-03-10 Thread Thomas Markus Stephan
Hi everyone, who helped in solving the problem I had with version 5.1.1 of NetSNMP. I compiled version 5.2.1 on Solaris 9 and the call to my shell script worked out fine. Thank you very much for your support. Thomas -Original Message- From: Thomas Markus Stephan Sent: Friday, March 0