Adds an event notification entry to the Oracle FS System event notification service.
event_notification ‑add ‑name notification‑name [‑description descriptive‑string] ‑recipients email‑address [, email‑address ]... [‑severity severity:category [, severity:category ]... ] [‑eventType type [, type ]... ] [{‑enable | ‑disable}] [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}] [{‑outputformat | ‑o} { text | xml }] [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}]
The subscribers of the Oracle FS System event notification service receive event notifications when a predefined system event occurs. The severity threshold of an event is determined by specifying the event severity and category.
The Oracle FS System encounters a predefined error condition.
The Oracle FS System has encountered an environmental problem.
The storage management thresholds have been reached.
The name of the event notification
A list of subscriber email addresses
To obtain a list of events that can be generated by the Oracle FS System, run the event_log ‑eventTypes command.
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.
Disables the event notification service from sending the event notification to the registered subscribers.
Enables the event notification service to send the event notification to the registered subscribers.
Specifies one or more event types in a comma separated list.
Specifies the name of the event notification that you are setting up on the Oracle FS System. The name that you provide is used to create the fully qualified name (FQN) after the Oracle FS System creates the new event notification. Use double quotation marks around names containing dashes or spaces.
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.
Specifies a combination of event severity and category. Any combination is allowed. Multiple combinations are specified in a comma separated list. Specifes the severity and category in the format of severity:category.
For each severity level, specify one of the following event categories:
If you do not define a severity:category pair, notifications of all events are sent to the specified recipients.
The following global options can be used for fully formed fscli commands:
The command completes successfully.
The command returns with an error.
The session times out.
Inspects the validity of the command syntax, not the semantics. Used to test the structure of a command without running the command. Does not determine whether errors would be produced if you issue a structurally correct command with the input provided.
Directs the CLI to prompt you to supply a session key when you issue the command. The CLI displays Sessionkey: as the prompt. To obtain a session key, log in with the ‑returnKey option specified. After the session is established, the session key is displayed in STDOUT. If you request a session key, the ‑sessionkey option is required syntax for all commands that are issued in a given session. In environments with more than one Oracle FS System, the session key is used to determine to which Oracle FS System to direct the command for validation. Session keys are also used to establish two or more CLI sessions when using a shared administrator account.
The IP address of the SMTP server.
The port number that the SMTP server uses to receive event notifications from the Oracle FS System.
The email domain name.
The email flood interval.
The name of the event notification: lost-AC
A description: The air conditioning system is not working properly. Facilities alerted.
The email address of the facilities manager: facilities-IT@mydatacenter.com
$ fscli event_notification -add ‑name lost-AC ‑description "The air conditioning system is not working properly. Facilities alerted." ‑recipients facilities-IT@mydatacenter.com ‑eventType PSG_DMS_EVENT_THERM_WARN, PSG_DMS_EVENT_THERM_WARN_LONG, PSG_DMS_EVENT_THERM_CRIT