[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Is setting high importance on alert emails possible?
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Is setting high importance on alert emails possible?
- From: Ralph Mitchell <ralphmitchell (at) gmail.com>
- Date: Tue, 21 Dec 2010 11:46:14 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=K4OFqwP9jeLE/1/y76Za06e5jve9PfD2GZC6y6L9VX0=; b=o+mFQ44IabJ3yaz7INlMoZ6iZ9xHMeljv3FeU10nS78aklFkQPFbpFoOdG23W+v0ft RUcMKFEA2BYzCGUOWXF5XiPoNhzL3j7sBG8yJXcno8h5bKEvoppCPP3y2b1Op0+vLf/A wOleX0IJ6spehveKlXT4ySf0okhP7VnsYXbjQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wZvKq0+m9KFbABtn07AdSC30dF4r0KlOe8p573X/6XlYRZY291mlY2B7kovqJ7D1T+ NFcbv0fYtTE0BVJHY9qeUKJiP1lUVQR0n6FSx/KomXg9ZMgwRN09lc9bxQhD8t3x1ia9 HXHap0cEEhUwLyuxj6hnQZEv0qGB1w9RWaEAg=
- References: <3FDEC2F00C60124B992BE74B733B28A4012654F9D9E8 (at) EXDB03.orhs.org> <AANLkTikOd0HP6inDVGavfpnz4PK7g-R8a6Bg=GaqnqGf (at) mail.gmail.com>
There's an email header that needs to be inserted. Here's an example:
http://techonthenet.com/unix/high_priority.php
You'll need to change your alert config to use SCRIPT instead of MAIL, then
write a script to pick up the relevant info from the environment variables
listed in the xymon-alerts help page. You don't need to write everything to
a file, just use a big echo statement and pipe it through sendmail. The
blank line between the headers and the message body is important...
Ralph Mitchell
On Tue, Dec 21, 2010 at 10:15 AM, Josh Luthman
<josh (at) imaginenetworksllc.com>wrote:
> I think if it's available with the command Henrik made it would have
> been documented. If not documented, I'd count on it not existing.
>
> What you'll probably need to do is call upon your own script to send
> the email and you can change that with whatever mail command you use.
>
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
>
>
> On Tue, Dec 21, 2010 at 10:11 AM, Nordquist, Daniel
> <Daniel.Nordquist (at) orlandohealth.com> wrote:
> > Hey all, I doubt I can do this but maybe someone knows a trick…
> >
> >
> >
> > I’d like to be able to send email alerts with a high importance flag
> based
> > on the alert color and/or specific server or service that is down.
> >
> >
> >
> > Is there any way to do this? I’ve scoured the man pages but can’t find
> > anything.
> >
> >
> >
> > Thanks,
> >
> > Dan
> >
> >
> >
> > ________________________________
> > This e-mail message and any attached files are confidential and are
> intended
> > solely for the use of the addressee(s) named above. If you are not the
> > intended recipient, any review, use, or distribution of this e-mail
> message
> > and any attached files is strictly prohibited.
> >
> > This communication may contain material protected by Federal privacy
> > regulations, attorney-client work product, or other privileges. If you
> have
> > received this confidential communication in error, please notify the
> sender
> > immediately by reply e-mail message and permanently delete the original
> > message. To reply to our email administrator directly, send an email to:
> > postmaster (at) orlandohealth.com .
> >
> > If this e-mail message concerns a contract matter, be advised that no
> > employee or agent is authorized to conclude any binding agreement on
> behalf
> > of Orlando Health by e-mail without express written confirmation by an
> > officer of the corporation. Any views or opinions presented in this
> e-mail
> > are solely those of the author and do not necessarily represent those of
> > Orlando Health.
> >
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe (at) xymon.com
>
>
>