Home  Applications > Custom Reporting and Alerting > Alerts > Event-Based Alerts User Interface > Run Executable File Dialog Box



Run Executable File Dialog Box

Description
To run an executable file (for example, an .exe or .bat file) when an alert is triggered. The executable file must not be interactive (no user response required) and should not have a user interface.
HP Business Availability Center can run an executable file (.exe or .bat file) when an alert is triggered—either a predefined or custom executable.
To access: Click the link in Run executable file <as specified> in the Alert definitions area in the Actions tab in the Alert wizard.
Important Information
You can customize and control the executable file by adding parameters to the string. For details, see Control Alerts.
Note to Windows users: To use the predefined batch files that restart a service (including IIS) or server, you must provide the supervisor service running on the Gateway Server with permissions to restart a remote service or machine, as follows: open the Windows Services dialog box, right-click the HP Business Availability Center service, select Properties, click the Log On tab. In the Log On As section, select This Account, and specify the username and password of a user with administrator permissions on the HP Business Availability Center server machine.
If the administrative user on the Gateway Server and on the remote machine are not the same, you must provide the Gateway Server machine administrator with permissions on the remote machine as follows: on the remote machine, open Windows User Manager, double-click Administrators in the Groups window to open the Local Group Properties dialog box, click Add to open the Add Users and Groups dialog box, and add the name of a user with administrator permissions on the Gateway Server.
Included in Tasks

The dialog box includes the following elements (listed alphabetically):

GUI Element
Description
<command line>
If you select:
  • any template except User defined the appropriate information is automatically displayed.
  • the User defined template, use the following format for the command line that runs the executable file: <path to program from Data Processing Server> <<program command line switches>>
where <<program command line switches>> includes the alert parameters—expanded before the command line is executed. For details about the parameters, see Alert Parameter Categories.
Note: Because the server triggers the executable, the path to the executable must be available from the Data Processing Server.
Include output in alert e-mail
To include any output that results from the running of the executable file in e-mail alerts. HP Business Availability Center places this output in the section of the e-mail alert containing the Actions Result text parameter. For details, see Notification Templates Page
Use the following template
Select the type of template to use for running the file:
  • User defined
  • ping
  • Restart IIS (not seen if the Gateway Server is on a Solaris platform)
  • Restart server (not seen if the Gateway Server is on a Solaris platform)
  • Restart service (not seen if the Gateway Server is on a Solaris platform)




© Copyright 2007 Hewlett-Packard Development Company, L.P.