Add block of text below graph?
list John Horne
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
▸
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
▸
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.
▸
John.
--
John Horne Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK Fax: +XX (X)XXXX XXXXXX