Skip to main content

event notification destination prepare-for-revert

Contributors
Suggest changes

Deletes or updates unsupported syslog destinations (transport=TCP or transport=UDP with non-default configurations: port, message-format, timestamp-format-override, hostname-format-override)

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

Description

The event notification destination prepare-for-revert can be used to remove or update syslog notification destinations that are not supported when the cluster reverts to the previous release. Supported syslog destinations are ones with udp-unencryptedsyslog-transport using syslog-port`514 and legacy_netapp`syslog-message-format with syslog-timestamp-format-override and syslog-hostname-format-override both set to no-override . Syslog destinations with any other configurations are not supported.

Parameters

{ -delete-unsupported-syslog-destinations {true|false} - Clear unsupported syslog destinations (privilege: advanced)

Use this parameter to delete syslog destinations that are not supported in the previous release.

| -update-unsupported-syslog-destinations {true|false} - Update unsupported syslog destinations to supported (privilege: advanced) }

Use this parameter to update syslog destinations that are not supported in the previous release with supported configurations.

Examples

The following shows examples of "event notification destination prepare-for-revert":

cluster1::*> event notification destination show
Name            Type        Destination
--------------  ----------  ---------------------
snmp-traphost   snmp        - (from "system snmp traphost")
tst01           syslog      test.com (port: 6514, transport: tcp-encrypted)
tst02           syslog      test.com (port: 601, transport: tcp-unencrypted)
tst03           syslog      test.com (port: 1234, transport: udp-unencrypted)
tst04           syslog      test.com (port: 514, transport: udp-unencrypted)
5 entries were displayed.

cluster1::*> event notification destination prepare-for-revert -delete-unsupported-syslog-destinations true

cluster1::*> event notification destination show
Name            Type        Destination
--------------  ----------  ---------------------
snmp-traphost   snmp        - (from "system snmp traphost")
tst04           syslog      test.com (port: 514, transport: udp-unencrypted)
2 entries were displayed.