Search found 3 matches

by xparrot
Fri Jul 13, 2012 12:43 pm
Forum: Nagios XI
Topic: $LONGSERVICEOUTPUT$ replacing newlines in emails
Replies: 4
Views: 2625

Re: $LONGSERVICEOUTPUT$ replacing newlines in emails

The "Allow HTML Tags" setting worked perfectly. Thank you so much Scott!
by xparrot
Thu Jul 12, 2012 4:12 pm
Forum: Nagios XI
Topic: $LONGSERVICEOUTPUT$ replacing newlines in emails
Replies: 4
Views: 2625

Re: $LONGSERVICEOUTPUT$ replacing newlines in emails

Thanks for the quick response. The <pre> tag did not work, but the <br> tags did work after I removed the the greater and and less than signs from the illegal_macro_output_chars setting in nagios.cfg. However, now in the nagios web interface I see the <br> tags on the screen. I guess I can live with...
by xparrot
Thu Jul 12, 2012 2:18 pm
Forum: Nagios XI
Topic: $LONGSERVICEOUTPUT$ replacing newlines in emails
Replies: 4
Views: 2625

$LONGSERVICEOUTPUT$ replacing newlines in emails

I created a custom plugin that returns multiple lines of output. I set up my email template to use the $LONGSERVICEOUTPUT$ to output the 2nd through n lines of output. But when the output is sent via an email alert, the email contains one big string of text with the newlines converted to "\n&qu...