Xymon Mailing List Archive search

Add block of text below graph?

3 messages in this thread

list John Horne · Wed, 26 Mar 2014 12:59:28 +0000 ·
Hello,

We are using Xymon 4.3.12, and would like to graph some stats from our
(Shibboleth) authentication system - typically the number of users
authenticated etc.

However, is it possible to add a block of dynamic text below the graph
(below the axis label)? We would like a small table showing the top ten
sites that users have logged in to at that time. This could be plain
text, but could be an HTML table. Is that possible?


Thanks,

John.

-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK      Fax: +XX (X)XXXX XXXXXX
list Jeremy Laidman · Fri, 28 Mar 2014 15:09:21 +1100 ·
quoted from John Horne
On 26 March 2014 23:59, John Horne <user-e95f1ec2f147@xymon.invalid> wrote:
However, is it possible to add a block of dynamic text below the graph
(below the axis label)? We would like a small table showing the top ten
sites that users have logged in to at that time. This could be plain
text, but could be an HTML table. Is that possible?
It's open source, so anything is possible.  ;-)

Seeerously, though, all of the graph content is controlled by the graph
definition, which in turn tells rrdgraph how to make the graph.  So you can
put any text you like there (eg using COMMENT:text clause) and it will get
displayed.

But what you're trying to do requires dynamic text, which is a bit more of
a challenge.  So what you could do is to add "include my-graphs.cfg" at the
end of your graphs.cfg, and then you can dynamically re-create the
my-graphs.cfg file based on the data you want to include.

J
list John Horne · Mon, 31 Mar 2014 14:51:48 +0100 ·
quoted from John Horne
On Wed, 2014-03-26 at 12:59 +0000, John Horne wrote:
Hello,

We are using Xymon 4.3.12, and would like to graph some stats from our
(Shibboleth) authentication system - typically the number of users
authenticated etc.

However, is it possible to add a block of dynamic text below the graph
(below the axis label)? We would like a small table showing the top ten
sites that users have logged in to at that time. This could be plain
text, but could be an HTML table. Is that possible?
Forget this. We did it slightly differently - we had a separate script
produce an HTML table for the dynamic text. We then created a page with
links to the xymon graphs, and used iframes beneath that to link to the
table. It works well.
quoted from John Horne


John.

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