Re: snmptrapd - avoiding ambiguity in log files

This is a discussion on Re: snmptrapd - avoiding ambiguity in log files within the SNMP Users forums, part of the Networking and Network Related category; Don Cohen wrote: > # ./net-snmp-5.1.3.1/apps/snmptrapd -f -c /tmp/snmptrapd.conf > where /tmp/...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-09-2005
Thomas Anders
 
Posts: n/a
Default Re: snmptrapd - avoiding ambiguity in log files

Don Cohen wrote:
> # ./net-snmp-5.1.3.1/apps/snmptrapd -f -c /tmp/snmptrapd.conf
> where /tmp/snmptrapd.conf contains:
> traphandle default /tmp/snmptraphandler
> and I get
> No log handling enabled - turning on stderr logging
> Cannot find module (IP-MIB): At line 0 in (none)
> ...
> and output similar to the first case above without -c,
> but no call to /tmp/snmptraphandler.
> This did work in 5.0.9.


For a test, only put "trapdhandle default /bin/cat" into your
snmptrapd.conf and run snmptrapd with "-Drun:exec" (in addition to "-f
-Lo -C -c ...". It should print something like:

run:exec: running '/bin/cat'
run:exec: child 29893 finished. result=0

when it gets a trap. Does it? If so, try to move forward one change at a
time.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0