Hi all,

Is there any method to add/delete com2sec entries (or trapsink/trap2sink 
entries) dynamically "without" restarting snmpd?

I use snmpd_store_config( ) to write com2sec (trapsink) entries into 
/var/net-snmp/snmpd.conf. Then I must send -HUP to snmpd to restart it. All my 
new com2sec (trapsink) entries will be valid. This is the most general method 
to configure snmpd dynamically.

For some reason, I can't restart snmpd. I know I can use netsnmp_config( ) to 
add com2sec (trapsink) entries without restarting snmpd.
But in this way, I only can "add" com2sec (trapsink) entries. netsnmp_config( ) 
seems not to be used to "delete" a existed com2sec (trapsink) entry.

So Is there anyone know how to add/delete com2sec entries (or 
trapsink/trap2sink entries) dynamically "without" restarting snmpd?

Your suggestion and help will be appreciated! Thanks in advance!


Sincerely,

   

永鈦鑫   iTAS Corporation
新竹市水源街75號
NO. 75,Shuiyuan St., Hsinchu City, Taiwan, R.O.C.
Tel:03-5716099 Ext.1208
E-mail:[EMAIL PROTECTED]
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to