The snmptrap.conf is an editable ASCII file, with a simple one line per event syntax:
Event_Name Destination_Address
The name of a MIB event object (or a comma-separated group of names of event objects).
Examples:
serverUP
serverUp,serverDown
serverUp,serverDown,serverInitFail
The address of an NMS (or a comma-separated group of the addresses of NMSs) to which generated traps should be sent. Each address should be of the form: HostID:port:community
(mandatory) Either a hostname or IP address.
(optional) IP port number.
Default: 162.
(optional) An SNMP community. Note that if community is specified, Port must also be specified.
Default: "public"
Example: 100.132.5.166
Example: 100.132.5.166:162
Example: victoria:162:public
Note: Be careful to avoid event duplication. That is, you should avoid putting the same event in multiple entries. Also, comment lines can be added lines, prefixed with a "#" character.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |