|
To modify the Alert Actions executed by Hardware Sentry upon a hardware failure, right-click on the main Hardware icon > KM Commands > KM Settings > Edit Alert Actions…
Select the Alert Actions to be executed
Check the boxes corresponding to the actions you would like executed upon a hardware failure.
By default, Hardware Sentry triggers a PATROL event and annotates the parameter that raises the alert, but there are all the actions that can be triggered:

Editing Alert Actions — Selecting Parameters
Trigger a PATROL event
If you select Trigger a PATROL Event, you need to enter the string that will be displayed with the event.
A PATROL Event can be viewed from:
| • | Standard PATROL Consoles (Classic Console, PATROL Central) |
| • | PATROL Enterprise Manager |
| • | Other third-party products that interface with PATROL. |
 | The PATROL event that is triggered is the ‘41’ event from the standard PATROL catalog. You can use macros that will be replaced at runtime. The Alert Actions Macro Variables *Alert_Actions_Macro_Variabsection states the list of available macrosAlert_Actions_. |
Annotate the parameter’s graph
If you select the Annotate the parameter’s graph action, you need to enter the string that will be displayed within the annotation point.
 | You can use macros that will be replaced at runtime. The Alert Actions Macro Variables *Alert_Actions_Macro_Variabsection states the list of available macrosAlert_Actions_. |
Execute an OS command
If you select the Execute an OS command action:
Enter a command line to be executed
| • | Enter the username and password used to run the command. |
The command can be a program utility or a script shell, and can have arguments.
 | The command must be non-interactive (no window, no user input) |
 | You can use macros that will be replaced at runtime. The Alert Actions Macro Variables *Alert_Actions_Macro_Variabsection states the list of available macrosAlert_Actions_Alert_Actions_. |
Execute a PSL command
If you select the Execute a PSL command action, you need to enter the PSL statement to be executed by the PATROL Agent. Although only a single line is permitted, it can have several PSL instructions.
 | The PSL command is recommended for advanced user of PATROL. |
 | You can use macros that will be replaced at runtime. The Alert Actions Macro Variables *Alert_Actions_Macro_Variabsection states the list of available macrosAlert_Actions_. |
Send a pop-up to the PATROL Consoles
If you select the Send a pop-up to the PATROL Consoles action, you need to enter the message that will be displayed in the pop-up as well as the in title of the pop-up window.

 | Too many pop-ups could annoy the operators. |
 | You can use macros that will be replaced at runtime. The Alert Actions Macro Variables *Alert_Actions_Macro_Variabsection states the list of available macrosAlert_Actions_. |
Write a line to a LOG file
If you select the Write a line to a LOG file action:

Enter the LOG file path and the content of the line.
 | You can use macros that will be replaced at runtime. The Alert Actions Macro Variables *Alert_Actions_Macro_Variabsection states the list of available macrosAlert_Actions_. |
Send a basic SNMP trap
If you select the Send a basic SNMP trap action:

Enter the following:
| • | IP address or hostname of the SNMP trap destination |
| • | SNMP port and community string |
| • | Text that will be sent in the SNMP trap |
 | Upon a hardware failure, Hardware Sentry will send the trap that is defined in the PATROL MIB (Trap number 11, Enterprise ID: 1.3.6.1.4.1.1031.1.1.2, the text is stored in the 1.3.6.1.4.1.1031.1.1.2.1 OID). You can use macros that will be replaced at runtime. The Alert Actions Macro Variables *Alert_Actions_Macro_Variabsection states the list of available macrosAlert_Actions_. |
Send a custom SNMP trap (advanced)
If you select the Send a custom SNMP trap action, you need to enter the following:

Enter the following:
| • | IP address or hostname of the SNMP trap destination |
| • | SNMP port and community string |
| • | All the characteristics of the trap: Enterprise ID, trap number and up to 4 varbinds. |
Send an E-mail
If you select the Send an E-mail action, you need to complete the following panel:

Alert Actions: Send an E-mail
Enter the sender and the recipient email addresses in respectively the From and To fields, and type the SMTP server name. Finally, enter the email Subject and type the Body of the message you wish to send.
Changes Validation
After selecting and defining Alert Actions, you need to validate your changes by clicking the Finish button.

 | You can use macros that will be replaced at runtime. The Alert Actions Macro Variables section states the list of available macrosAlert_Actions_. |
See Also
Thresholds, Alerts and Notifications
Alert Actions
Alert Actions Macro Variables
|