[hobbit] generating a page with the same graph type but from different hosts
Charles Jones
jonescr at cisco.com
Tue Jan 15 17:52:08 CET 2008
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:jonescr at cisco.com]
>> Sent: Dienstag, 15. Januar 2008 17:31
>> To: hobbit at hswn.dk
>> 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).
>>>
>>>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080115/f84e8c27/attachment.html>
More information about the Xymon
mailing list