[hobbit] Alert mails with the Ack-Code

Henrik Størner henrik at hswn.dk
Wed Nov 4 10:49:32 CET 2009


In <98C4017C3754A34C9D7F4AEC3FF648BA03436B443E at permls101.wde.woodside.com.au> "Everett, Vernon" <Vernon.Everett at woodside.com.au> 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




More information about the Xymon mailing list