Working with Alerts
The following alerts are available:
- Application Alerts
- System Alerts
Enabling an Email Alert
To enable an email alert when the appviewx.conf file is modified:
- Open the terminal.
- Navigate to the <avx_installed_path>/conf directory.
-
To open the appviewx.conf file, execute the following
command:
vi appviewx.conf -
Update the following SMTP fields in the appviewx.conf
file.
- SMTP_SERVER = <email server>:<port>
- SMTP_SENDER_USER = <sender email address>
- SMTP_RECEIVER_USER = <sender email address>
-
To get an email alert if the file is tampered, execute the
following command:
./appviewx --conf_change_alert cron -
To set the command in crontab, complete the following steps:
crontab -e <cron freq> cd /home/appviewx/appviewx/scripts && ./appviewx --conf_change_alert cron 2>>/home/appviewx/appviewx/logs/cron_logs 1>/dev/null
