[mrtg] MRTG : How to print Serie Legend + Max/Min/Avg IN graph ?
s.shipway at auckland.ac.nz
Wed Sep 3 04:28:04 CEST 2008
An excerpt from the forthcoming MRTG/RRD/Routers2 book which may help you, in the Advanced Techniques chapter, section on linking from other applications:
The Network Weathermap program, created by Howard Jones, works well with the MRTG/RRD/Routers2 setup. When configuring, you need to specify URLs for destination links ( 'INFOURL' ) and for obtaining popup graphs ( 'OVERLIBGRAPH' ). Both of these URLs can be generated for Routers by identifying the MRTG configuration file and the Target name.
In the example below, the configuration file is node1.cfg and the Target name is node1_1. The other options ensure that we are looking at the Daily graph and (in the case of OVERLIBGRAPH) that the image is created at the correct size.
Note how 'page=image' is used to retrieve just the graph image without the surrounding HTML and frame set, and 'xgtype=ds' sets the graph to be 'Daily Summary' - that is, the Daily graph as used in Summary pages, which does not have a legend and is smaller sized.
NODES node1 node2
Anyone who wants to discuss how to do this sort of thing in more detail may wish to meet up at the MRTG BoF session on Nov 12th at LISA08, in San Diego this year.
From: Cook, Garry [mailto:Garry.Cook at arcadis-us.com]
Sent: Wednesday, 3 September 2008 14:02
To: Steve Shipway; 'mrtg at lists.oetiker.ch'
Subject: RE: Re: [mrtg] MRTG : How to print Serie Legend + Max/Min/Avg IN graph ?
Nice work Steve! I wanted something like this for network weathermap, but didn't think it possible. I'm going to go update my configs right now!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mrtg