is it appropriate to use 0 as index value?

2004-09-27 Thread 唐 垠
Now i am implementing an table contain two rows, one present an internal net inteface and the other external net inteface.so i use 0 as index value of ixp0(external) and 1 as index of ixp1.But when i use a snmp browser to check my implemention, a forever loop happened.It seems that the browser

Re: waitpid for child processes invoked from agent

2004-09-27 Thread Users
On Thu, 23 Sep 2004 09:42:20 +0800 Jim wrote: JS>It makes sense to me now. Just one more question to fully clarify this JS>matter. From the description from man page. I have feeling that I have JS>to set the value of pid to "0" - which means to wait for any child JS>process whose pr

Re: Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-09-27 Thread Users
On Sun, 26 Sep 2004 23:30:06 -0700 (PDT) Malliga wrote: MM> I am now looking forward to generate SNMPv3 trap from MM> the agent code. I have configured in MM> snmpd.conf and snmptrapd.conf files for v3 user and MM> authentication. If you configured a 'trapsess', I'd expect that send_v2trap() woul

Re: How can I clean table with shell scripts?

2004-09-27 Thread Users
On Mon, 20 Sep 2004 17:08:58 +0400 (MSD) hippoage wrote: H> I wrote SNMP MIB as .so library. I`ve used netsnmp_create_table_data_set, H> netsnmp_table_set_add_indexes, netsnmp_table_set_multi_add_default_row and H> netsnmp_register_table_data_set functions. H> H> How can I clean table? H> For exam

Re: --with-sysconfdir didnt work for me

2004-09-27 Thread Users
On Mon, 27 Sep 2004 16:57:21 +0200 Baumgart wrote: BA> i found the problem, its --sysconfdir, not --with-sysconfdir. configure BA> didnt complain about miss-spell or wrong options ;( Ah. Yes, that is a rather annoying 'feature' of configure. -- Robert Story; NET-SNMP Junkie

Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-09-27 Thread Malliga Moorthi
Hi, I have generated SNMPv2 trap using send_v2trap( ) API from within the agent code. And it is possible for me to generate SNMPv3 trap using the command line application snmptrap( ) as mentioned in "Net-SNMP tutorial -- TRAPs vs INFORMs for SNMPv3" and receive it using snmptrapd. I am now look