Xymon Mailing List Archive search

Release candidate of Hobbit 4.0.5 ready

list Sven de Vilder
Tue, 19 Jul 2005 18:37:55 +0200
Message-Id: <user-99b89e6e8680@xymon.invalid>

Hi Henrik,

I see that the last patch I submitted wasn't present in this release. The problem is that nodisp hosts are not seen on alternative pagesets (on which they should be seen).

Below is the patch that i use for now :

--- loadbbhosts.c.orig  2005-06-01 11:44:09.000000000 +0200
+++ loadbbhosts.c       2005-07-19 18:19:43.126589488 +0200
@@ -603,8 +603,6 @@
                                 continue;
                         }

-                       /* Check for no-display hosts - they are ignored. */
-                       if (bbh_item(bbhost, BBH_FLAG_NODISP) != NULL) continue;

                         for (targetpagecount=0; (targetpagecount < MAX_TARGETPAGES_PER_HOST); targetpagecount++)
                                 targetpagelist[targetpagecount] = NULL;
@@ -647,6 +645,8 @@
                         }

                         if (strlen(pgset) == 0) {
+                               /* Check for no-display hosts - they are ignored. */
+                               if (bbh_item(bbhost, BBH_FLAG_NODISP) != NULL) continue;
                                 /*
                                  * Default pageset generated. Put the host into
                                  * whatever group or page is current.


Thanks,

Sven