Hi Steve.
mmmh, what is routers2? Are you talking about MRTG 2?
Actually, like I wrote in my first mail, it works to avoid displaying
one of the Legends below the graph with the described option (per
target, [router1] as example).
But it does not work to disable the legend for multiple targets at once
(using the [_] underscore wildcard).
Lucas
________________________________
Von: Steve Shipway [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 27. Juni 2007 00:49
An: Pfirter Lukas
Betreff: RE: [mrtg] Avoid Displaying a Legend below the graph:
Define globally
If you are using routers2 as your frontend, then this will
happen. I think Tobi added this option to LegendI/O more recently and I
never noticed it... routers2 does not currently have support for
disabling only the legend in normal graphs.
In routers2 you can also set the 'nodetails' and/or 'nolegend'
options in userdefined graphs to suppress part or all of the legends.
Steve
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pfirter Lukas
Sent: Tuesday, 26 June 2007 19:16
To: [email protected]
Subject: [mrtg] Avoid Displaying a Legend below the graph:
Define globally
Hello all,
I get the following from the mrtg documentation on MRTG.org:
Note, if LegendI or LegendO are set to an empty string with
LegendO[myrouter]:
The corresponding line below the graph will not be printed at
all.
Now, when I use this as a Target specific value it works, e.g.:
LegendO[bkrpmu1-hd4]:
But I have a large config file, where only a single piece is
target specific and the rest is globally defined.
Now, when I use this for every device, it doesn't work, e.g.:
LegendO[_]:
Does anyone have an idea why this doesn't work? Is it a bug?
Can you try to do this with your config? Just put in
"LegendO[_]:" at the top and look if the second legend (output, the blue
one) below the graph disappears.
Thanks,
Lucas
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg