This Knowledgebase article provides information about how to test Alert Reporting and Email Sending via Neverfail Heartbeat.
When configuring the Alert system, it is recommended that users check the configuration with the "Test Alert Reporting" button after configuring the email host server, authentication, and address information. This will ensure that Administrators are aware that the system is functioning correctly and the mail system used for alerting is reachable.
- Configure the mail host, send mail address and authentication configuration via Neverfail Heartbeat Management Client System -> Configuration. Once complete, click on Apply .
- Go to the Alerts -> Configuration tab and check that the 'Testing Alert Reporting' boxes are selected.
- Via the Alerts -> Reporting tab press the Test Alert Reporting .
- Check the mail accounts for appropriate messages.
A mis-configured or unreachable mail system will prevent email alerts from being sent and a warning event will be generated in the Management Client Log Panel as shown below:
Importance : Warning
Type : Sending mail failed
Source : Primary (while active)
Unable to mail alert message Could not connect to SMTP host: 192.168.27.27, port: 25;
nested exception is:
java.net.NoRouteToHostException: No route to host: connect