Xymon Mailing List Archive search

New source code and report script

3 messages in this thread

list Etienne Marganne · Thu, 8 Feb 2007 13:30:44 +0100 ·
Hello all,

 
We finally resolved our problem with the bbgen crash and modified the source
code of Hobbit. Anyone interested can it ask me, I will send with no delay.

 
Thus week I also get a little perl script to get the information from the
availability report spreadsheet. Here also, any people interested can it to
me. The usage is quiet simple:

3 arguments, first one is a threshold which will lead to select only the
entries lower than it.

                    Second one is a filter on the tests (you put "all") to
select all them.

                    Third one is a filter on the hosts (here also you can
put a "all") to select all of them. (Useful if you have some order or
hierarchy in your name convention, it does not

                    handle reg-ex however).

 
My e-mail address for convenient use: user-b63c96159c04@xymon.invalid

 
Etienne Marganne

TI Automotive.


The information contained in this transmission may contain privileged and confidential information.  It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
list Henrik Størner · Fri, 9 Feb 2007 10:56:39 +0100 ·
quoted from Etienne Marganne
On Thu, Feb 08, 2007 at 01:30:44PM +0100, Marganne, Etienne wrote:
We finally resolved our problem with the bbgen crash and modified the source
code of Hobbit. Anyone interested can it ask me, I will send with no delay.
OK, based on your modification I found a possible cause for this - it's
always easier to spot problems when you know how they can be fixed :-)

This patch is different from your solution, but should also solve the
problem.


Regards,
Henrik

-------------- next part --------------
--- bbdisplay/loadbbhosts.c	2006/10/03 10:48:09	1.47
+++ bbdisplay/loadbbhosts.c	2007/02/09 09:46:46
@@ -109,7 +109,7 @@
 	}
 
 	xfree(set);
-	return ((strlen(result) > 0) ? result : NULL);
+	return result;	/* This may be an empty string */
 }
 
 bbgen_page_t *init_page(char *name, char *title)
list Etienne Marganne · Fri, 9 Feb 2007 13:01:43 +0100 ·
I will look at this later. But thanks anyway.

Regards
Etienne.
quoted from Henrik Størner

-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: vendredi 9 février 2007 10:57
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] New source code and report script

On Thu, Feb 08, 2007 at 01:30:44PM +0100, Marganne, Etienne wrote:
We finally resolved our problem with the bbgen crash and modified the
source
code of Hobbit. Anyone interested can it ask me, I will send with no
delay.
OK, based on your modification I found a possible cause for this - it's
always easier to spot problems when you know how they can be fixed :-)

This patch is different from your solution, but should also solve the
problem.


Regards,
Henrik


The information contained in this transmission may contain privileged and confidential information.  It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.