Difference between revisions of "Snmptrapd"

From Net-SNMP Wiki
Jump to: navigation, search
(Created page with "{{tool|snmptrapd|code=apps/snmptrapd.c|manual=1}} The '''snmptrapd''' application typically listens to port 162 (and maybe 10162) and logs or acts upon any notifications ([[TRAP...")
 
Line 6: Line 6:
  
 
snmptrapd is configured through its [[snmptrapd.conf]] file.
 
snmptrapd is configured through its [[snmptrapd.conf]] file.
 +
 +
== Access Control ==
 +
 +
snmptrapd, at a minimum, needs access control settings to allow notifications using various SNMP protocols access to its logging and execution framework.
 +
 +
Example snmptrapd.conf line:
 +
 +
  authCommunity log myInsecureCommunity
 +
 +
will let any incoming notification with a community name of ''myInsecureCommunity'' be logged to it's output file/syslog/etc.

Revision as of 23:18, 30 June 2011

Net-SNMP Tool
snmptrapd
Manual: snmptrapd
Code: apps/snmptrapd.c

The snmptrapd application typically listens to port 162 (and maybe 10162) and logs or acts upon any notifications (TRAPs or INFORMs) that it receives.

Configuring snmptrapd

snmptrapd is configured through its snmptrapd.conf file.

Access Control

snmptrapd, at a minimum, needs access control settings to allow notifications using various SNMP protocols access to its logging and execution framework.

Example snmptrapd.conf line:

 authCommunity log myInsecureCommunity

will let any incoming notification with a community name of myInsecureCommunity be logged to it's output file/syslog/etc.