event_notification

Manages the subscribers of the Oracle FS System event notification service.

SYNOPSIS

event_notification { [ add | delete | list | modify | test] | [ usage | help ] }

DESCRIPTION

The Oracle FS System event notification service sends event notifications to the specified subscribers. Subscribers to the event notification service do not need to have an administrator account on the Oracle FS System.
Note: event_notification requires that there is an email server configured that will accept email from the Oracle FS System.
Note: To ensure that critical alerts can be delivered in the event of power loss, check that the network and switches between the Oracle FS System and the SMTP server are connected to an uninterruptible power supply (UPS). To verify that the Oracle FS System can communicate with the SMTP server, perform the following tasks:
  • Run the event_notification ‑add command to define a test event notification. Set the severity level to informational.

  • Run the event_notification ‑test command. Specify your email address as the recipient.

.

SUBCOMMANDS

add
Adds an event notification entry to the Oracle FS System event notification service.
delete
Deletes event notification entries from the Oracle FS System.
list
Displays a list of event notification entries.
modify
Changes the event selection criteria for an event notification and changes the list of subscribers subscribed to the event notification.
test
Sends a test email to one or more recipients to verify that the mail server is properly configured and that the mail server will accept email from the Oracle FS System.

GLOBAL OPTIONS

help

Displays command usage and additional help about the command.

usage

Returns a summary of the subcommands that are available for this command.

EXAMPLE

Task
Configure the system to send an email to the facilities manager if the internal temperature of the Oracle FS System rises to an unacceptable level.
Note: Run the event_log ‑list ‑eventTypes command to list the types of events that Oracle FS System generates. Inspect the list of event types to determine which ones report problematic environmental conditions.
Note: For the facilities manager to receive the event notification, the SMTP server must be running. Configure the environment so that the SMTP server and the network switches or routers are protected by an uninterruptable power supply (UPS) and are in a different physical location than the Oracle FS System.
Note: To define the behavior of the SMTP server that the event notification service uses to send event notifications to subscribers, run the system -modify command. Specify the following information:
  • 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.

Parameters
  • 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

  • A list of event types:
    • PSG_DMS_EVENT_THERM_WARN
    • PSG_DMS_EVENT_THERM_WARN_LONG
    • PSG_DMS_EVENT_THERM_CRIT
$ 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