SNMP Traps

Mark Komarinski mkomarinski at wayga.org
Wed Apr 16 19:20:18 EDT 2003


On Wed, Apr 16, 2003 at 02:44:18PM -0400, Ben Boulanger wrote:
> Hello,
> 	I'm trying to ensure that my snmptrapd is working correctly.  I've 
> been able to verify that the packet is getting to the location correctly 
> (tcpdump) and that the command I'm using is sending the trap:
> 
> 	snmptrap -v 1 172.21.151.11 public i 5 "test" 0 1
> 
> But I can't seem to find the magic to make snmptrapd log the actual 
> message.  There's no snmptrapd.conf file, but I can't seem to find 
> anything saying that I -need- it to operate, since snmptrapd starts up 
> just fine and logs raw packets when I add the -d flag to the command line.  
> I just can't seem to figure out what it is I'm doing wrong here.
> 
> Any clues?
> Ben

According to the man page, smtptrapd sends its info to syslog via
LOG_LOCAL0.  You can use '-l d' to use the DEBUG facility instead.

-o FILE will dump to a file, and -P sends to stderr.

RH 8 box.  YMMV.

-Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20030416/bd5bcef5/attachment.bin


More information about the gnhlug-discuss mailing list