![Coyote Point Systems E350GX Скачать руководство пользователя страница 202](http://html.mh-extra.com/html/coyote-point-systems/e350gx/e350gx_installation-and-administration-manual_2674414202.webp)
Chapter 7: Monitoring Equalizer Operation
202
Equalizer Installation and Administration Guide
When an event command is configured and one of the above events occurs, the command is executed and a one-line
message describing the event that occurred is sent to the standard input of the specified command. This message can
then be read and examined by the command to which it is passed. It is the same message that is sent via email
notification for such events.
For example, the following shell script will append the current date and the event message to a file:
#!/bin/sh
read MSG
echo ‘date‘: $MSG >> /tmp/echomsgs.txt
Once the above shell script is installed as (for example)
/usr/bin/local/echomsgs
on Equalizer, you can then tell
Equalizer to run the script by doing the following:
1. Log into the Equalizer Administration Interface (see “Logging In” on page 52).
2. Select
Equalizer > Monitoring > Events
3. In the
handling
field, enter the command that you want Equalizer to run when it detects a server event. For our
example above, you would enter:
/usr/local/bin/echomsgs
4. Click the
commit
button.
Configuring Email Notification
You can configure Equalizer to send an email notification whenever a server event occurs, for the same list of events
shown in the previous section. 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. The procedure below shows you how to use the
event
notification
screen to configure, enable, and disable email notification.
Note –
Any program specified 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.
Содержание E350GX
Страница 18: ...Chapter Preface 18 Equalizer Installation and Administration Guide ...
Страница 38: ...Chapter 1 Equalizer Overview 38 Equalizer Installation and Administration Guide ...
Страница 50: ...Chapter 2 Installing and Configuring Equalizer Hardware 50 Equalizer Installation and Administration Guide ...
Страница 62: ...Chapter 3 Using the Administration Interface 62 Equalizer Installation and Administration Guide ...
Страница 80: ...Chapter 4 Equalizer Network Configuration 80 Equalizer Installation and Administration Guide ...
Страница 110: ...Chapter 5 Configuring Equalizer Operation 110 Equalizer Installation and Administration Guide ...
Страница 208: ...Chapter 7 Monitoring Equalizer Operation 208 Equalizer Installation and Administration Guide ...
Страница 240: ...Chapter 8 Using Match Rules 238 Equalizer Installation and Administration Guide ...
Страница 258: ...Chapter 9 Administering GeoClusters 254 Equalizer Installation and Administration Guide Envoy Configuration Worksheet ...
Страница 262: ...Appendix A Server Agent Probes 258 Equalizer Installation and Administration Guide ...
Страница 274: ...Appendix B Timeout Configuration 270 Equalizer Installation and Administration Guide ...
Страница 280: ...Appendix D Regular Expression Format 276 Equalizer Installation and Administration Guide ...
Страница 296: ...Appendix E Using Certificates in HTTPS Clusters 292 Equalizer Installation and Administration Guide ...
Страница 310: ...Appendix F Equalizer VLB 306 Equalizer Installation and Administration Guide ...
Страница 318: ...Appendix G Troubleshooting 314 Equalizer Installation and Administration Guide ...