8-14
Stinger®
Administration Guide
Watchdogs, Alarms, and Traps
Configuring SNMP traps
[in TRAP/remote1 ]
host-name* = remote1
active-enabled = yes
community-name = ""
host-address = 0.0.0.0
host-port = 162
inform-time-out = 1500
inform-retry-count = 4
notify-tag-list = default
target-params-name = default
notification-log-enable = no
notification-log-limit = 50
alarm-enabled = yes
security-enabled = no
port-enabled = no
slot-enabled = no
...
“Trap classes” on page 8-15 describes the trap parameters contained in the
trap
profile. For additional information about the parameters in the
trap
profile, see the
Stinger Reference
.
Configuring the
trap
profile
You must also activate a trap and specify a destination host and host port. The
following parameters in the
trap
profile configure these settings:
The following sample commands instruct the unit to send traps to an SNMP manager
at the IP address 1.1.1.1:
admin>
read trap remote1
TRAP remote1 read
admin>
set host-address = 1.1.1.1
admin>
write
TRAP remote1 written
Parameter
Setting
active-enabled
Enable/disable the system to send traps to the host specified by
this profile:
yes
—The system sends traps defined by this profile.
no
—Traps specified by this profile are not sent.
host-address
IP address to which traps are sent. The default setting is
0.0.0.0
.
If the host address is zero and a name service such as DNS or
Network Information Service (NIS) is supported, you can
specify the hostname instead. The system uses the name to
look up the host address.
host-port
Port to which traps are sent. Specify a number from
1
to
65535
.
The default setting is
162
.
Summary of Contents for Stinger
Page 1: ...Stinger Administration Guide Part Number 7820 0712 008 For software version 9 7 0 August 2004 ...
Page 4: ......
Page 16: ......
Page 18: ......
Page 62: ......
Page 82: ......
Page 96: ......
Page 182: ......
Page 218: ......
Page 236: ......
Page 252: ......
Page 288: ......
Page 350: ......
Page 362: ......
Page 374: ......