Hi,
kill -HUP did not work on ARM linux.(I dont know what exactly is the command)
another way I could add trap session on C code by using create_trap_session .
but it is so difficult to manage them. I want to change snmpd.conf file and
changing trapsink
address and force snmpd to reconfig without restarting snmpd. how it is
posible?
thanks
mansour
From: Wes Hardaker <harda...@users.sourceforge.net>
To: MANSOUR NASERI <man_nas...@yahoo.com>
Cc: "net-snmp-coders@lists.sourceforge.net"
<net-snmp-coders@lists.sourceforge.net>
Sent: Wednesday, September 21, 2011 8:36 PM
Subject: Re: trap sink
>>>>> On Tue, 20 Sep 2011 04:54:53 -0700 (PDT), MANSOUR NASERI
>>>>> <man_nas...@yahoo.com> said:
Dear, Dave Shield,
I am using net snmp moudul on ARM linux embeded. I rum snmpd as a master agent
and I could send trap to destination as I write on trap sink snmp config
file(send_v2trap). but when I run program I want to send trap to
another destinations , I have to restart snmpd to achieve this. but I dont want
to restart snmpd.
MN> I would be greatful if you could help me how can I change sending trap
MN> destination .
If you want to do it without restarting snmpd you will need to either:
1) use kill -HUP to get the agent to re-read the configuration file
2) use snmp SETs instead to configure the TARGET-MIB and
NOTIFICATION-MIB tables to set up the trap receiver dynamically.
--
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders