event notification destination show

Contributors

Display event notification destinations

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The event notification destination show command displays event notification destinations. More detailed information about parameters can be found in the man page for the event notification destination create command.

Note: In the case of a rest-api destination type or syslog destination type (with tcp-encrypted transport), Online Certificate Status Protocol (OCSP) information is not included. OCSP information is available in the security config ocsp show -app ems command.

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.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-name <text>] - Destination Name

Use this optional parameter to display information of an event notification destination that has the specified name.

[-type {snmp|email|syslog|rest-api}] - Type of Destination

Use this optional parameter to display information of event notification destinations that have the specified destination type.

[-destination <text>,…​] - Destination

Use this optional parameter to display information of event notification destinations that have the specified destination address. Enter multiple addresses separated by a comma.

[-server-ca-present {true|false}] - Server CA Certificates Present?

Use this optional parameter to display information of event notification destinations that have the specified server-ca-present value. This field indicates whether there are certificates of the server-ca type exist in the system. If not, event messages will not be sent to a rest-api type destination having an HTTPS URL.

[-certificate-authority <text>] - Client Certificate Issuing CA

Use this optional parameter to display information of event notification destinations that have the specified certificate authority name.

[-certificate-serial <text>] - Client Certificate Serial Number

Use this optional parameter to display information of event notification destinations that have the specified certificate serial number.

[-certificate-valid {true|false}] - Client Certificate Valid?

Use this optional parameter to display information of event notification destinations that have the specified certificate-valid value. This field indicates whether the client certificate specified by the certificate-authority and certificate-serial fields is valid. If not, and if the REST API server requires client authentication, event messages are not sent to the server.

[-syslog-port <integer>] - Syslog Port

Use this optional parameter to display information about an event notification destination that has the specified syslog port.

[-syslog-transport {udp-unencrypted|tcp-unencrypted|tcp-encrypted}] - Syslog Transport

Use this optional parameter to display information about an event notification destination that has the specified syslog transport.

[-syslog-message-format {legacy-netapp|rfc-5424}] - Syslog Message Format

Use this optional parameter to display information about an event notification destination that has the specified syslog message format.

[-syslog-timestamp-format-override {no-override|rfc-3164|iso-8601-utc|iso-8601-local-time}] - Syslog Timestamp Format Override

Use this optional parameter to display information about an event notification destination that has the specified syslog timestamp format override.

[-syslog-hostname-format-override {no-override|fqdn|hostname-only}] - Syslog Hostname Format Override

Use this optional parameter to display information about an event notification destination that has the specified syslog hostname format override.

Examples

The following shows examples of "event notification destination show":

cluster1::> event notification destination show

Name            Type        Destination
--------------  ----------  ---------------------
StorageAdminEmail
                email       StorageAdmin@example.com (via "localhost" from "admin@localhost", configured in "event config")
StorageAdminSyslog
                syslog      example.com (port: 514, transport: udp-unencrypted)
snmp-traphost   snmp        10.30.40.10 (from "system snmp traphost")
RestApi         rest-api    https://rest.example.com/rest
4 entries were displayed.

cluster1::> event notification destination show -type snmp -instance
Destination Name: snmp-traphost
             Type of Destination: snmp
                     Destination: 10.30.40.10 (from "system snmp traphost")
 Server CA Certificates Present?: -
   Client Certificate Issuing CA: -
Client Certificate Serial Number: -
       Client Certificate Valid?: -
                     Syslog Port: -
                Syslog Transport: -
           Syslog Message Format: -
Syslog Timestamp Format Override: -
 Syslog Hostname Format Override: -