|
I *think* I know what you are after....
Basically, you want a Summary graph, but where the targets come from different .cfg files rather than the current, right?
This is going to be possible in later versions (Im working on making a feature like 'routers.cgi*Graph' that allows you to define different Summary pages) but not at the moment.
However, there is a way to sort of achieve it, although it is messy.
1) Create a special .cfg file that uses Include: to include all of the .cfg files containing targets you want. This should NOT be called by MRTG, it is ONLY for the benefit of routers.cgi.
2) Put in the lines
routers.cgi*InCompact[_]: no
routers.cgi*InMenu[_]: no
routers.cgi*InSummary[_]: no
routers.cgi*InOut[_]: no
at the beginning of the file, before the Includes.
3) Now, for each of the targetnames that you want in your summary, AFTER the Include lines, add the line
routers.cgi*InSummary[targetname]: yes
4) Now go to this dummy .cfg file in routers.cgi. You should see a single Target in the menu, the summary page, and this will summarise the ones you want!
5) If any targets appear in the menu that you dont want, add at the end the lines in step (2) but for that particular targetname, not _.
The drawback of doing it this way, of course, is that you have a new 'Device' in the devices menu. However, it works -- it also works if you want to make userdefined Graphs over targets in multiple files. I am using it here to summarise the mail queue graphs from multiple servers into a single total graph.
Hope this makes sense to you.
Steve
|