You can configure the provisioning software to notify you or anyone with an email address when the following events occur:
A plan starts to run, completes, or stops abnormally
A comparison starts, completes, or stops abnormally
This section discusses the following topics:
You can be notified when any system, administrative, or custom event that you specify occurs. You can define a notification rule to apply to a single host or a host set, to an event containing a particular message, to be triggered by an event of a specified severity, or by an event of that severity or higher. You can specify what email address or addresses a notification will be sent to.
When you installed the provisioning software, you specified:
the email address from which the provisioning software sends notifications
the subject line that should appear in the header of notification email messages
The notification email address is set during installation of the provisioning software, and the default subject line text is “N1 Service Provisioning System Notification.”
The plans page list notifications, view notifications details, and create notifications.
A user definable text string that names the notification object. By default, the notifications are listed in alphabetical order by notification name.
An optional user defined text string that describes the notification object. This attribute is not used by the provisioning software but can provide meaningful information to the user.
Links that take you to other notification related pages to either create a new notification or view more information about a notification.
Marks a notification for inclusion when one of the actions are clicked in the Actions for Checked plans area. When clicked, Actions for Checked plans delete all checked notifications.
From this area you can delete notification(s).
The Notifications Details page allows you to view and edit a notification's information and attributes. Along with notification information and attributes this page contains buttons that allow you to save, save as, and delete a notification.
A text filed that allows you to name an new notification or change the name of an existing notification.
A text filed that allows you to describe the notification object.
This section of the notifications details page allows you to define the criteria for notifications. Within in this section there are two radio buttons (Event Type and Event Severity) that are mutually exclusive. By selecting on, you deselect the other.
Selecting this radio button enable the associated pull down menu that allows you to select from a list of events that will trigger a notification. The menu include the following events:
Any Event
Plan Starts
Plan Ends Abnormally
Plan Completes normally
Comparison Starts
Comparison Ends Abnormally
Comparison Completes normally
System Events
Administrative Events
Custom Events
Selecting this radio button enable the two associated pull down menus that allows you to select from a list of thresholds that will trigger a notification. The left menu include the following levels of severity.
Information
Warning
Error
The right menu include the following logical operators that sets limits on the severity level.
This Severity Only
This Severity or Worse
A text filed that allows you specify the body of the email message.
This section has two fields that determines which host or hosts will be monitored of the specified event.
A text box that allow you to specify which host to monitor for the specified event. If this field is left empty then you can specify a host set in the following field.
A pull down menu that allow you to specify which host set to monitor for the specified event. If this on host field is left empty then this field is evaluated.
A text box that allow you to specify one or more email addresses to send a notification when a triggering event is detected.
By clicking one of these buttons you initiate one of the following functions.
Saves the notification using the current name.
Saves the notification using the different user specified name.
Removes the notification from the database.
Takes you to the notifications page without saving anything.
In the left-hand navigation menu, click notification rules.
The HTML user interface displays the notifications page, which lists the notifications already saved in to the database.
In the left-hand navigation menu, click notification rules.
The HTML user interface displays the notifications page, which lists the notifications already saved in to the database.
Find the row listing the notification you're interested in, and click details.
The HTML user interface displays a notifications Details page for the notification.
In the left-hand navigation menu, click notification rules.
The HTML user interface displays the notifications page, which lists the notifications already saved in to the database.
In the top row of the table listing rules, enter a name and a brief description for the rule you want to create, and click create.
The HTML user interface displays the Notification Rules Details page.
Use the controls on this page to specify:
the event or events that will trigger the notification
the email address that the notification should be sent to.
Select an event type from the Event Type drop-down list, or select a severity level.
Events
You can create a notification rule for any of the following events:
any event that occurs
a plan starts
a plan ends abnormally
a plan completes normally
a comparison starts
a comparison ends abnormally
a comparison ends normally
any system event occurs
any administrative event occurs
a custom event occurs
Severity Levels
The severity levels you can choose from are:
You can specify whether you want the notification to be triggered when an event of a particular severity occurs, or whether an event of that severity or higher occurs. To determine what the severity of a particular type of event is, refer to Table 8–2.
Choose This Severity Only or This Severity or Worse from the drop-down list.
If you want to select events based on the messages they automatically generate, you can specify part or all of an event text message in the event text contains field.
If you want to match a specific Event message, refer to the list of event messages in Table 8–1. You can use special character * to match any number of characters.
If you want to specify that this rule applies only when events occur on a particular host or a particular host set, enter the name of a hosts or hosts in the on host field or select a host set from the on host set drop-down list. To specify multiple hosts by name, lists the names in the on host field and separate them with spaces, semicolons, or commas.
Enter an email address for the recipient of this notification.
You can specify multiple addresses by separating them with spaces, semicolons, or commas.
When you have finished specifying the notification rule, click save.
The HTML user interface saves the notification rule, which will now be listed on the Notification Rules page.
The following are the default messages sent to the address you specified when you defined the notification rule.
Table 8–1 Default Event Messages
Event Type |
Event Message |
---|---|
<always specified by the calling subsystem> |
|
<always specified by the calling subsystem> |
|
<always specified by the calling subsystem> |
|
During <preflight|deployment>, plan <plan name or id> is installing component <component name or id> on host <host name or id> on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> is uninstalling component <component name or id> on host <host name or id> on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> is executing control service <control service name> for component <component name or id> on host <host name or id> on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> is installing resource <resource name or id> for component <component name or id> on host <host name or id> on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> is uninstalling resource <resource name or id> for component <component name or id> on host <host name or id> on <datetime>. |
|
A comparison was cancelled on <datetime>. This comparison used settings: <difference settings or id>. |
|
A comparison was requested to be cancelled on <datetime>. This comparison used settings: <difference settings or id>. |
|
A comparison completed on <datetime>. This comparison used settings: <difference settings or id>. |
|
A comparison failed <may contain “because <reason>”> on <datetime>. This comparison used settings: <difference settings or id>. |
|
A comparison found a difference <difference name or id> at <difference path> on <datetime>. This comparison used settings: <difference settings or id>. |
|
A comparison was <numeral percent> complete on <datetime>. This comparison is using settings: <difference settings or id>. |
|
A comparison started on <datetime>. This comparison is using settings: <difference settings or id>. |
|
<Master Server> started on host <host name or id> on <datetime>. |
|
<Master Server> stopped on host <host name or id> on <datetime>. |
|
The preflight for plan <plan name or id> completed on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> <may contain: “on host <host name or id>”> was cancelled on <datetime>. |
|
Plan <plan name or id> cancellation was requested on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> completed on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> failed <may contain: “because <reason>”> on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> was <percent complete> complete on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> started on <datetime>. |
|
During <preflight|deployment>, plan <plan name or id> timed out <may contain: “on host <host name or id>”> on <datetime>. |
|
<always specified by the calling subsystem> |
|
During <preflight|deployment>, step <step name> in plan <plan name or id> completed on host <hostname or id> on <datetime>. |
|
During <preflight|deployment>, step <step name> in plan <plan name or id> failed on host <hostname or id> <may contain: “because <reason>”> on <datetime>. |
|
During <preflight|deployment>, step <step name> in plan <plan name or id> was <percent complete> on host <hostname or id> on <datetime>. |
|
During <preflight|deployment>, step <step name> in plan <plan name or id> started on host <hostname or id> on <datetime>. |
|
User <user name or id> logged in on <datetime>. |
|
User <username> failed to log in <may contain: “because <reason>”> on <datetime>. |
|
User <username or id> logged out on <datetime>. |
For events, the following strings and event severities apply:
Table 8–2 Event Severities
Event |
Event Description |
Severity |
---|---|---|
ROXErrorEvent |
System Error |
ERROR |
ROXWarningEvent |
System Warning |
WARNING |
ROXInfoEvent |
System Information |
INFO |
ROXComponentInstallEvent |
Component Installed |
INFO |
ROXComponentUninstallEvent |
Component Uninstalled |
INFO |
ROXComponentControlServiceEvent |
Component Control Service Executed |
INFO |
ROXResourceInstallEvent |
Resource Installed |
INFO |
ROXResourceUninstallEvent |
Resource Uninstalled |
INFO |
ROXDifferenceAbortEvent |
Comparison Canceled |
INFO |
ROXDifferenceAbortRequestedEvent |
Comparison Cancellation Requested |
INFO |
ROXDifferenceCompleteEvent |
Comparison Completed |
INFO |
ROXDifferenceFailedEvent |
Comparison Failed |
ERROR |
ROXDifferenceFoundEvent |
Difference Found |
WARNING |
ROXDifferenceStartEvent |
Comparison Started |
INFO |
ROXNodeStartEvent |
Node Started |
INFO |
ROXNodeStopEvent |
Node Stopped |
INFO |
ROXPreflightCompleteEvent |
Preflight Completed |
INFO |
ROXTaskAbortEvent |
Plan/Preflight Canceled |
INFO |
ROXTaskAbortRequestedEvent |
Plan/Preflight Cancellation Requested |
INFO |
ROXTaskCompleteEvent |
Plan/Preflight Completed |
INFO |
ROXTaskFailed |
Plan/Preflight Failed |
ERROR |
ROXTaskStartEvent |
Plan/Preflight Started |
INFO |
ROXStepCustomStepEvent |
Custom Event Sent |
INFO |
ROXStepCompleteEvent |
Step Completed |
INFO |
ROXStepFailedEvent |
Step Failed |
ERROR |
ROXStepStartEvent |
Step Started |
INFO |
ROXUserLoginEvent |
User Logged In |
INFO |
ROXUserLoginFailedEvent |
User Failed to Log In |
INFO |
ROXUserLogoutEvent |
User Logged Out |
INFO |
Table 8–3 summarizes the CLI commands for managing rules for notifications.
Table 8–3 Summary of the rule Commands
Command |
Description |
---|---|
rule.add |
Adds a notification rule. |
rule.del |
Deletes a notification rule. |
rule.la |
Lists all notification rules. |
rule.lo |
Retrieves a specific rule. |
rule.mod |
Modifies an existing rule. |