[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Alert mails with the Ack-Code
- To: "'hobbit (at) hswn.dk'" <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Alert mails with the Ack-Code
- From: "Everett, Vernon" <Vernon.Everett (at) woodside.com.au>
- Date: Fri, 30 Oct 2009 16:59:08 +0800
- Accept-language: en-US, en-AU
- Acceptlanguage: en-US, en-AU
- Thread-index: AcpWfdy3dA+Z/xq5S1iUnDDscIK8jQCwM1Og
- Thread-topic: [hobbit] Alert mails with the Ack-Code
Just to make my life a misery, we have had a change of heart.
After explaining what the Ack-Code is, people have decided they like it, but want the corresponding Ack-Code to appear on the recovered message subject line.
Any easy way to do that?
I have meddled with the scripts, an removing the Ack-Code was far simpler than I thought (Script available for those who want it)
But the Ack-Code is -1 on a recovered message.
Regards
Vernon
-----Original Message-----
From: Alan Sparks [mailto:asparks (at) doublesparks.net]
Sent: Tuesday, 27 October 2009 4:48 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Alert mails with the Ack-Code
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
>
>
>
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.