Unfortunately, that is burned into hobbitd/do_alert.c as fixed and unconditional. You'd either have to modify the source and rebuild, or use a SCRIPT to get what your want (and the latter is probably an easier solution). -Alan
Everett, Vernon wrote:
Hi Henrik
Thanks for the reply. Yes, this is the default, and is set that way on our server. However, looking at my post again, I realise I did not adequately clarify what I was looking for.
When an alert goes out in an email, the subject is normally something like this Hobbit [70385] hostname:testname CRITICAL (RED) We want to be rid of the ACK-CODE in the subject, so we end up with something 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.
Regards Vernon
-----Original Message----- From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Thursday, 22 October 2009 4:20 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Alert mails with the Ack-Code
In <98C4017C3754A34C9D7F4AEC3FF648BA03436B4435 at permls101.wde.woodside.com.au> "Everett, Vernon" <Vernon.Everett at woodside.com.au> writes:
Is there an easy way to send alerts without the ACK-CODE? By "easy", I mean not hacking the source code, and not redirecting all mail= s through a custom script.
Um, yes - the bb-ack webpage does that, if you add "--no-pin" to CGI_ACK_OPTS in hobbitcgi.cfg.
But I think that's the default already.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk