Úps... sorry not quite..
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
Regards Siggi
-----Original Message----- From: Sigurður Bjarnason [mailto:siggi at betware.com] Sent: 8. febrúar 2006 16:08 To: hobbit at hswn.dk Subject: RE: [hobbit] Feature Request
"
http://www.hswn.dk/hobbit-cgi/hobbitgraph.sh?host=voodoo.hswn.dk,fenris.hswn...
A recent addition in Hobbit is that you can generate e.g. a "cpu load" graphs for multiple hosts. There's no tool to generate the magic URL yet, but if you pull e.g. the cpu load graph - the page where you have the 4 graphs - then you can add more hosts to the "host=..." part of the URL. Just list the hosts you want to see, separated by commas. E.g.
"
This is just what I was looking for, of course it would be nice to have this automated into links on the graph site in question.. but.. no rush.. :D .. I will probable make something up my self..
Regards Siggi
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 8. febrúar 2006 11:28 To: hobbit at hswn.dk Subject: Re: [hobbit] Feature Request
On Wed, Feb 08, 2006 at 10:42:45AM -0000, Sigurður Bjarnason wrote:
If anybody here did ever use the butter grapher with bigbrother in the past, the same might remember the neat thing of being able to compare for example cpu graphs for, all hosts in its group or all hosts monitored. I include example.. is nobody understands what in the heck I am talking about :-)
I never used Butter myself. Did this build a single image with multiple graphs, or one html page with several (individual, one per host) graphs in it ?
A recent addition in Hobbit is that you can generate e.g. a "cpu load" graphs for multiple hosts. There's no tool to generate the magic URL yet, but if you pull e.g. the cpu load graph - the page where you have the 4 graphs - then you can add more hosts to the "host=..." part of the URL. Just list the hosts you want to see, separated by commas. E.g.
http://www.hswn.dk/hobbit-cgi/hobbitgraph.sh?host=voodoo.hswn.dk,fenris.hswn...
Would it be useful if you could put a "page=<regex>" and/or "host=<regex>" into the URL, and then Hobbit would build the list of hostnames automatically ?
(Silly question, I know someone will say "yes!")
It won't do it at the group-level; Hobbit has a problem with that because groups dont have names, so they are difficult to identify.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Sigurður Bjarnason wrote:
Úps... sorry not quite..
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
Regards Siggi
There is a script called larrd-graphs.cgi on Deadcat which exactly do this for the "old BB"
Johann
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
participants (3)
-
henrik@hswn.dk
-
johann.eggers@teleatlas.com
-
siggi@betware.com