[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Xymon 4.3.0: Beta Problems
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Xymon 4.3.0: Beta Problems
- From: Henrik Størner <henrik (at) hswn.dk>
- Date: Wed, 11 Feb 2009 18:19:17 +0100
- References: <0362AE866EBF9B4B964BD6C9652E8D91FD1589 (at) kfmex22p.ud1.utility>
- User-agent: Mutt/1.5.18 (2008-05-17)
On Wed, Feb 11, 2009 at 03:06:11PM -0000, Chris.Morris (at) RWEsystemsUK.com wrote:
> Another problem found with the 4.3.0 Beta version on AIX is that vmstat
> has dropped the cpu wait value and does not store the value in the rrd.
Ran into this myself. It's a simple miscalculation, so the last
character of the data-message sent to the RRD module is truncated, and
this is usually the I/O wait number (if it is a single digit).
Patch attached. You'll need to restart Hobbit after this.
> Also I cannot find any documentation on how the "Compact" status feature
> is supposed to work!
The bb-host(5) man-page tells you:
COMPACT:COLUMN=COLUMN1,COLUMN2,COLUMN3[;ditto]
Collapses a series of statuses into a single
column on the overview webpage.
E.g. if you have columns foo, bar and baz that you want to collapse
into column "zork":
0.0.0.0 myhost # COMPACT:zork=foo,bar,baz
Regards,
Henrik
Index: hobbitd/hobbitd.c
===================================================================
--- hobbitd/hobbitd.c (revision 6105)
+++ hobbitd/hobbitd.c (revision 6112)
@@ -1312,7 +1312,7 @@
if (msg) buflen += strlen(msg); else dbgprintf(" msg is NULL\n");
if (classname) buflen += strlen(classname);
if (pagepath) buflen += strlen(pagepath);
- buflen += 4;
+ buflen += 6;
chnbuf = (char *)malloc(buflen);
snprintf(chnbuf, buflen, "%s|%s|%s|%s|%s\n%s",