Specifications
Chapter 7: Monitoring Equalizer Operation
116 Equalizer Installation and Administration Guide
• Failure of a server agent
• Restoration of a server agent
• Failover in a high-availability Equalizer pair
For example, to append a dated message to a log file whenever Equalizer detects a server failure,
you could enter the following command:
echo ‘date‘ “System Failure.” >> /tmp/mylog
To specify a command to run, follow these steps:
1. Log into the Equalizer Administration Interface in Edit mode.
2. Select Equalizer > Global Configuration from the main menu bar; then select menu > Events
from the modify system parameters screen. The event configuration screen appears in the
right frame (see Figure 54 on page 115).
3. In the command to run on server event field, enter the command that you want Equalizer to
run when it detects a server event.
4. Click the commit button.
Configuring Email Notification When a Particular Event Occurs
You can configure Equalizer to send an email notification whenever a server event occurs, for the
same list of events shown above. You need to specify the sender and recipient email addresses, as
well as the Simple Mail Transfer Protocol (SMTP) server for this feature to work. Any SMTP server
will work with Equalizer, and usually will reside on another system on your network.
To configure, enable, or disable email notification, you can use either the global parameters screen
or the event configuration screen. All email parameters are listed on both screens, and a change on
one screen will be reflected on the other. The procedure below shows you how to use the event
notification screen to configure, enable, and disable email notification. To use the global
parameters screen, see the section “Modifying System Parameters” on page 43, in Chapter 5.
1. Log into the Equalizer Administration Interface in Edit mode.
2. Select Equalizer > Global Configuration from the main menu bar; then select menu > Events
from the modify system parameters screen. The event configuration screen appears in the
right frame.The email notification section of this screen is shown below.
Note – Any program that is specified in the command and that is to run for a server event must
complete its work and terminate within one or two seconds to avoid interrupting Equalizer’s
server failure detection facility.