[Xymon] Double combo's - returning -1 - xymon 4.3.3

Jeremy Laidman jlaidman at rebel-it.com.au
Thu Sep 15 07:03:12 CEST 2011


This patch works for me:

--- combostatus.c.orig  2011-08-01 07:01:52.000000000 +1000
+++ combostatus.c       2011-09-15 14:57:00.000000000 +1000
@@ -309,6 +309,10 @@
                                tname = gettname(symbol);
                                if (hname && tname) {
                                        oneval = getvalue(gethname(symbol),
gettname(symbol), &onecolor, errbuf);
+                                       if (oneval == -1) {
+                                               dbgprintf("Forward lookup of
'%s.%s' pending for '%s'\n", hname, tname, symbolicexpr);
+                                               return -1;
+                                       }
                                }
                                else {
                                        errprintf("Invalid data for symbol
calculation - missing host/testname: %s\n",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110915/67f0a5a6/attachment.html>


More information about the Xymon mailing list