Planned downtime - purple
list Torsten Richter
Hi,
about 2 years ago I asked Henrik about the planned downtime behaviour that
doesn't work for purple alerts and he told me that he wanted to change the
behaviour in 4.3.12.
But since the nothing happened.
So I am posting the patch for 4.3.19 and hope this time it gets added.
--- xymond.c.orig 2015-02-20 01:38:25.000000000 +0100
+++ xymond.c 2015-04-13 11:29:25.563999251 +0200
@@ -1244,7 +1244,7 @@
done:
if (colstr) {
- if ((*color == COL_RED) || (*color == COL_YELLOW)) {
+ if ((*color == COL_RED) || (*color == COL_YELLOW) || (*color ==
COL_PURPLE)) {
char *cause;
cause = check_downtime(hostname, testname);
Thanks
Torsten
list Mark Felder
▸
On Mon, Apr 13, 2015, at 04:45, user-c862b499d9fa@xymon.invalid wrote:
Hi,
about 2 years ago I asked Henrik about the planned downtime behaviour
that
doesn't work for purple alerts and he told me that he wanted to change
the
behaviour in 4.3.12.
But since the nothing happened.
So I am posting the patch for 4.3.19 and hope this time it gets added.
--- xymond.c.orig 2015-02-20 01:38:25.000000000 +0100
+++ xymond.c 2015-04-13 11:29:25.563999251 +0200
@@ -1244,7 +1244,7 @@
done:
if (colstr) {
- if ((*color == COL_RED) || (*color == COL_YELLOW)) {
+ if ((*color == COL_RED) || (*color == COL_YELLOW) ||
(*color ==
COL_PURPLE)) {
char *cause;
cause = check_downtime(hostname, testname);
Sorry to hear this patch was lost. I will forward it on to the xymon-dev list to make sure JC sees it.
list Torsten Richter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Mark, thanks for this. Cheers Torsten
▸
On 13.04.2015 17:08, Mark Felder wrote:On Mon, Apr 13, 2015, at 04:45, user-c862b499d9fa@xymon.invalid wrote:Hi, about 2 years ago I asked Henrik about the planned downtime behaviour that
doesn't work for purple alerts and he told me that he wanted to chang e
▸
the behaviour in 4.3.12. But since the nothing happened. So I am posting the patch for 4.3.19 and hope this time it gets added
.
--- xymond.c.orig 2015-02-20 01:38:25.000000000 +0100 +++ xymond.c 2015-04-13 11:29:25.563999251 +0200 @@ -1244,7 +1244,7 @@ done: if (colstr) { - if ((*color == COL_RED) || (*color == COL_YELLOW)) { + if ((*color == COL_RED) || (*color == COL_YELLOW) || (*color == COL_PURPLE)) { char *cause; cause = check_downtime(hostname, testname);
Sorry to hear this patch was lost. I will forward it on to the xymon-d ev list to make sure JC sees it.
- -- +---------------------------------------------------------+ | E-mail : user-c862b499d9fa@xymon.invalid | | | | Homepage: http://www.richter-it.net/ | +---------------------------------------------------------+ Download my public key from: http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEARECAAYFAlUr+pIACgkQ7DlmxomQk6zaJQCffHBAel6s/cBvxWpgnfL0CB42 qz4AoNWGMzxGN6pAltpWShl53RfaWE0S =Paft -----END PGP SIGNATURE-----