Xymon Mailing List Archive search

Bug - xymon man page shows data parameter incorrectly

3 messages in this thread

list John Horne · Fri, 20 Apr 2012 17:10:12 +0100 ·
Hello,

In Xymon 4.3.7 the 'xymon(1)' man page shows for the 'data' message type
the arguments as:

    data HOSTNAME.DATANAME<newline><additional text>

As far as I can tell this should be 'HOSTNAME.TESTNAME'.

Attached are two patches to fix this (one for the 'man' page, the other
for the HTML version). Both are just one-line patches.


John.


-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK      Fax: +XX (X)XXXX XXXXXX
list Henrik Størner · Fri, 20 Apr 2012 22:56:18 +0200 ·
quoted from John Horne
On 20-04-2012 18:10, John Horne wrote:
Hello,

In Xymon 4.3.7 the 'xymon(1)' man page shows for the 'data' message type
the arguments as:

     data HOSTNAME.DATANAME<newline><additional text>

As far as I can tell this should be 'HOSTNAME.TESTNAME'.
I don't think so. The difference between a "status" and a "data" message is precisely that a data-message does not result in any test-status column appearing on the Xymon display, so "DATANAME" is just that - an identifier for the type of data inside the data-message. It could be the output from some test - but if you test something, don't you want it to show up as a status on the webpage ? And if so, then you would use a "status" message instead of "data".

"data" messages are commonly used for e.g. performance metrics like network traffic counters, various data from "vmstat" and so on. I wouldn't think of those as "tests" - they're just data.

So I think that calling it a "testname" would be misleading.


Regards,
Henrik
list John Horne · Sat, 21 Apr 2012 00:05:11 +0100 ·
quoted from Henrik Størner
On Fri, 2012-04-20 at 22:56 +0200, Henrik Størner wrote:
On 20-04-2012 18:10, John Horne wrote:
Hello,

In Xymon 4.3.7 the 'xymon(1)' man page shows for the 'data' message type
the arguments as:

     data HOSTNAME.DATANAME<newline><additional text>

As far as I can tell this should be 'HOSTNAME.TESTNAME'.
I don't think so.
Rats! I knew I should have asked first. I just couldn't tell if it was
deliberate or a typo :-)

Thanks for the explanation.


John.

-- 
John Horne, Plymouth University, UK
Tel: +XX (X)XXXX XXXXXX    Fax: +XX (X)XXXX XXXXXX