[hobbit] Bug or Undesired behavior on restart - Xymon 4.2.3
Clark, Sean
sean.clark at twcable.com
Fri Jun 11 16:24:28 CEST 2010
It's an escalation - if it's been in alert state for > 20 minutes, page engineer, unless it's been ack'd
This worked well for us with bb btf, but with hobbit, it works well unless you restart - like I said on restart, it act's like none of the alerts have been ack'd and instantly hitting all rules, instead of realizing that it was in an ack state, and none of the scripts need to be run
-Sean
-----Original Message-----
From: Josh Luthman [mailto:josh at imaginenetworksllc.com]
Sent: Thursday, June 10, 2010 4:49 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Bug or Undesired behavior on restart - Xymon 4.2.3
Are you expecting engineer to be emailed when noc isn't? Is the
problem that engineer isn't being notified?
If so can you click the "info" icon for one of the hosts? You should
see both email addresses. Obviously the problem is with the second
SCRIPT or the collision of two SCRIPT commands. Has anyone tested to
see if the second one is ever interpreted?
You may want to try this:
#begin
PAGE=%foodev/foocmt
SCRIPT=/sw/xymon/server/scripts/briefEmailRegularImportance
noc at foo.com REPEAT=60 COLOR=red RECOVERED
PAGE=%foodev/foocmt
SCRIPT=/sw/xymon/server/scripts/FullEmailRegularImportance
engineer at foo.com DURATION>20 REPEAT=60
#end
I can say this works for 100% certainty:
HOST=%.*\.imaginenetworksllc\.com
MAIL 1231231234 at txt.att.net COLOR=RED DURATION>2m REPEAT=60
RECOVERED FORMAT=SMS
HOST=*
MAIL josh at imaginenetworksllc.com COLOR=RED DURATION>2m REPEAT=60 RECOVERED
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
"Success is not final, failure is not fatal: it is the courage to
continue that counts."
--- Winston Churchill
On Thu, Jun 10, 2010 at 4:32 PM, Clark, Sean <sean.clark at twcable.com> wrote:
> I have come across a funny issue, and am wondering if it's a bug - it certainly doesn't seem to be the desired behavior, and I wonder if anyone can help me with it.
>
>
> Here is the scenario
>
> I have a device that is configured in hobbit-alerts.cfg like this:
>
> PAGE=%foodev/foocmt
> SCRIPT=/sw/xymon/server/scripts/briefEmailRegularImportance noc at foo.com REPEAT=60 COLOR=red RECOVERED
> SCRIPT=/sw/xymon/server/scripts/FullEmailRegularImportance engineer at foo.com DURATION>20 REPEAT=60
>
>
>
> It turns red, and calls the first script
>
> The person who got the first email sends a hobbitdack with the proper cookie for the test/pair and it all is well
>
> 2 hours pass - it has not called the second line, because it is "ack'd"
>
>
> I restart Xymon -- it loads the hobbitdboard from the .chk file, that host/test pair has same cookie, same ack message BUT - it instantly calls both scripts as soon as it comes online - even thought it had been "acked"
>
> Has anyone seen this/found a workaround/know what I mean?
>
>
> -Sean
>
> This E-mail and any of its attachments may contain Time Warner
> Cable proprietary information, which is privileged, confidential,
> or subject to copyright belonging to Time Warner Cable. This E-mail
> is intended solely for the use of the individual or entity to which
> it is addressed. If you are not the intended recipient of this
> E-mail, you are hereby notified that any dissemination,
> distribution, copying, or action taken in relation to the contents
> of and attachments to this E-mail is strictly prohibited and may be
> unlawful. If you have received this E-mail in error, please notify
> the sender immediately and permanently delete the original and any
> copy of this E-mail and any printout.
>
>
> 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
This E-mail and any of its attachments may contain Time Warner
Cable proprietary information, which is privileged, confidential,
or subject to copyright belonging to Time Warner Cable. This E-mail
is intended solely for the use of the individual or entity to which
it is addressed. If you are not the intended recipient of this
E-mail, you are hereby notified that any dissemination,
distribution, copying, or action taken in relation to the contents
of and attachments to this E-mail is strictly prohibited and may be
unlawful. If you have received this E-mail in error, please notify
the sender immediately and permanently delete the original and any
copy of this E-mail and any printout.
More information about the Xymon
mailing list