Troubleshooting

Email and SNMP notifications

The Notify feature allows you to receive email alerts or SNMP traps whenever there is a change in status for any server configured on the load balancer (L4 or L7 layer) or VRRP status.

Receive email alerts Jump to heading

  1. In the web UI, select the Services tab.

  2. Browse to the line notify and click on setup to display a configuration page.

  3. Specify the IP address for the SMTP server using the keyword smtp_server.

  4. Specify the origin’s email address using the keyword smtp_from.

  5. Specify the destination’s email address using the keyword smtp_to.

  6. Optional: specify the FQDN to give to the server using the keyword smtp_helo.

    notify configuration
    service notify ########## The notification service # smtp_server <ip>: smtp server address # smtp_helo <fqdn>: presented localhost fqdn (optional) # smtp_from <mail>: mail from address # smtp_to <mail>: mail recipient address # snmp_server <ip>: snmp server address # snmp_community <text>: snmp community (default: public) #------------ smtp_server 192.168.68.121 smtp_from aloha@mydomain smtp_to admin@mydomain
    notify configuration
    service notify ########## The notification service # smtp_server <ip>: smtp server address # smtp_helo <fqdn>: presented localhost fqdn (optional) # smtp_from <mail>: mail from address # smtp_to <mail>: mail recipient address # snmp_server <ip>: snmp server address # snmp_community <text>: snmp community (default: public) #------------ smtp_server 192.168.68.121 smtp_from aloha@mydomain smtp_to admin@mydomain
  7. Delete the line no autostart to enable the service to start automatically when the machine boots.

  8. Click OK and Close to return to the Services tab.

  9. On the line notify, click restart to restart.

  10. To make your changes persistent after a reboot, click the Setup tab. Then click Save under Configuration.

Set up SNMP traps Jump to heading

  1. In the web UI, select the Services tab.

  2. Browse to the line notify and click on the setup icon to display a configuration page.

  3. Using the keyword snmp_server, specify the IP address for the SNMP server that will receive the SNMP trap.

  4. Using the keyword snmp_community, specify the SNMP community string set on the remote SNMP server.

    notify configuration
    service notify ########## The notification service # smtp_server <ip>: smtp server address # smtp_helo <fqdn>: presented localhost fqdn (optional) # smtp_from <mail>: mail from address # smtp_to <mail>: mail recipient address # snmp_server <ip>: snmp server address # snmp_community <text>: snmp community (default: public) #------------ snmp_server 192.168.68.120 snmp_community public
    notify configuration
    service notify ########## The notification service # smtp_server <ip>: smtp server address # smtp_helo <fqdn>: presented localhost fqdn (optional) # smtp_from <mail>: mail from address # smtp_to <mail>: mail recipient address # snmp_server <ip>: snmp server address # snmp_community <text>: snmp community (default: public) #------------ snmp_server 192.168.68.120 snmp_community public
  5. Delete the line no autostart to enable the service to start automatically when the machine boots.

  6. Click OK and Close to return to the Services tab.

  7. On the line notify, click restart to restart.

  8. To make your changes persistent after a reboot, click the Setup tab. Then click Save under Configuration.

Do you have any suggestions on how we can improve the content of this page?