Hello,
I have a problem that when my service creates an HTML output
the email (using variable: (LONGSERVICEOUTPUT or SERVICEOUTPUT) does not get
HTML but it looks as it has been stripped of "<" and ">"
characters.
How can I get the original HTML text in the outgoing email ?
George Hrysanthopoulos
HTML in email variable
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: HTML in email variable
Is this specifically with email or with service status output in general? Try enabling HTML tags in Admin > Manage System Config.
Re: HTML in email variable
This is email specific. HTML tags have been enabled and all the Nagios alerts
look really nice when viewed.
I am reading the service output using variable:
(LONGSERVICEOUTPUT or SERVICEOUTPUT)
Is there another variable that has the original (HTML) output ?
-G
look really nice when viewed.
I am reading the service output using variable:
(LONGSERVICEOUTPUT or SERVICEOUTPUT)
Is there another variable that has the original (HTML) output ?
-G
Re: HTML in email variable
Are you using the XI notification handlers, or the old notify-*-by-email handlers for the contacts in question?
Can you give us an example of the output so that we can test it on our side?
Can you give us an example of the output so that we can test it on our side?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: HTML in email variable
I am using:
notify-service-by-email
notify-service-by-email
Re: HTML in email variable
Can you give us an example of the output so that we can test it on our side?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: HTML in email variable
Solution: Outlook/Sendmail/PHP combo weirdness.
Absolutely Nothing wrong with Nagios.
Apologies for opening in the first place.
Owe you guys a beer next time I see you!
Let's close ticket.
BTW, how do I use: "XI notification handlers" ?
-G
Absolutely Nothing wrong with Nagios.
Apologies for opening in the first place.
Owe you guys a beer next time I see you!
Let's close ticket.
BTW, how do I use: "XI notification handlers" ?
-G