|
Yes, you can do this with Routers2.
First get the URL for the page you're interested in (by clicking the BOOKMARK button).
Then, append '&page=image' to this (without the quotes)
This gives you a URL that just produces the graph image. You can use this URL in IMG tags in pages you've made yourself, such as your static status page.
Alternatively, create a virtual CFG file that holds the Target details for the various graphs you want on your status page. Suppress each Target from the menu using routers.cgi*InMenu[]:no but add it to the summary page with routers.cgi*InSummary[]:yes. Then, create a section in your routers2.conf called [status.cgi] and in this put a cfgfiles definition that gives just this virtual CFG file, plus an allowexplore=no. Link status.cgi -> routers2.cgi. Now when you call status.cgi, you get the virtual cfg file, and the default page (summary) but none of the explore menus!
A admit this may be a bit complex. If you're used to just creating your own page, then use the first method to get a src= parameter for the IMG tags.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|