Shawn
I can't comment on your alerts config, as I rarely use them, so I'm not
familiar with the syntax.
The (R) and (S) are alert codes. R means "recovered" and S means "stopped"
(matched a STOP rule).
I couldn't find the details in any documentation, but the source code
reveals all! There are other codes, and they would be listed in a code
string (not necessarily just a single character) separated by commas,
within the parentheses. Here's what the code says:
A = no alerts
R = recovered (alert has recovered from an alert state)
N = notice (matches NOTICE rule because message is a "notify" message)
S = stoprule (matches a rule with a STOP recipient)
U = unmatched
Hope that helps
On Thu, 29 Jul 2021 at 10:21, Shawn Heisey <user-5d0d01dba542@xymon.invalid> wrote:
In alerts.cfg, I have this:
HOST=* COLOR=red,purple SERVICE=msgs
MAIL $ADMINMAIL
HOST=* COLOR=red,purple
IGNORE SERVICE=msgs
MAIL $ADMINMAIL RECOVERED
My goal with this is to see alerts for purple and red statuses for all
tests, and then get recovery alerts for all tests except msgs. Did I do
the config right for that?
I would also like to see if I can get a legend for the alerting grid in
the "info" page. Here's a screenshot showing what the above config
produces:
https://www.dropbox.com/s/6wvutxctcn4uztf/xymon-alerts-elyograg.png?dl=0
I'd like to know what "(R)" and "(S)" mean, and what the line where the
email address is blue means.
Thanks,
Shawn