event_notification modify

Changes the event selection criteria for an event notification and changes the list of subscribers subscribed to the event notification.

SYNOPSIS

event_notification ‑modify 
   ‑eventNotification event‑notification‑id‑or‑fqn
   [‑description descriptive‑string]
   [‑recipients email‑address [, email‑address ]... ]
   [‑severity severity:category [, severity:category ]... ]
   [‑name notification‑name]
   [{‑enable | ‑disable}]
   [‑eventType type [, type ]... ]

   [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}]
   [{‑outputformat | ‑o} { text | xml }]
   [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}] 

DESCRIPTION

The event_notification ‑modify command requires that you provide the unique ID or fully qualified name (FQN) of the notification to modify. To provide a fully qualified name, specify the name preceded by a forward slash ( / ) character. Run the event_notification ‑list command to obtain a list of the event notifications that are currently defined on the Oracle FS System.

To obtain a list of events that can be generated by the Oracle FS System, run the event_log ‑eventTypes command.

Note: Only administrators with primary administrator or admin1 roles are authorized to run the event_notification modify command.

OPTIONS

description

Specifies a string of up to 256 characters as the description of the event notification. Enclose the descriptions that contain more than one word in quotation marks. The default description is the name of the event notification.

disable

Disables the event notification service from sending the event notification to the registered subscribers.

enable

Enables the event notification service to send the event notification to the registered subscribers.

eventNotification

Specifies the fully qualified name (FQN) of the event notification. The name must be preceded by a forward slash (/). You can also specify the unique ID for the event notification.

eventType

Specifies one or more event types in a comma separated list.

name

Specifies the new name of the event notification. The name that you provide is used to create the fully qualified name (FQN) and replaces the FQN for the event notification that you defined previously. Use double quotation marks around names containing spaces or dashes.

recipients

Specifies the email addresses of one to four subscribers or externally defined mailing lists to which the Oracle FS System sends the event notification. Provide the email addresses in a comma separated list.

severity

Specifies any combination of severity and category as the threshold for sending event notifications to subscribers. Specify multiple combinations in a comma separated list. Define the combination of severity and category in the format of severity:category.

Severity levels
Critical
Requires prompt action to prevent system failures or offline conditions.
Warning
Requires no immediate action for minor conditions that you can address at your convenience.
Informational
Requires no action for events that are information only.
Categories
Security
Events to notify of a security problem, such as an unauthorized request.
Audit
Events that keep track of what administrators are doing, such as the operations that they performed.
System
Events to notify of system problems, such as a missing Drive Enclosure or Controller.

EXAMPLE

Task
Change the list of email subscribers to the facilities manager and the primary Oracle FS System administrator when the temperature in the data center reaches an unacceptable level.
Note: Before running this example, obtain the list of event notifications by running the event_notification ‑list ‑details command. For each event notification, the output returns the email addresses of the subscribers. Using the email address that you are interested in, locate the name of the event notification to which it is associated.
Parameters
  • The name of the event notification preceded by a forward slash (/⁠) character: /⁠lost-AC

  • List of subscribers: facilities-IT@mydatacenter.com, OracleFS-admin-IT@mydatacenter.com

$ fscli event_notification -modify ‑eventNotification /lost-AC ‑recipients facilities-IT@mydatacenter.com, OracleFS-admin-IT@mydatacenter.com