[ale] snmptrapd.conf file examples

Pete Hardie pete.hardie at gmail.com
Thu Mar 20 23:00:52 EDT 2008


On Thu, Mar 20, 2008 at 11:59 AM, Atlanta Geek <atlantageek at gmail.com> wrote:
> Hi Pete,
>  I just struggled with this stuff last month.  I wrote some quick notes
>  on my blog at:
>  http://www.atlantageek.com/?p=21
>  I hope this helps.  Honestly with the difficulty of setting up the
>  trapd and the issues with firewalls and default configurations
>  snmptrapd was a challenge.
>  The best advice I can give you is to start with the 'snmptrap' command
>  on your server and make sure you can recieve a trap on the machine
>  that has trapd running.
>  If you still can't recieve traps try sending a trap from a different
>  machine.  Make sure ports 162 (and maybe 161) are open.
>  Check /var/log/messages to see if the traps are going there.
>  And when all else fails there is tcpdump.
>  Let me know when your situation gets more specific. Like are you getting
>  As far as where do the logs go put this in your snmptrapd.conf file
>  "logoption f /tmp/trapd.out"

I'm getting the traps alright - I have the log option form the default
config and I see the
expected info from the firewall.

I'll read your link and see if it enlightens me.

>
>
>
>
>  On Sat, Mar 15, 2008 at 3:25 PM, Pete Hardie <pete.hardie at gmail.com> wrote:
>  > Hello all,
>  >
>  >  I'm trying to set up the router logging, via SNMP, and I cannot find the
>  >  Google magic to get a good example of how to set up snmptrapd.conf
>  >  for a specific devices, and where the traphandle command output goes.
>  >
>  >  Anyone done this before and able to point me at detailed info?
>  >
>  >  TIA,
>  >
>  >
>  >  --
>  >  Pete Hardie
>  >  --------
>  >  Better Living Through Bitmaps
>  >  _______________________________________________
>  >  Ale mailing list
>  >  Ale at ale.org
>  >  http://mail.ale.org/mailman/listinfo/ale
>  >
>
>
>
>  --
>  Stability is for the weak!!!
>  Long live the next big thing.
>  _______________________________________________
>  Ale mailing list
>  Ale at ale.org
>  http://mail.ale.org/mailman/listinfo/ale
>



-- 
Pete Hardie
--------
Better Living Through Bitmaps


More information about the Ale mailing list