Re: terribly confused by pass_persist in snmpd.conf

2008-05-17 Thread Dave Shield
2008/5/15 Zack Little <[EMAIL PROTECTED]>: > 1) Can the program on the pass_persist line already be running or does it > have to be kicked off by snmpd? It's kicked off by snmpd. > 2) If snmpd kicks it off then what happens when the second request comes > in? If the program is still running does

Re: dlmod error

2008-05-17 Thread Tewen Hsieh
Hi, Thanks for reply. Coud you please includ the output of ldd on both the agent and the .so. /not/usr/sbin> ls snmpd snmptrapd /not/usr/sbin> ldd ./snmpd libdl.so.2 => /lib/libdl.so.2 (0x2ab01000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x2ab44000) libe

terribly confused by pass_persist in snmpd.conf

2008-05-17 Thread Zack Little
I've used the "pass" statement for pass-through control to handle a custom MIB I've written. This works great. The problem is that I now want to return a large amount of data that has to be collected. So "pass" will kick off my program, the program will parse the large amount of data and the

Re: duplicate registration warnings reappearing in trunk?

2008-05-17 Thread Dave Shield
2008/5/11 Magnus Fromreide <[EMAIL PROTECTED]>: > I stupidly trusted the helpers to do the right thing and tried to > register > > snmp.[1-6].0 > snmp.[8-22].0 > snmp.[24-29].0 > snmp.30.0 > > as scalar_groups (and a scalar) but the problem is that they all try to > register snmp in order to return

Re: How to avoid getfirst-getnext cycles in unsorted-external and iterator methods

2008-05-17 Thread Dave Shield
2008/5/12 Rupa P V <[EMAIL PROTECTED]>: > Thanks a lot for the reply. But I have a doubt : how to generate > template code for this "basic table helper", if not using mib2c ? > What is the command to generate this code framework for my mibnode ? As Magnus has said, there isn't a mib2c template sp