Xymon Mailing List Archive search

Alert mails with the Ack-Code

list Henrik Størner
Wed, 4 Nov 2009 09:49:32 +0000 (UTC)
Message-Id: <hcrinc$m8l$user-e356fad9864f@xymon.invalid>

In <user-f83ecc7e1da9@xymon.invalid> "Everett, Vernon" <user-9da1a1882f49@xymon.invalid> writes:
When an alert goes out in an email, the subject is normally something like =
this
Hobbit [70385] hostname:testname CRITICAL (RED)=20
We want to be rid of the ACK-CODE in the subject, so we end up with somethi=
ng like this
Hobbit hostname:testname CRITICAL (RED)
(I am assuming that is the ACK-CODE?)
I know I can simply parse or recreate the alerts using a custom script, but=
I was hoping for something a little more elegant, and hopefully simpler.
I'm afraid the subject-contents is hardcoded into the Xymon alert module.
(It's in hobbitd/do_alert.c, the "message_subject()" routine, in case you
would like to tweak it yourself).


Regards,
Henrik