notifications

Command to initiate the Notifications mode and to use its subcommands.

Synopsis

delete -i|--notification_id notificationID[,notificationID1,notificationID2,...notificationIDn] [-u|--username username]
list [-l|--detail] [-f|--filter  search_string] [-s|--severity severity_level] [-c|--count count] [-u|--username username] [-i|--notification_id notificationID] [-r|--status status] 

Description

The Notifications mode is one of a set of modes provided by the Enterprise Manager Ops Center. Use Notifications subcommands to view and delete notifications.

Type the notification command at the command line prompt to enter Notification mode. Type the end command to stop the mode and to return to the command line prompt.

Notifications are created as the result of running jobs, indicating that a job has started or ended, that a task has completed or expired without completing, or that an error has occurred.

Subcommands

list [-l|--detail] [-f|--filter search_string] [-s|--severity severity_level] [-c|--count count] [-u|--username username] [-i|--notification_id notificationID] [-r|--status status]]

Displays a list of all notifications. Use the options to constrain the output to notifications that match the criteria.

Id: 43
     User: root
     Date: 2010-091-23 14:23:28.052028
     Severity: Low
     Type: Info
     Message:  Error in OS Updates Module. (35057) GUUS is not accessible.
       Check that the SOA username and password is set correctly and that 
       networking is properly configured.(35058)
delete -i|--notification_id notificationID[,notificationID1,notificationID2,...notificationIDn] [-u|--username username]

Removes specific notifications. Use the list command to get the identification number of the notification or the owner of the notification.

Options

-c|--count

Restricts the output of the command to the specified number of notifications.

-f|--filter

Restricts the output of the command to notifications that match the specified regular expression.

-i|--notification_id

Identifies a specific notification.

-l|--detail

Displays details about the notification.

-r|--status

Restricts the output of the command to notifications of the specified status.

-s|--severity

Restricts the output of the command to notifications of the specified severity level.

-u|--username

Restricts the output of the command to notifications of the owner.

Operands

notificationID

The number of the notification, as shown in the output of the list command.

search string

A regular expression that is used to match notifications.

severity_level

The type of notification to include: HIGH, MEDIUM, or LOW.

count

The number of notifications to display. Integer value or MAX.

username

The identifier for the owner of the job that generated the notification.

notificationID

The unique identifier for each notification.

status

READ|UNREAD.

Examples

Example 1   To delete a notification
EnterpriseController/notifications > delete -i 43
Example 2   To filter the notifications
EnterpriseController/notifications > list -- filter High