Xymon Mailing List Archive search

Bug? - files test but no graphs?

3 messages in this thread

list John Horne · Mon, 19 Mar 2012 16:41:02 +0000 ·
Hello,

I noticed that the 'files' test shows a small icon near the bottom
centre of the web page. This is in fact the 'zoom' icon usually
associated with a graph. However, the 'files' test does not seem to
produce a graph (on my test system anyway). The demo Xymon server at
xymon.net also shows this problem (e.g. at
http://xymon.net/xymon-cgi/svcstatus.sh?HOST=jorn.hswn.dk&SERVICE=files
The icon is just under the 'Client data available' text.)

My first question is should the 'files' test be producing some sort of
graph?

It seems that by default the TEST2RRD and GRAPHS variables in
xymonserver.cfg contain the 'files' test name, and so Xymon expects
there to be some sort of graph. Taking out the 'files' entry from these
variables, and the little icon disappears :-) So possibly this is a bug
in xymonserver.cfg as supplied in the source code.


John.

-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK      Fax: +XX (X)XXXX XXXXXX
list John Horne · Mon, 19 Mar 2012 17:21:26 +0000 ·
quoted from John Horne
On Mon, 2012-03-19 at 16:41 +0000, John Horne wrote:
Hello,

I noticed that the 'files' test shows a small icon near the bottom
centre of the web page. This is in fact the 'zoom' icon usually
associated with a graph. However, the 'files' test does not seem to
produce a graph (on my test system anyway). The demo Xymon server at
xymon.net also shows this problem (e.g. at
http://xymon.net/xymon-cgi/svcstatus.sh?HOST=jorn.hswn.dk&SERVICE=files
The icon is just under the 'Client data available' text.)
I see that the 'procs' test does the same thing. Again, no idea if a
graph is supposed to be produced, but removing the 'procs' name from
TEST2RRD and GRAPHS causes the icon to disappear.
quoted from John Horne


John.

-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK      Fax: +XX (X)XXXX XXXXXX
list John Horne · Tue, 20 Mar 2012 15:45:53 +0000 ·
quoted from John Horne
On Mon, 2012-03-19 at 16:41 +0000, John Horne wrote:
My first question is should the 'files' test be producing some sort of
graph?
Yes it can do.
quoted from John Horne
It seems that by default the TEST2RRD and GRAPHS variables in
xymonserver.cfg contain the 'files' test name, and so Xymon expects
there to be some sort of graph. Taking out the 'files' entry from these
variables, and the little icon disappears :-) So possibly this is a bug
in xymonserver.cfg as supplied in the source code.
It's not a bug.

The TRACK option in the analysis.cfg file can be used to cause graphs to
be produced for tests such as 'files' and 'procs'.

To display the icon only when graphs exist will require a bit more work.
quoted from John Horne


John.

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