Altair® Monarch® Server

 

Adding an Alert

Alerts allow users to be notified based upon certain conditions. You can, for example, be notified via email if a process fails to run. These notifications are called alerts. Some alerts are pre-defined within Automator itself, such as the process failure (SystemAlertProcessFailed) and process element failure (SystemAlertProcessElementFailed) alerts. Others can be defined by users in scripts.

To add an alert

  1. On the Navigation Tree, click Automator  > Visual Processes and select Alerts. The Alerts page displays.

  2. On the Alerts page, click the Add icon   to create a new alert.

  3. In the Code box specify the alert type.

NOTE: You may type a new alert name or select one of the following predefined alert types:

    • SystemAlertProcessFailed: Indicates that a process has failed.

    • SystemAlertNoInputToExporter: Indicates that there was no input to the Exporter (which means, that no input file exists).

    • SystemAlertProcessElementFailed: Indicates the failure of a project element.

If a predefined alert (for example, the SystemAlertProcessFailed) has already been selected, it will no longer be listed in the Code drop-down list, as you cannot specify two predefined alerts of the same type (except for the SystemAlertProcessElementFailed).

  1. In the Description field enter alert description.

NOTE: If you use the SystemAlertProcessElementFailed alert, you can choose one or more element types by clicking .

  1. If the alert should be immediate, check the Rise Alert Immediate checkbox.

NOTE: The Rise Alert Immediate checkbox is available only for the SystemAlertNoInputToExporter alert and the SystemAlertProcessElementFailed alert.

  1. Under Actions, choose which action to add to the alert.

    • Log: Select to specify an Application Event Log notification. This can be useful if you use network management software such as BMC Patrol, IBM Tivoli, HP Openview or other software, to provide tighter integration into your systems management.

  • In the Event level drop-down menu, set the event as Information, Warning, or Error.

  • In the Event ID box, enter the event ID.

  • In the Message text field, type the message.

NOTE: You may use the naming macros to provide a message for the log alert. To do this, click the Insert Macro icon  and select the naming macros from the drop-down list.

    • Email: Select to send an email notification. Note that if the email connection is down at the time the alert is invoked, the alert will also be written to the Windows Application Event Log.

  • Specify the recipients' email addresses in the corresponding boxes: From, To, Cc, and Bcc. To select recipients from the contacts list, click the Contacts icon .

  • Type the message subject in the Subject box.

NOTE: You may use the naming macros to provide a subject line for an email alert. To do this, click the Insert Macro icon  and select the naming macros from the drop-down list.

  • Type the message in the Message box.

  • Select the Attach files check box to attach a file for the alert.

  • Select the Zip check box to archive the attached files. The Zip Options drop-down arrow will appear. Under Zip Options provide the following information:

  • Specify the compression level from the following: None, Medium, Maximum.

  • Select the Store directory path check box if necessary.

  • Select the Set Password check box to set the password.

  • Select the One file per mail check box to attach only one file per mail.

  • Select the Attach links check box to attach a link to file.

  • Select the email priority from the following: Low, Normal, High.

    • RSS: Select this to specify an RSS notification.

  • In the Feed box, specify the file. You can either enter the path to a file in the box or select a folder by clicking the Browse button. The Select Folder dialog box will appear.

  • From the Named Paths list, select the appropriate named path.

  • Select the folder from the list of displayed in the Named Paths box.

  • Click Ok to add the folder.

  • Select the Create if not found checkbox in order to create the file if the specified one is not found.

  • In the Title box, enter the item title.

  • In the Item description box, enter item description.

NOTE: You may use the naming macros to provide a title and description for an RSS alert. To do this, click the Insert Macro icon  and select the naming macros from the drop-down list.

  • In the Link box, enter the link name.

  • Click the Channel section to specify the channel parameters:

  • Title: Enter channel title.

  • Channel Description: Provide channel description.

  • Link: Enter link name.

NOTE: If you leave the Title, Channel Description, and Link fields blank the default values will be automatically assigned.

  • Max Items: Specify the maximum number of items.

  • Unlimited: Select this check box if you want to set the unlimited number of items.

  1. Click OK to save the action.

  2. Click Save to save the alert.