User guide

ExtremeWare EPICenter Software Installation and User Guide 5-17
Defining Alarms
Forward Trap to: Click this checkbox to forwardthe trap event that caused this alarm.
Specify the forwarding instructions in the fields to the right of the check box asfollows:
—Host: Enter the hostnameor hostIPaddressofthesystem to which thetrapshould
be forwarded.
—Port: Enter the port on which the specified host receives traps.
Community String: Enter the community string for thespecified host.
Run program: Click the check box to have the Alarm System run a program when this
alarm occurs. Enter the command string for the program you want to run. You can
include Alarm System variables as arguments by clicking the Varia ble s. .. button and
selecting the variables you want.
On a Windows NT or WIndows 2000 system, if you are running the EPICenter
server as a service, and you specify a program that does output to the desktop,
that program will not run unless you specify that output to the desktop is allowed
when you start the server service. You can solve this problem by restarting the
EPICenter server and specifically allowing interaction with the desktop. Refer to the
Alarm System section in Appendix A, Troubleshooting, for instructions on restarting the
EPICenter server service with this option enabled. If you are running the EPICenter
server as a regular program, this is not a problem.
If you want to specify a batch file that does output to the desktop, you must
specify the “.bat” file within a DOS “cmd” command, as follows:
cmd/cstart<file.bat>
where <file.bat> is the batch file you want to run.
Execute script: Click the check box to have the Alarm System executea Tcl script when
this alarm occurs. Enter the script commands into the window provided.
You can write your own scripts that access selected EPICenter database variables. See
“Writing Tcl Scripts for Alarm Actions” on page 5-39 for more information.
Setting Up E-mail for the Alarm System
Before you can use the e-mail action, you must configure the e-mail capability. Until you
do so, the Email To field and check box will not be available. To configure the e-mail
capability, do the following:
1 Click the Settings... button on the Action page.
This displays the Email Settings window, as shown in Figure 5-8.