Discussion:
[Monitorix-general] Link to individual graphs only?
Thomas Trepper
2014-05-28 07:42:31 UTC
Permalink
Hi all,

I was wondering if it would be possible to „link“ to individual graphs, e.g. the MySQL graph only to include/embedd this one only into a custom admin dashboard?

Thanks in advance,

Thomas
Jordi Sanfeliu
2014-05-28 08:40:48 UTC
Permalink
Hi Thomas,

You can get an individual graph just using the same URL from the
statistics page:

Loading Image...
Loading Image...
Loading Image...
Loading Image...
Loading Image...
Loading Image...

In order to make sure that you are getting updated graphs you must
execute the cgi either using a browser:

http://www.fibranet.cat/monitorix-cgi/monitorix.cgi?mode=localhost&graph=_mysql1&when=1day&color=black

or directly from the command line:

# (cd /var/lib/monitorix/www/cgi ; ./monitorix.cgi mode=localhost
graph=_mysql1 when=1day color=black)

Regards.
Post by Thomas Trepper
Hi all,
I was wondering if it would be possible to „link“ to individual graphs, e.g. the MySQL graph only to include/embedd this one only into a custom admin dashboard?
Thanks in advance,
Thomas
--
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat
Loading...