Article Listing 1 Listing 2 Listing 3 Listing 4
Listing 5 Listing 6 Listing 7 Listing 8 Listing 9
Listing 10 apr2004.tar

Listing 6 setenv_monitor

# setenv_monitor
umask 022
. /opt/logins/bin/setenv_path
readonly MONITOR_DIR=/opt/monitor
readonly ALERTS_DIR=$MONITOR_DIR/var/alerts
readonly NEW_ALERTS_DIR=$ALERTS_DIR/new
readonly SENT_ALERTS_DIR=$ALERTS_DIR/sent
readonly DISABLED_ALERTS_DIR=$ALERTS_DIR/disabled
readonly ENABLED_ALERTS_DIR=$ALERTS_DIR/enabled
readonly MONITOR_LOGFILE=/var/log/monitor.log
readonly STRIPPED_CONFIG_FILE=/tmp/monitor.conf.$$
CONFIG_FILE="$MONITOR_DIR/etc/monitor.conf"
# End Listing 6: