Announcement

Collapse
No announcement yet.

two mail alert for one problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • two mail alert for one problem

    Hi Team,

    I have configured Centreon 2.0.2 and Nagios version 3.0.6.

    one mail subject is Centreon Notification and another is FAN notification.

    Can I have only one mail per alert or issue with more details?

  • #2
    How many notification command do you have for your contacts in Centreon ?

    You must have just one command for host notification and one for service notification for each contact.
    Centreon Syslog Module Manager/Developper
    Centreon E2S Module Manager/Developper
    Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
    Nagios 3.x et NDOutil 1.x

    Comment


    • #3
      two mail alert for one problem

      my centreon contacts.cfg file, please suggest changes to received only one mail either from Nagios or FAN


      ################################################## #################
      # #
      # GENERATED BY CENTREON #
      # #
      # Developped by : #
      # - Julien Mathis #
      # - Romain Le Merlus #
      # #
      # www.centreon.com #
      # For information : [email protected] #
      ################################################## #################
      # #
      # Last modification July 9, 2010, 6:35 pm #
      # By nagiosadmin_nagiosadmin #
      # #
      ################################################## #################
      define contact{
      contact_name DATA_OPS
      alias dataops
      contactgroups Supervisors
      host_notification_period 24x7
      service_notification_period workhours
      host_notification_options d,u,r,f,s
      service_notification_options w,u,c,r,f
      host_notification_commands host-notify-by-email
      service_notification_commands notify-by-email
      email [email protected]
      }
      define contact{
      contact_name Guest
      alias guest
      contactgroups Guest
      host_notification_period 24x7
      service_notification_period 24x7
      host_notification_options n
      service_notification_options n
      host_notification_commands host-notify-by-email
      service_notification_commands notify-by-email
      email [email protected]st
      }
      define contact{
      contact_name nagiosadmin_nagiosadmin
      alias nagiosadmin
      host_notification_period 24x7
      service_notification_period 24x7
      host_notification_options d,u,r
      service_notification_options w,u,c
      host_notification_commands host-notify-by-email, host-notify-by-sendmailhost, notify-by-email
      service_notification_commands host-notify-by-email, notify-by-sendmailservices
      email [email protected]
      }
      define contact{
      contact_name Supervisor
      alias admin
      contactgroups INOC, Supervisors
      host_notification_period 24x7
      service_notification_period 24x7
      host_notification_options n
      service_notification_options n
      host_notification_commands host-notify-by-email
      service_notification_commands notify-by-email
      email [email protected]
      }
      define contact{
      contact_name Supervisor_1
      alias admin_1
      contactgroups Supervisors
      host_notification_period 24x7
      service_notification_period 24x7
      host_notification_options n
      service_notification_options n
      host_notification_commands host-notify-by-email
      service_notification_commands notify-by-email
      email [email protected]
      }
      define contact{
      contact_name CNOC
      alias cnoc
      contactgroups Supervisors
      host_notification_period 24x7
      service_notification_period 24x7
      host_notification_options d,u,r,f,s
      service_notification_options w,u,c,r,f,s
      host_notification_commands host-notify-by-email
      service_notification_commands host-notify-by-email
      email [email protected]
      }
      define contact{
      contact_name NOC
      alias ipnoc
      contactgroups Supervisors
      host_notification_period 24x7
      service_notification_period 24x7
      host_notification_options d,u,r,f,s
      service_notification_options w,u,c,r,f,s
      host_notification_commands host-notify-by-email, notify-by-email
      service_notification_commands host-notify-by-email, host-notify-by-sendmailhost
      email [email protected]
      }
      define contact{
      contact_name User
      alias user
      contactgroups Guest
      host_notification_period 24x7
      service_notification_period 24x7
      host_notification_options n
      service_notification_options n
      host_notification_commands host-notify-by-email
      service_notification_commands notify-by-email
      email [email protected]
      }

      Comment


      • #4
        How many command do you have for host AND service notification here:
        Code:
        define contact{
        contact_name nagiosadmin_nagiosadmin
        alias nagiosadmin
        host_notification_period 24x7
        service_notification_period 24x7
        host_notification_options d,u,r
        service_notification_options w,u,c
        host_notification_commands host-notify-by-email, host-notify-by-sendmailhost, notify-by-email
        service_notification_commands host-notify-by-email, notify-by-sendmailservices
        email [email protected]
        }
        you must have ONLY ONE for service notification command and ONLY ONE for host notification command.

        Please change it, generate new configuration, export files and restart Nagios.
        Centreon Syslog Module Manager/Developper
        Centreon E2S Module Manager/Developper
        Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
        Nagios 3.x et NDOutil 1.x

        Comment


        • #5
          thanks, buddy, it works.

          Comment

          Working...
          X