Plain text email notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
chands
Posts: 12
Joined: Tue Nov 08, 2016 2:27 pm

Plain text email notifications

Post by chands »

Hello there

Nagios XI Version: 5.4.4
RHEL 7.2

Can anyone tell me what do I need do to send plain text emails by using "xi_service_notification_handler"
Currently the emails are coming out with <br> </br> html tags

Regards
Sasi
chands
Posts: 12
Joined: Tue Nov 08, 2016 2:27 pm

Re: Plain text email notifications

Post by chands »

Attaching a example
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Plain text email notifications

Post by mcapra »

You may find this article useful. It describes where to change the email templates that Nagios XI uses for notifications:
https://assets.nagios.com/downloads/nag ... iables.pdf

Though I'm not sure what ServiceNow would recognize as a carriage return if it's not correctly translating <br> tags. You might try \n since that's what this article seems to recommend:
https://docs.servicenow.com/bundle/ista ... reaks.html
Former Nagios employee
https://www.mcapra.com/
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Plain text email notifications

Post by cdienger »

Was mcapra's suggestion helpful? I also see that you have a ticket open for this. Would you like to lock this thread while you work with the tech assigned to the case?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
chands
Posts: 12
Joined: Tue Nov 08, 2016 2:27 pm

Re: Plain text email notifications

Post by chands »

Hello there

Thanks mcapra this wasn't much help.
Upto to how you want to handle it, basically I am looking for a quick answer as we are under the pump to deliver hence I have logged the call plus trying to use the forum

Kind Regards
Sasi
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Plain text email notifications

Post by dwhitfield »

Per ticket 2017071010000025, closing this thread.
Locked