Skip to main content

 

Hi,

I'm having trouble with email notifications. Whenever I receive a notification email, the content is incomplete, with missing information like the service type, state, or other important details.

 

Here's an example:

***** Centreon Notification *****

Notification Type: PROBLEM

Service:

Host: Jobtura

Address: 10.120.0.68

State:

Date/Time: 03-04-2023 Additional Info :

 

I've looked through the entire Centreon forum, but I couldn't find a solution to this problem. Could someone please help me resolve this issue?

Your assistance in this matter would be greatly appreciated.

 

Hello,

 

the template for mail notiofication is here : 

The template is named : service-notify-by-email

 

My template (Maybe the default one) : 

 

/usr/bin/printf "%b" "***** centreon Notification *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATE$ Additional Info : $SERVICEOUTPUT$" | @MAILER@ -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$

 

Regards


Thanks for the response, I just checked. I have exactly the same content in the template, but still having the issue.


Did you check if the variables are available in the dropdown list when editing the notification template ?

 

 

Maybe you have a typo in the template .

 

Do you have the problem with Host notification or only service notification ?

 


All variables are available, and the issue is mostly for service notification.

Strangely, the issue happens randomly, sometimes the notification content is missing and sometimes full content is there for the same service. I'm not able to figure out what is causing this strange problem of receiving notification email with incomplete content and missing information like the service type, state, or other important details.


 

Dear all,

I am in need of immediate assistance regarding this particular topic. Despite my full attempts to resolve the issue, the problem still persists, and I continue to receive email notifications that lack important details.

I humbly request the community to share their expertise and provide a solution to this problem.

Thank you for your time and consideration.

Sincerely,

Nawab

 


HI @mmnawab don’t you link a service notification command to a host?


Reply