4.5.2.2 Creating a New Alert

Table of Contents Previous Next



The Manage Alerts tab displays a table of alerts that are defined on the object currently selected in the PEM client tree control. You can use the Alerts table to modify an existing alert, or to create a new alert (see Figure 4.39).
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\e69a794c\Screen Shot 2018-01-31 at 2.17.20 PM.png
To open the alert editor and create a new alert, click the Add icon (+) in the upper-right corner of the table. The editor opens as shown in Figure 4.40.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\fd095749\alert_definition_general.png
Use the fields on the General tab to provide information about the alert:
Use the drop-down listbox in the Template field to select a template for the alert. An alert template is a function that uses one (or more) metrics or parameters to generate a value to which PEM compares user-specified alert boundaries. If the value returned by the template function evaluates to a value that is within the boundary of a user-defined alert (as specified by the Operator and Threshold values fields), PEM raises an alert, adds a notice to the Alerts overview display, and performs any actions specified on the template.
Use the Enable? switch to specify if the alert is enabled (Yes) or disabled (No).
Use the controls in the Interval box to specify how often the alert should confirm if the alert conditions are satisfied. Use the Minutes selector to specify an interval value. Use the Default switch to set or reset the Minutes value to the default (recommended) value for the selected template.
Use controls in the History retention box to specify the number of days that PEM will store data collected by the alert. Use the Days selector to specify the number of days that the data will be stored. Use the Default switch to set or reset the Days value to the default value (30 days).
Use controls in the Threshold values box to define the triggering criteria for the alert. When the value specified in the Threshold Values fields evaluates to greater-than or less-than the system value (as specified with the Operator), PEM will raise a Low, Medium or High level alert:
Use the Operator drop-down listbox to select the operator that PEM will use when evaluating the current system values:
The Parameter Options table contains a list of parameters that are required by the selected template; the table displays both pre-defined parameters, and parameters for which you must specify a value. Please note that you must specify a value for any parameter that displays a prompt in the Value column.
PEM can send a notification or execute a script if an alert is triggered, or if an alert is cleared. Use the Notification tab (see Figure 4.41) to specify how PEM will behave if an alert is raised.
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\b6ecc2a3\alerting_define_notification.png
Use the fields in the Email notification box to specify the email group that will receive an email notification if the alert is triggered at the specified level. Use the Email Groups tab to create an email group that contains the address of the user or users that will be notified when an alert is triggered. To access the Email Groups tab, click the Email Groups icon located in the Quick Links menu of the Manage Alerts tab.
To instruct PEM to send an email when a specific alert level is reached, set the slider next to an alert level to Yes, and use the drop-down listbox to select the pre-defined user or group that will be notified.
Use the Trap notification options to configure trap notifications for this alert:
Set the Send trap slider to Yes to send SNMP trap notifications when the state of this alert changes.
Set the SNMP Ver slider to v1 or v2 to identify the SNMP version.
Use the Low alert, Med alert and High alert sliders to select the level(s) of alert that will trigger the trap. For example, if you set the slider next to High alert to Yes, PEM will send a notification when an alert with a high severity level is triggered.
Use the field in the Nagios notification* box to instruct the PEM server to notify Nagios network-alerting software when the alert is triggered or cleared. For detailed information about configuring and using Nagios with PEM, please see Section 4.5.3.
Set the Submit passive service check result to Nagios switch to Yes to instruct the PEM server to notify Nagios when the alert is triggered or cleared.
Use the fields in the Script execution box to (optionally) define a script that will be executed if an alert is triggered, and to specify details about the script execution.
Set the Execute script slider to Yes to instruct PEM to execute the provided script if an alert is triggered.
Set the Execute on alert cleared slider to Yes to instruct PEM to execute the provided script when the situation that triggered the alert has been resolved.
Use the radio buttons next to Execute script on to indicate that the script should execute on the PEM Server or the Monitored Server.
Provide the script that PEM should execute in the Code field. You can provide a batch/shell script, or SQL code. Within the script, you can use placeholders for the following:
%AlertName% - this placeholder will be replaced with the name of the triggered alert.
%ObjectName% - this placeholder will be replaced with the name of the server or agent on which the alert was triggered.
%ThresholdValue% - this placeholder will be replaced with the threshold value reached by the metric when the alert triggered.
%CurrentValue% - this placeholder will be replaced with the current value of the metric that triggered the alert.
%CurrentState% - this placeholder will be replaced with the current state of the alert.
%OldState% - this placeholder will be replaced with the previous state of the alert.
%AlertRaisedTime% - this placeholder will be replaced with the time that the alert was raised, or the most recent time that the alert state was changed.
When you have defined the alert attributes, click the edit icon to close the alert definition editor, and then the save icon (in the upper-right corner of the Alerts table). To discard your changes, click the refresh icon; a popup will ask you to confirm that you wish to discard the changes.


Table of Contents Previous Next