Description
The
event destination show
command displays information about configured event destinations.
An event destination is a list of addresses
that receive event notifications.
These addresses can be e-mail addresses,
SNMP trap hosts, and syslog servers.
Event destinations are used by event routes.
Event routes describe which events generate notifications,
and event destinations describe where to send those notifications.
Default destinations:
- allevents - A useful destination for all system events,
though no events are routed to this destination by default.
- asup - Events routed to this destination trigger AutoSupport(tm).
Only use this destination to send notifications to technical support.
See system node autosupport for more information.
- criticals - A useful destination for critical events
although no events are routed to this destination by default.
- pager - A useful destination for all events
that are urgent enough to page a system administrator,
though no events are routed to this destination by default.
- traphost - The default destination for all SNMP traps.
You can also use the
system snmp traphost show command
to view SNMP recipients for the traphost default destination.
To add recipients to the default destination,
use the event destination modify command.
Note:
While you can use
both host names and IP addresses with parameters,
only IP addresses are stored.
Unless all DNS and reverse-DNS operations complete successfully,
IP addresses might appear in command output.
Parameters
{
[-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
|
[-facility ]
Displays only the
syslog destinations and syslog facilities.
|
[-instance ]
}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-name <text>] - Name
Selects the destinations that match this parameter value.
[-mail <mail address>, ...] - Mail Destination
Selects the destinations that match this parameter value.
[-snmp <Remote IP>, ...] - SNMP Destination
Selects the destinations that match this parameter value (SNMP trap hosts).
[-syslog <Remote IP>, ...] - Syslog Destination
Selects the destinations that match this parameter value (syslog event notification daemons).
[-syslog-facility <Syslog Facility>] - Syslog Facility
Selects the destinations that match this parameter value.
Valid values are:
default, local0, local1, local2, local3, local4, local5,
local6, and local7.
[-snmp-community <text>] - SNMP Trap Community
Selects the destinations that match this parameter value.
[-hide-parameters {true|false}] - Hide Parameter Values?
Selects the destinations that match this parameter value (true selects destinations
that do not receive full event parameters, false selects destinations that
receive full event parameters).
Event parameters may be hidden to prevent sensitive information
from being sent over non-secure channels.
Examples
The following example displays information about all event destinations:
cluster1::> event destination show
Hide
Name Mail Dest. SNMP Dest. Syslog Dest. Params
---------------- ----------------- ------------------ ------------------ ------
allevents - - logger.example.com -
asup - - - -
criticals oncall - - -
@example.com
pager pager@example.com - - -
support.email supportmgr - - -
@example.com,
techsupport
@example.com,
oncall
@example.com - - -
traphost - th0.example.com, - -
th1.example.com
6 entries were displayed.