Hello,
I would like to implement Downtime alerting when a downtime is scheduled.
In our environment, we are working on an European level together.
Therefore, for some devices, we need to inform colleagues and third party
connections about a planned downtime. EG. if a VPN Router will not be
available for a while...
I'm thinking about an EXT Script to do downtime alerting right when the
planned downtime is scheduled.
It's like:
- Check scheduled Task list for entries
- Check internal file, if already informed
- Run against each entry in Task list, if not already informed
- Send eMail to receipt following alerting rules looking for "NOTICE" and
"NOALERT"
- Cleanup internal file for not valid entries (comparing the scheduled Task
list)
- If a not valid entry with date in future exists, send Alert to inform
about cancelled downtime
- Delete not valid entry
- Add new informed device and planned Downtime to internal file
- Exit
For a perl/bash scripting guy, this will be an easy task, however, I've
written my last perl Script in 2003... :-(, because most devices running MS
and I script more VBScripts...
Has anybody any hint for me?
mit freundlichen Grüßen - Best regards
Met vriendelijke groeten - Sincères salutations,
Oliver Grube
geoff.hallford at gm
ail.com
To
2007-04-25 01:43 user-ae9b8668bcde@xymon.invalid
cc
Please respond to Subject
user-ae9b8668bcde@xymon.invalid Re: [hobbit] Downtime Alerting #2
I could be wrong as well but I am using NOTICE and it doesn't seem to
trigger for a 'scheduled' disable. It only triggers if the enable/disable
is scheduled for 'now'.
It would definitely be helpful if it did though.
On 4/24/07, user-762ee872a5a4@xymon.invalid <user-762ee872a5a4@xymon.invalid> wrote:
Hi Oliver,
Maybe I don't understand fully but can't you use the NOTICE rule
in the hobbit-alerts.cfg file to send an email? I've seen this
thread http://www.hswn.dk/hobbiton/2005/03/msg00282.html
Again if I'm off-base let me know
-Grs-
Gregory R Shea
EMC Corporation
-----Original Message-----
From: user-f10fe95e937b@xymon.invalid [mailto:
user-f10fe95e937b@xymon.invalid ]
Sent: Tuesday, April 24, 2007 9:05 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Downtime Alerting #2
Hello Hobbits,
my last post was perhaps simply overseen, because I can't believe,
that
nobody knows something about my question. Or did I miss a chapter in
the
Manual?
By using the "info" Column you can easily disable a System for a
planned
downtime. However, I would like to inform a group a people about this
automatically by sending an eMail directly, when the Downtime is
scheduled.
Is there a way to do so?
And is there a general way, to change the Look & Text of an Alert
eMail?
mit freundlichen Grüßen - Best regards
Met vriendelijke groeten - Sincères salutations,
Oliver Grube
EU Security&Controls Manager
Campbell's Germany
Geninerstr. 88-100
23560 Luebeck
Tel.: +XX XXX/ XXXX-XXX
Fax: +XX XXX/ XXXX-XXX
**********************************************************************
This e-mail and any files transmitted with it may contain
confidential information and is intended solely for use by
the individual to whom it is addressed. If you received
this e-mail in error, please notify the sender, do not
disclose its contents to others and delete it from your
system.
**********************************************************************
--
'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson
**********************************************************************
This e-mail and any files transmitted with it may contain
confidential information and is intended solely for use by
the individual to whom it is addressed. If you received
this e-mail in error, please notify the sender, do not
disclose its contents to others and delete it from your
system.
**********************************************************************