Xymon Mailing List Archive search

Bug in xymond/client/freebsd.c

5 messages in this thread

list Eddie Stassen · Wed, 3 Jul 2013 16:25:47 +0200 ·
Hi,

I just discovered this one - it prevents the CLOCK test in analysis.cfg
from working with freeBSD hosts.  Patch below:

--- freebsd.c.orig 2013-07-03 16:22:15.276935512 +0200
+++ freebsd.c 2013-07-03 16:22:36.208868573 +0200
@@ -47,7 +47,7 @@

  timestr = getdata("date");
  uptimestr = getdata("uptime");
- clockstr = getdata("clockstr");
+ clockstr = getdata("clock");
  msgcachestr = getdata("msgcache");
  whostr = getdata("who");
  psstr = getdata("ps");

Regards,
Eddie
list Japheth Cleaver · Wed, 3 Jul 2013 16:09:26 -0000 (UTC) ·
Yep, strange that it's the only one.

-jc
quoted from Eddie Stassen

Hi,

I just discovered this one - it prevents the CLOCK test in analysis.cfg
from working with freeBSD hosts.  Patch below:

--- freebsd.c.orig 2013-07-03 16:22:15.276935512 +0200
+++ freebsd.c 2013-07-03 16:22:36.208868573 +0200
@@ -47,7 +47,7 @@

  timestr = getdata("date");
  uptimestr = getdata("uptime");
- clockstr = getdata("clockstr");
+ clockstr = getdata("clock");
  msgcachestr = getdata("msgcache");
  whostr = getdata("who");
  psstr = getdata("ps");

Regards,
Eddie

list Mark Felder · Wed, 24 Jul 2013 08:02:58 -0500 ·
On Wed, 03 Jul 2013 09:25:47 -0500, Eddie Stassen <user-9497ef5cccae@xymon.invalid>  
quoted from Japheth Cleaver
wrote:
Hi,

I just discovered this one - it prevents the CLOCK test in analysis.cfg
from working with freeBSD hosts.  Patch below:

--- freebsd.c.orig 2013-07-03 16:22:15.276935512 +0200
+++ freebsd.c 2013-07-03 16:22:36.208868573 +0200
@@ -47,7 +47,7 @@

  timestr = getdata("date");
  uptimestr = getdata("uptime");
- clockstr = getdata("clockstr");
+ clockstr = getdata("clock");
  msgcachestr = getdata("msgcache");
  whostr = getdata("who");
  psstr = getdata("ps");

Regards,
Eddie
This patch isn't applied in 4.3.12, fyi
list Henrik Størner · Wed, 24 Jul 2013 16:50:56 +0200 ·
quoted from Mark Felder
On 24-07-2013 15:02, Mark Felder wrote:
On Wed, 03 Jul 2013 09:25:47 -0500, Eddie Stassen <user-9497ef5cccae@xymon.invalid>
wrote:
I just discovered this one - it prevents the CLOCK test in analysis.cfg
from working with freeBSD hosts.  Patch below:
Together with a couple of other patches from Mark, I currently have this 
update to the FreeBSD client.

If anyone else thinks some important patches are missing from 4.3.12, 
please speak up.


Regards,
Henrik
Attachments (1)
list Mark Felder · Wed, 24 Jul 2013 09:57:23 -0500 ·
quoted from Henrik Størner
On Wed, 24 Jul 2013 09:50:56 -0500, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
Together with a couple of other patches from Mark, I currently have this  update to the FreeBSD client.
If anyone else thinks some important patches are missing from 4.3.12,  please speak up.
The 4.3.12 release will be committed to ports today and the clock fix  *will* be applied if you compile xymon-client from ports.

I'm pleased that Henrik has accepted the patches upstream so we can clean  up the ports tree next release :-)