Xymon Mailing List Archive search

Planned downtime - purple

list Torsten Richter
Mon, 13 Apr 2015 11:45:19 +0200 (CEST)
Message-Id: <user-3f3e53c00439@xymon.invalid>

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