Alerts showing \r\n

Hello all,

Today all my alert emails are showing \r\n at the end of every line. Anyway to fix this?

disregard resolved.

How did you fix that? I just removed the \r\n but was there a fix?

When you removed the \r\n did it work for?

yeah but was kind of a pain to remove from all templates

I understand. That’s what I was told to do on IRC. You may want to get on IRC and let @laf know that is happing to you also. I think there is a problem.

I recently installed librenms so I thought maybe something change previously.

Yeah there was an update

I think its just seeing everything as plain text. I tried to <img src " linl" > a graph but doesnt seem to work…

Looks like that the fix is just to remove \r\n and insert the new line.

What are you trying to graph?

Yes, the fix is just to remove the \r\n, they are not needed.

1 Like

I was hoping to email the graph from the incident

I know you can add a graph to an alert. but emailing one, in general, I’m not sure. Look at this thread at the bottom Email Alert Hostname

@Kevin_Krumm Thank You, ill check it out. Slightly off topic but do you know how to display database info in the alert email. Under Templates I see you can use %hostname or value.sensor_descr. Where is “value” coming from? Im trying to create my own custom email. If i use the default template it works but not the custom ones. Just trying to display info so I dont have to go to the librenms page while spot checking emails

That’s beyond me. I would start a new thread with that question.