To enable email notifications in Nagios for CA Flowdock:

  1. Enable email notifications in your main configuration file located in /usr/local/nagios/etc/nagios.cfg by setting the variableenable_notifications=1.
  2. Define a new contact with your flow's email address in your contact object file (such as, /usr/local/nagios/etc/objects/contacts.cfg) and include the contact in a contact group:
    define contact{   
    contact_name  flowdock   
    host_notifications_enabled  1   
    service_notifications_enabled 1   
    host_notification_period  24×7   
    service_notification_period 24×7   
    host_notification_options d,u,r,f,s   
    service_notification_options  w,u,c,r,f,s   
    host_notification_commands  notify-host-by-email   
    service_notification_commands notify-service-by-email   
    To access your flow's email address, click the gear icon by your flow's name and select Settings.

  3. Nagios' default configuration should have the appropriate notification commands already set up. If note, define the following notification command in your command definition file (such as, /usr/local/nagios/etc/objects/commands.cfg):
    define command{   
    command_name  notify-host-by-email   
    command_line  /usr/bin/printf "%b" "***** Nagios *****\n\n       
    Notification Type: $NOTIFICATIONTYPE$\n       
    Host: $HOSTNAME$\nState: $HOSTSTATE$\n       
    Address: $HOSTADDRESS$\n       
    Date/Time: $LONGDATETIME$\n" | @MAIL_PROG@ -s "** $NOTIFICATIONTYPE$       
    Host Alert: $HOSTNAME$ is $HOSTSTATE$ **"       

Nagios will now send notifications about problems in your infrastructure to your flow.


Need more help? The CA Agile Central Community is your one-stop shop for self-service and support. To submit feedback or cases to CA Agile Central Support, find answers, and collaborate with others, please join us in the CA Agile Central Community.