All hosts network traffic graph page
list Taylor Lewick
Is there a simple way to setup a view via a report or link in hobbit so that I can display all of the hosts network traffic graphs? Kind of like an mrtg style view. That way if we see bandwidth spike on our switch we can pull up this page and get a quick view of which hosts are talking a lot? Thanks, Taylor
list Rich Smrcina
This is a cool idea! I might suggest that the implementation be generic enough to be able handle other types of graphs as well (even those not invented yet) and yet support Taylor's request. Perhaps a new report type that requests graphs of a certain type for all hosts (or pages) (with an option to restrict the display to a pattern matched list of hosts for sites with large numbers of hosts).
▸
Taylor Lewick wrote:Is there a simple way to setup a view via a report or link in hobbit so that I can display all of the hosts network traffic graphs? Kind of like an mrtg style view. That way if we see bandwidth spike on our switch we can pull up this page and get a quick view of which hosts are talking a lot? Thanks, Taylor
--
Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
list Galen Johnson
You may want to check out Drraw, http://web.taranis.org/drraw. It should be easy enough to use as an add-on to Hobbit. =G=
▸
From: Rich Smrcina [user-cf452ff334e0@xymon.invalid]
Sent: Saturday, March 08, 2008 11:00 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] All hosts network traffic graph page
This is a cool idea! I might suggest that the implementation be generic
enough to be able handle other types of graphs as well (even those not
invented yet) and yet support Taylor's request.
Perhaps a new report type that requests graphs of a certain type for all
hosts (or pages) (with an option to restrict the display to a pattern
matched list of hosts for sites with large numbers of hosts).
Taylor Lewick wrote:Is there a simple way to setup a view via a report or link in hobbit so that I can display all of the hosts network traffic graphs? Kind of like an mrtg style view. That way if we see bandwidth spike on our switch we can pull up this page and get a quick view of which hosts are talking a lot? Thanks, Taylor
-- Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
list Phil Wild
Does the metrics report in hobbit satisfy this? Select all the hosts in the left column and then select the test you want to compare across all hosts in the right? Phil
▸
On 09/03/2008, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:Is there a simple way to setup a view via a report or link in hobbit so that I can display all of the hosts network traffic graphs? Kind of like an mrtg style view. That way if we see bandwidth spike on our switch we can pull up this page and get a quick view of which hosts are talking a lot? Thanks, Taylor
--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
list Taylor Lewick
No, the metrics report only has CPU, CPU %util, DISK, RAM, and tcp times, i.e. ping response times. Not the NIC interface statistics (packet in/packet out)
▸
-----Original Message-----
From: Phil Wild [mailto:user-e365c1418192@xymon.invalid]
Sent: Sunday, March 09, 2008 7:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] All hosts network traffic graph page
Does the metrics report in hobbit satisfy this?
Select all the hosts in the left column and then select the test you
want to compare across all hosts in the right?
Phil
On 09/03/2008, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:Is there a simple way to setup a view via a report or link in hobbit so that I can display all of the hosts network traffic graphs? Kind of like an mrtg style view. That way if we see bandwidth spike on our switch we can pull up this page and get a quick view of which hosts are talking a lot? Thanks, Taylor
-- Tel: XXXX XXX XXX Fax: XXXX XXX XXX email: user-e365c1418192@xymon.invalid
list Henrik Størner
▸
On Sat, Mar 08, 2008 at 09:35:49PM -0600, Taylor Lewick wrote:
Is there a simple way to setup a view via a report or link in hobbit so that I can display all of the hosts network traffic graphs? Kind of like an mrtg style view. That way if we see bandwidth spike on our switch we can pull up this page and get a quick view of which hosts are talking a lot?
Tricky, because network interface names vary from one host to another.
What you can do is to create a multi-graph definition in
hobbitgraph.cfg that picks out the exact NIC graph you want.
Copy the existing "ifstat" definition, and make a new "eth0-multi"
graph where the FNPATTERN refers only to the interface graph
you want - i.e. instead of the "ifstat.(.+).rrd" pattern you
refer to the exact "ifstat.INTERFACE.rrd" file matching the name
of your NIC. E.g. for "eth0":
[eth0-multi]
FNPATTERN ifstat.eth0.rrd
TITLE Network Traffic
YAXIS Bits/second
DEF:inbytes at RRDIDX@=@RRDFN@:bytesReceived:AVERAGE
CDEF:in at RRDIDX@=inbytes at RRDIDX@,8,*
DEF:outbytes at RRDIDX@=@RRDFN@:bytesSent:AVERAGE
CDEF:out at RRDIDX@=outbytes at RRDIDX@,8,*
LINE2:in at RRDIDX@#@COLOR@:@RRDPARAM@ inbound
GPRINT:in at RRDIDX@:LAST: \: %10.1lf (cur)
GPRINT:in at RRDIDX@:MAX: \: %10.1lf (max)
GPRINT:in at RRDIDX@:MIN: \: %10.1lf (min)
GPRINT:in at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
LINE2:out at RRDIDX@#@COLOR@:@RRDPARAM@ outbound
GPRINT:out at RRDIDX@:LAST: \: %10.1lf (cur)
GPRINT:out at RRDIDX@:MAX: \: %10.1lf (max)
GPRINT:out at RRDIDX@:MIN: \: %10.1lf (min)
GPRINT:out at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
Then you can create a new metric on the "Metrics Report" page by adding
a new "<option>" ... in the ~hobbit/server/web/hostgraphs_form : Find
the "<SELECT" tag and add an option for the "eth0" graph:
<SELECT NAME=testname MULTIPLE SIZE=15>
<option value="ALL" SELECTED>ALL</option>
... other current options ...
<option value="eth0">Network I/O eth0</option>
Note that in hobbitgraph.cfg the name is "eth0-multi", but in the
hostgraphs_form it is just "eth0". The "-multi" is added automatically.
You should then be able to view the eth0 I/O from the Metrics report
page.
Regards,
Henrik
list Taylor Lewick
Okay thanks all of our servers are on eth0 or eth1 so I can graph both and if one isn't active then no big deal
▸
----- Original Message -----
From: Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Mon Mar 10 05:18:46 2008
Subject: Re: [hobbit] All hosts network traffic graph page
On Sat, Mar 08, 2008 at 09:35:49PM -0600, Taylor Lewick wrote:Is there a simple way to setup a view via a report or link in hobbit so that I can display all of the hosts network traffic graphs? Kind of like an mrtg style view. That way if we see bandwidth spike on our switch we can pull up this page and get a quick view of which hosts are talking a lot?
Tricky, because network interface names vary from one host to another.
What you can do is to create a multi-graph definition in
hobbitgraph.cfg that picks out the exact NIC graph you want.
Copy the existing "ifstat" definition, and make a new "eth0-multi"
graph where the FNPATTERN refers only to the interface graph
you want - i.e. instead of the "ifstat.(.+).rrd" pattern you
refer to the exact "ifstat.INTERFACE.rrd" file matching the name
of your NIC. E.g. for "eth0":
[eth0-multi]
FNPATTERN ifstat.eth0.rrd
TITLE Network Traffic
YAXIS Bits/second
DEF:inbytes at RRDIDX@=@RRDFN@:bytesReceived:AVERAGE
CDEF:in at RRDIDX@=inbytes at RRDIDX@,8,*
DEF:outbytes at RRDIDX@=@RRDFN@:bytesSent:AVERAGE
CDEF:out at RRDIDX@=outbytes at RRDIDX@,8,*
LINE2:in at RRDIDX@#@COLOR@:@RRDPARAM@ inbound
GPRINT:in at RRDIDX@:LAST: \: %10.1lf (cur)
GPRINT:in at RRDIDX@:MAX: \: %10.1lf (max)
GPRINT:in at RRDIDX@:MIN: \: %10.1lf (min)
GPRINT:in at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
LINE2:out at RRDIDX@#@COLOR@:@RRDPARAM@ outbound
GPRINT:out at RRDIDX@:LAST: \: %10.1lf (cur)
GPRINT:out at RRDIDX@:MAX: \: %10.1lf (max)
GPRINT:out at RRDIDX@:MIN: \: %10.1lf (min)
GPRINT:out at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
Then you can create a new metric on the "Metrics Report" page by adding
a new "<option>" ... in the ~hobbit/server/web/hostgraphs_form : Find
the "<SELECT" tag and add an option for the "eth0" graph:
<SELECT NAME=testname MULTIPLE SIZE=15>
<option value="ALL" SELECTED>ALL</option>
... other current options ...
<option value="eth0">Network I/O eth0</option>
Note that in hobbitgraph.cfg the name is "eth0-multi", but in the
hostgraphs_form it is just "eth0". The "-multi" is added automatically.
You should then be able to view the eth0 I/O from the Metrics report
page.
Regards,
Henrik
list Buchan Milne
▸
On Sunday 09 March 2008 05:35:49 Taylor Lewick wrote:
Is there a simple way to setup a view via a report or link in hobbit so that I can display all of the hosts network traffic graphs? Kind of like an mrtg style view. That way if we see bandwidth spike on our switch we can pull up this page and get a quick view of which hosts are talking a lot?
I use the devmon graphs for this. I'm hoping to get time to look at the feasibility of providing more integration between Hobbit and Devmon on these graphs, such as is available in Cacti with the weathermap plugin ... but haven't gotten around to looking at it seriously yet. Regards, Buchan