Hi Torben,
try:
for(row=table_set->table->first_row; row; row = row->next)
netsnmp_table_dataset_remove_and_delete_row(table_set, row);
Thorsten
> --__--__--
>
> Message: 4
> From: "Torben Surmer" <[EMAIL PROTECTED]>
> To: net-snmp-coders@lists.sourceforge.net
> Subject: deleting table rows
>
Hi Torben,
try:
for(row=table_set->table->first_row; row; row = row->next)
netsnmp_table_dataset_remove_and_delete_row(table_set, row);
Thorsten
> --__--__--
>
> Message: 4
> From: "Torben Surmer" <[EMAIL PROTECTED]>
> To: net-snmp-coders@lists.sourceforge.net
> Subject
Hi to all,
I coded a little application (sendtrap) to send snmp traps using snmp_send()
function (similar to snmptrap). The only difference is, that sendtrap takes
less options and gets the trapsinks from the snmpd.conf.
I compile it with:
>>
gcc -o sendtrap sendtrap.c -lnetsnmp -lcrypto -lks
Hi!
you art right! It works fine! Thank you. The problem was, that the user (me)
who was running have no access right to the snmpd.conf and so I see nothing,
with root-rights everything ok.
Thanks
Thorsten
>>On Fri, 2005-06-10 at 11:58, Thorsten Freimann wrote:
>> > this is
hing" function will be called three or four
time, but it was not called at all!
Am I doing the right things?
Thank you for help!
>>On Thu, 2005-06-09 at 11:55, Thorsten Freimann wrote:
> I want to write a simple application to send traps (similar to the
> snmptrap app from
I want to write a simple application to send traps (similar to the snmptrap app
from net-snmp). The idea is, that the application takes all trapsinks from the
snmpd.conf file and send the trap to all defined trapsinks.
Is there another (easier) way than to call get_configuration_directory() to