This is a critical feature of the Eagle. Please take the time to develop a security plan including who you will notify if problems occur, and who their backups will be.
Notifyd works closely with the messaging capability of the Eagle. There are various levels of criticality of messages which can be assigned to any one or more types of message transport. If you wish to be notified of any alerts from the Eagle, you must include the proper entry in /usr/adm/sg/notify.cf, on the G Box. An entry consists of three or more fields separated by colons: message severity, time range, transport, and one or more optional arguments. The general format of the configuration file is:
severity : time range : transport [ : arg 1 [ : arg 2 ] ]
The message severity indicates which types of messages you are
interested in receiving. See Appendix for a
description of the different message types. Note that you can specify
more than one message severity or a range of severities. To specify
more than one message severity, separate each one with the `|'
character. To specify a range, use UpTo(severity). This
includes all messages from severity up to and including the
highest severity (Emergency).
You can also restrict when you are notified of suspicious activity to
particular hours of a day, or days of a week, etc. The syntax for
specifying time range in the configuration file is the same as that
described in section .
The transports are:
For the audio transport the optional fields are the name of a sound file followed by a volume (0-100). For the electronic mail transport, only the recipients are required (i.e. user@hostname). To correctly page or fax someone, you need a name and a phone number. The phone number is passed directly to the modem and must follow the Hayes standard (refer to your modem manual).
The client transport requires a program name. You may define your own program(s) for this function. When the program is executed its arguments are the message priority, the message, and any optional fields you supply.
To continue a particular field to the next line, end the current line with a backslash character.
An example notification configuration file follows:
Emergency : Sunday-Saturday : Fax : Pat Wales : 5551700
Critical|Alert : Monday-Friday : Page : Tom Ho : 9,5551692,,1234#;
UpTo(Warning) : Monday-Friday @ 8AM-4PM : Mail : hause@fantasia
UpTo(Warning) : Sunday-Saturday : Client : dispatch : 6668DE
Alert : Sunday-Saturday : Alarm : alarm.au : 50
Here we see that Pat Wales is notified via a fax of any emergency any time during the week. Tom Ho gets notified of critical or alert events via his pager with the digits 1234 displayed. Hause will receive a mail message from any event priority from Warning to Emergency, but only during normal working hours during the business week. Anytime a Warning to Emergency occurs, the client program dispatch is executed with the arguments: message priority; message; and 6668DE. Finally, an audio alarm will sound on the gateway machine whenever an Alert message is issued.
For a notification to be sent to a pager, a V32.bis modem must be attached to your system.
For a notification to be sent to a fax machine, a Class 2 fax modem must be attached to your system.
There is no need to have two modems on the Eagle. The notification system assures that at no time will there be an attempt to use the fax and the pager simultaneously.