4 May
2022
4 May
'22
11:22 a.m.
Hello fellow xymoners,
I have recently setup monitoring of the existence of files in a particular directory, and this seems to be working well. When I setup an alert for a "red" condition, I receive an email message with what appears to be some html tags within it, eg:
&red <a href="/xymon-cgi/svcstatus.sh?CLIENT=myserver.com&SECTION=file:/path/to/myfile">/path/to/myfile</a>
File is a - should be file
I have tried setting the alert "FORMAT" to TEXT, PLAIN and SMS, but this doesn't seem to have any effect. I have also tried sending the alert through the html_mail.pl extension scripts, and this doesn't seem to have any effect either. All I really want is a plain text message, which is easy to read. Does anyone know how I could clean this up?
Example Alert Config: HOST=myserver.com MAIL alerts at someone.who.cares.com REPEAT=240m COLOR=red FORMAT=TEXT
Regards, Jonathan