Health Advisor: Notification
Use this page to configure the email program and to specify the recipients of the email notification.
- Run Health Advisor
- Use this button to run the Health Advisor on demand with the current profile. The report is displayed in a new browser window.
Notification
The email can be sent to multiple addresses. Separate the addresses with commas. The email can be sent from only one address.
The email can be sent at these times:
- Always
- Email is sent each time the checks run even when there are no alarms.
- Red alarm
- Email is sent only if a red alarm is triggered.
- Any alarm
- Email is sent if a red alarm or a yellow alarm is triggered.
Email Program Configuration
The default email configuration uses placeholders to represent these parts of the email:
- [TO]
- The address to send email to.
- [FROM]
- The address of the sender.
- [SUBJECT]
- The subject of the email.
- [MESSAGE]
- The email message file.
The email configuration is based on the operating system that sends the email. The email is sent from the computer where the database server is located, not from the computer where OAT is installed.
These examples show how to configure the email program for UNIX, Linux, and Windows operating systems.
For a UNIX operating system, enter this command for the email configuration.
/bin/mailx -r [FROM] -s '[SUBJECT]' [TO] < [MESSAGE]
For example:
/bin/mailx -r from_name@some.company.com -s 'vox-test1' to_name@some.company.com < mfile1
For a Linux operating system, enter this command for the email configuration.
/bin/mailx -s '[SUBJECT]' [TO] -- -f [FROM] < [MESSAGE]
For example:
/bin/mailx -s 'vox-test1' to_name@some.company.com -- -f from_name@some.company.com < mfile1
For a Windows operating system, enter this command for the email configuration.
c:\Informix_directory\bin\ntmail -h [POPSERVER] -f [FROM] -s '[SUBJECT]' [TO] < [MESSAGE]
For example:
c:\usr\informix\bin\ntmail -h machinename.mycity.company.com -f from_name@some.company.com
-s 'vox-test1' to_name@some.company.com < mfile1