layout | title | breadcrumb | ||
---|---|---|---|---|
docs |
Graph Exporting |
|
Thruk offers an interface to export 3rd party performance graphs via a single url. It supports Grafana only right now.
The export is possible with the …/extinfo.cgi?type=grafana&options_see_below…
url.
-
host
: Hostname to export. -
service
: Service description to export. Leave empty for host graphs. -
format
: Can be eitherpng
(default) orbase64
. -
from
: Either a unixtimestamp of the start date or relative date like-2h
. -
to
: Either unixtimestamp of the end date or relative date likenow
. -
width
: Image width in px. -
height
: Image height in px. -
source
: If there are multiple graps in a grafana dashboard, thesource
can be used to choose on of them. The index starts at1
. -
disablePanelTitle
: Can be set to1
to hide the panel title. -
legend
: Can be set to0
to hide the legend. -
theme
: Can be eitherlight
ordark
and sets the grafana theme. -
font_color
: Sets the font color, ex.:#000000
-
background_color
: Sets the background color, can be eithertransparent
or a hex colour like#FFFFFF