Announcement

Collapse
No announcement yet.

Mail notification of service not sent using sendmailservices.pl

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

  • Mail notification of service not sent using sendmailservices.pl

    Hi


    Mail notification of service not sent, sendmailservices.pl.
    But my notification of host OK!! (using sendmailhost.pl)
    In the Nagios log showed no error.


    /var/log/nagios/nagios.log


    [1419969030] SERVICE NOTIFICATION: Ederson_Lima;HOST001;disc C;CRITICAL;notify-by-sendmailservices;CRITICAL - Socket timeout after 10 seconds


    Has anyone experienced this problem?


    Version Centreon 2.4.1

  • #2
    Hi,

    Did you look in /var/log/maillog ?

    Can you send us your command "notify-by-sendmailservices" ?

    Regards,

    Comment


    • #3
      Hi,

      Thanks for your attention.

      My command "notify-by-sendmailservices"

      $USER1$/sendmailservices.pl "$NOTIFICATIONTYPE$" "$SERVICEDESC$" "$HOSTALIAS$" "$HOSTADDRESS$" "$SERVICESTATE$" "$SHORTDATETIME$" "$SERVICEOUTPUT$" "$CONTACTEMAIL$"

      Regards,

      Comment


      • #4
        Hello,

        Can you try to execute the command manually replacing the macro $CONTACTEMAIL$ with a valid email address.

        Regards.
        /!\Pas de support en message privé - No support in private message/!\

        "Il se faut entraider, c'est la loi de la nature." © Jean de La Fontaine

        Comment


        • #5
          Bonjour,
          Je viens de tester ta syntaxe, meme problème, le service est arreté sur 70-646 le serveur et j'ai comme retour : OK: All service states are ok |
          Merci pour ton aide

          Comment

          Working...
          X