Hi Fong,
About your issue: SIGHUP on net-snmp-coders, could I ask you some questions?
Your help will be appreciated!
>>Also, if you remove the configuration entry, it doesn't work either.
>>
>>-----Original Message-----
>>From: Fong Tsui
>>Sent: Wednesday, November 21, 2007 12:12 PM
>>To: Fong Tsui; '[email protected]'
>>Subject: RE: SIGHUP
>>
>>I found that it doesn't work if you add the comments in front of the
>>configuration entry. But if you really change the configuration entry,
>>it works fine.
>>
>>-----Original Message-----
>>From: Fong Tsui
>>Sent: Wednesday, November 21, 2007 12:06 PM
>>To: [email protected]
>>Subject: SIGHUP
Question 1:
If I modify the snmpd.conf via an external application (ex: delete "trapsink
192.168.100.1 public 162"), snmpd will not work fine after reload snmpd.conf?
Question 2:
I can use register_app_config_handler to find a token in snmpd.conf and parse
it, but how can I delete this line?
For example, I can find "trapsink" in snmpd.conf, but how can I delete the line
"trapsink 192.168.100.1 public 162"? Is there any api in net-snmp can do this?
Thanks,
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders