This is a discussion on Trap Handler for Net-snmp 5.3.1 within the SNMP Users forums, part of the Networking and Network Related category; --===============0434555263== Content-Type: multipart/alternative; boundary="----=_Part_1829_3991582.1204141080802" ------=_Part_1829_3991582.1204141080802 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0434555263==
Content-Type: multipart/alternative; boundary="----=_Part_1829_3991582.1204141080802" ------=_Part_1829_3991582.1204141080802 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am a newbie to net-snmp and Linux, I have configured snmptrapd.confnet-snmp 5.3.1 and when I start the daemon I receive traps but its just not invoking the trap handler. When I use the command snmptrapd -f -Le -Dsnmptrapd -d it just gives me registered debug token snmptrapd, 1 snmptrapd: Freeing trap handler lists NET-SNMP version 5.3.1 My snmptrapd.conf is : traphandle default /etc/snmp/traphandler.pl authCommunity log,execute caltechtrap logOption f /tmp/traps.log outputOption n (traphandler.pl is a perl script which just opens a file and prints) I have been working so long with this and almost read all the errors on it still can't figure out whats breaking trap handler. Would really appreciate if any one can help me. Thanks. --Shreya. ------=_Part_1829_3991582.1204141080802 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hi,</div> <div> </div> <div>I am a newbie to net-snmp and Linux, I have configured snmptrapd.conf net-snmp 5.3.1 and when I start the daemon I receive traps but its just not invoking the trap handler. When I use the command snmptrapd -f -Le -Dsnmptrapd -d it just gives me </div> <div> </div> <div>registered debug token snmptrapd, 1<br>snmptrapd: Freeing trap handler lists<br>NET-SNMP version 5.3.1<br></div> <div>My snmptrapd.conf is :</div> <div> </div> <div>traphandle default /etc/snmp/traphandler.pl<br>authCommunity log,execute caltechtrap<br>logOption &n bsp; f /tmp/traps.log<br>outputOption n</div> <div> </div> <div>(traphandler.pl is a perl script which just opens a file and prints)</div> <div> </div> <div>I have been working so long with this and almost read all the errors on it still can't figure out whats breaking trap handler.<br></div> <div>Would really appreciate if any one can help me.</div> <div> </div> <div>Thanks.</div> <div>--Shreya.</div> ------=_Part_1829_3991582.1204141080802-- --===============0434555263== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0434555263== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============0434555263==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|