generating a page with the same graph type but from different hosts
list Szymon Bakowski
Hello, I was wondering if that would be possible using Hobbit, to generate a page with only one particular graph (for example CPU) across all servers available on the particular page. It would look like "trends" but not for particular server with different types of graphs but one particular type of graphs across many servers available on a particular sub page. Do I need prepare my own sort of page/template or it is somehow possible to define through bb-hosts file (can`t find it in documentation). Kind regards Szymon Bakowski
list Charles Jones
I know this isn't exactly what you asked for, but I just wanted to make sure you were aware that there is an existing mechanism for getting multi-host graphs. In your Hobbit menu, go to Reports, Metrics Report. Choose the time frame you wish, the hosts you want to graph, and on the right side select CPU utilization. You will then get a single graph that has all the hosts on it. If you then save the URL you can then insert that graph into an HTML page if you wish, and it will be dynamic. -Charles
▸
Szymon Bakowski wrote:Hello, I was wondering if that would be possible using Hobbit, to generate a page with only one particular graph (for example CPU) across all servers available on the particular page. It would look like "trends" but not for particular server with different types of graphs but one particular type of graphs across many servers available on a particular sub page. Do I need prepare my own sort of page/template or it is somehow possible to define through bb-hosts file (can`t find it in documentation).
list Johann Eggers
But the Metrics report is limited in choosing the metrics you want to be displayed. I would also like to have a "full featured" metrics report where you can select any host and any metric which is available in the system. But unfortunately I'm not a very skilled HTML coder :( -Johann
-----Original Message----- From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] Sent: Dienstag, 15. Januar 2008 17:31 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] generating a page with the same graph type but from different hosts
▸
I know this isn't exactly what you asked for, but I just wanted to
make
sure you were aware that there is an existing mechanism for getting
multi-host graphs. In your Hobbit menu, go to Reports, MetricsReport.
Choose the time frame you wish, the hosts you want to graph, and on the right side select CPU utilization. You will then get a single graph that has all the hosts on it. If you then save the URL you can then insert that graph into an HTML page if you wish, and it will be dynamic. -Charles Szymon Bakowski wrote:Hello, I was wondering if that would be possible using Hobbit, to generate a page with only one particular graph (for example CPU) across all servers available on the particular page. It would look like
"trends"
but not for particular server with different types of graphs but one particular type of graphs across many servers available on a particular sub page. Do I need prepare my own sort of page/template or it is somehow possible to define through bb-hosts file (can`t find it in documentation).
list Dave Haertig
I've never looked at that metrics report before. How do you add additional servers and metrics? I only see my Hobbit server listed, and only five metrics.
▸
-----Original Message-----
From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] Sent: Tuesday, January 15, 2008 9:31 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] generating a page with the same graph type but
from different hosts
I know this isn't exactly what you asked for, but I just wanted to make
sure you were aware that there is an existing mechanism for getting
multi-host graphs. In your Hobbit menu, go to Reports, Metrics Report.
Choose the time frame you wish, the hosts you want to graph, and on the
right side select CPU utilization. You will then get a single graph
that has all the hosts on it. If you then save the URL you can then
insert that graph into an HTML page if you wish, and it will be dynamic.
-Charles
Szymon Bakowski wrote:Hello, I was wondering if that would be possible using Hobbit, to generate a page with only one particular graph (for example CPU) across all servers available on the particular page. It would look like "trends" but not for particular server with different types of graphs but one particular type of graphs across many servers available on a particular sub page. Do I need prepare my own sort of page/template or it is somehow possible to define through bb-hosts file (can`t find it in documentation).
list Henrik Størner
▸
On Tue, Jan 15, 2008 at 09:43:00AM -0700, Haertig, David F (Dave) wrote:
I've never looked at that metrics report before. How do you add additional servers and metrics? I only see my Hobbit server listed, and only five metrics.
It lists the hosts that are on the page you're seeing. So to see all hosts, pick the Metrics report off the top page. You can add more metrics by modifying the ~hobbit/server/web/hostgraphs_form template, but the only graphs that will work are those that have a "foo-multi" entry in hobbitgraphs.cfg. Regards, Henrik
list Charles Jones
Its not HTML skill required, but rather C, as it would require changes to Hobbit. The Metrics Report can only graph things which are defined as "multi-host" graphs in hobbit-graphs.cfg. And you cant just make anything a multi-host graph, because they have to be the same type of graph (cant graph something like disk space and cpu load on a single graph). Using some basic HTML, you could still make your own page that shows the graphs you want. Just right-click a graph in the trends page, and "copy image location". You will get a long URL which is a call to hobbitgraph with lots of parameters. If you use this URL with an HTML IMG tag, you can then insert that graph and others on a page. You could then put a link to that page in the Hobbit menu. -Charles
▸
Johann Eggers wrote:But the Metrics report is limited in choosing the metrics you want to be displayed. I would also like to have a "full featured" metrics report where you can select any host and any metric which is available in the system. But unfortunately I'm not a very skilled HTML coder :( -Johann-----Original Message----- From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] Sent: Dienstag, 15. Januar 2008 17:31 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] generating a page with the same graph type butfromdifferent hosts I know this isn't exactly what you asked for, but I just wanted tomakesure you were aware that there is an existing mechanism for getting multi-host graphs. In your Hobbit menu, go to Reports, MetricsReport.Choose the time frame you wish, the hosts you want to graph, and ontheright side select CPU utilization. You will then get a single graph that has all the hosts on it. If you then save the URL you can then insert that graph into an HTML page if you wish, and it will bedynamic.-Charles Szymon Bakowski wrote:Hello, I was wondering if that would be possible using Hobbit, to generateapage with only one particular graph (for example CPU) across all servers available on the particular page. It would look like"trends"but not for particular server with different types of graphs but one particular type of graphs across many servers available on a particular sub page. Do I need prepare my own sort of page/template or it is somehow possible to define through bb-hosts file (can`t find it in documentation).
list Charles Jones
If you select the metrics report while on the main page, you should see all of your hosts (if you are on a sub page you will only see that page of hosts). As for adding more metrics, that is a bit tricky, as you have to add more "multi-host" graph definitions to hobbit-graph.cfg. -Charles
▸
Haertig, David F (Dave) wrote:I've never looked at that metrics report before. How do you add additional servers and metrics? I only see my Hobbit server listed, and only five metrics. -----Original Message----- From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] Sent: Tuesday, January 15, 2008 9:31 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] generating a page with the same graph type but from different hosts I know this isn't exactly what you asked for, but I just wanted to make sure you were aware that there is an existing mechanism for getting multi-host graphs. In your Hobbit menu, go to Reports, Metrics Report. Choose the time frame you wish, the hosts you want to graph, and on the right side select CPU utilization. You will then get a single graph that has all the hosts on it. If you then save the URL you can then insert that graph into an HTML page if you wish, and it will be dynamic. -Charles Szymon Bakowski wrote:Hello, I was wondering if that would be possible using Hobbit, to generate a page with only one particular graph (for example CPU) across all servers available on the particular page. It would look like "trends" but not for particular server with different types of graphs but one particular type of graphs across many servers available on a particular sub page. Do I need prepare my own sort of page/template or it is somehow possible to define through bb-hosts file (can`t find it in documentation).
list Dave Haertig
Thanks. I was on the top page, however the only server I have there is my Hobbit server. Everything else is organized into subpages, divided up by major application areas since my users want to see things in this manner. When a server plays a part for multiple applications, that server appears redundantly on different subpages. That's just my personal organization method, probably not the standard amongst Hobbit users!
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Tuesday, January 15, 2008 9:48 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] generating a page with the same graph type but
fromdifferent hosts
▸
On Tue, Jan 15, 2008 at 09:43:00AM -0700, Haertig, David F (Dave) wrote:I've never looked at that metrics report before. How do you add additional servers and metrics? I only see my Hobbit server listed, and only five metrics.
It lists the hosts that are on the page you're seeing. So to see all hosts, pick the Metrics report off the top page. You can add more metrics by modifying the ~hobbit/server/web/hostgraphs_form template, but the only graphs that will work are those that have a "foo-multi" entry in hobbitgraphs.cfg. Regards, Henrik
list Johann Eggers
Of course it doesn't make sense to put CPU and disk metrics on the same graph. What I originally want is a way to put e.g. the CPU load or temperature values of a group of hosts in one graph to be able to compare. In the "old" BigBrother days I had a script that was capable of doing this, but I can't remember the details... -Johann
▸
And you cant just make anything a multi-host graph, because they have to
be the same type of graph (cant graph something like disk space and cpu
load on a single graph).
-Charles
Johann Eggers wrote:
But the Metrics report is limited in choosing the metrics you want to be
displayed.
I would also like to have a "full featured" metrics report where you can
select any host and any metric which is available in the system.
But unfortunately I'm not a very skilled HTML coder :(
-Johann
list Buchan Milne
▸
On Tuesday 15 January 2008 18:19:19 Szymon Bakowski wrote:
Hello, I was wondering if that would be possible using Hobbit, to generate a page with only one particular graph (for example CPU) across all servers available on the particular page. It would look like "trends" but not for particular server with different types of graphs but one particular type of graphs across many servers available on a particular sub page. Do I need prepare my own sort of page/template or it is somehow possible to define through bb-hosts file (can`t find it in documentation).
IMHO, just: 1)View the relevant graph for one of the servers (the page with multiple graphs over different time periods) 2)Add more host names in the URL, separated by commas 3)Bookmark this URL, or put it in some relevant place people can access it. I find the "Metrics Report" less useful, as it doesn't update, as the multi-host graphs accessed with the mechanism above do when hitting refresh in the browser. Regards, Buchan
list Szymon Bakowski
▸
IMHO, just: 1)View the relevant graph for one of the servers (the page with multiple graphs over different time periods) 2)Add more host names in the URL, separated by commas 3)Bookmark this URL, or put it in some relevant place people can access it. I find the "Metrics Report" less useful, as it doesn't update, as the multi-host graphs accessed with the mechanism above do when hitting refresh in the browser. Regards, Buchan
Thanks for that Buchan, it works, but the idea would be to have separate graphs for each server as to be able to compare ex.load across whole cluster - mentioned graph is a compressed version of overall load. Thnks. Szymon
list Szymon Bakowski
▸
On 16/01/2008, Szymon Bakowski <user-954404a87575@xymon.invalid> wrote:
IMHO, just: 1)View the relevant graph for one of the servers (the page with multiple graphs over different time periods) 2)Add more host names in the URL, separated by commas 3)Bookmark this URL, or put it in some relevant place people can access it. I find the "Metrics Report" less useful, as it doesn't update, as the multi-host graphs accessed with the mechanism above do when hitting refresh in the browser. Regards, BuchanThanks for that Buchan, it works, but the idea would be to have separate graphs for each server as to be able to compare ex.load across whole cluster - mentioned graph is a compressed version of overall load. Thnks. Szymon
One more thing - it seems that you have to correct "count" value in a link - without it after specifying more than one server, you are still getting statistics only for one server. Thanks Szymon
list Galen Johnson
For these custom graphs, has anyone looked at drraw(http://web.taranis.org/drraw/)? Seems like it would be easy to use this to allow creation of custom graphing pages. =G=
▸
-----Original Message-----
From: user-7527983188e8@xymon.invalid [mailto:user-7527983188e8@xymon.invalid] On Behalf Of Szymon Bakowski
Sent: Wednesday, January 16, 2008 5:23 AM
To: Buchan Milne
Cc: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] generating a page with the same graph type but from different hosts
On 16/01/2008, Szymon Bakowski <user-954404a87575@xymon.invalid> wrote:IMHO, just: 1)View the relevant graph for one of the servers (the page with multiple graphs over different time periods) 2)Add more host names in the URL, separated by commas 3)Bookmark this URL, or put it in some relevant place people can access it. I find the "Metrics Report" less useful, as it doesn't update, as the multi-host graphs accessed with the mechanism above do when hitting refresh in the browser. Regards, BuchanThanks for that Buchan, it works, but the idea would be to have separate graphs for each server as to be able to compare ex.load across whole cluster - mentioned graph is a compressed version of overall load. Thnks. Szymon
One more thing - it seems that you have to correct "count" value in a link - without it after specifying more than one server, you are still getting statistics only for one server. Thanks Szymon