[hobbit] Feature Request

Henrik Stoerner henrik at hswn.dk
Wed Feb 8 18:01:04 CET 2006


On Wed, Feb 08, 2006 at 04:14:12PM -0000, SigurĂ°ur Bjarnason wrote:
> 
> I was looking for one graph pr host, not one graph and all hosts merged to just one..
> 
> 
> I would like to see on one page, for example
> 
> Cpu for host1 host2 host3 etc all in its own graph... ... for comparing purposes... and such

Personally I think comparing is easier if it's on one graph instead of
multiple - but there are different opinions on that, I know.

If it's something you won't be changing much, you could just create
a simple static HTML page with links to the dynamically created
graph images. It would go something like this:

<html>
  <body>
   <img src="/cgi-bin/hobbitgraph.cgi?host=host1&service=la&graph=hourly&action=view">
   <br>
   <img src="/cgi-bin/hobbitgraph.cgi?host=host2&service=la&graph=hourly&action=view">
   <br>
  </body>
</html>

Just add more <img src=...> and <br>lines for the hosts you want.

The "service=..." defines which graph you see - you can look at the
URL's for the graphs you want to use and just copy the "service"
setting.

"graph=hourly" shows the 48-hour graph. You can use "daily", "weekly", 
or "monthly" for the other graph periods.


Henrik




More information about the Xymon mailing list