I checked the default vmstat rrd in hobbit, and a DS for "blocked (b)" is being collected. Blocked process indicate IO bound processes. Crude, but pretty effective.
I am requesting an additional graph in the trends page specifically for the "b" DS of the vmstat rrd. This DS might not exist for all *IX, but for most.
Forgive me if this is configurable, I still picking up the details of hobbit functionality.
-bash-2.05b$ rrdtool info vmstat.rrd filename = "vmstat.rrd" rrd_version = "0003" step = 300 last_update = 1185291307
..snip..
ds[cpu_b].type = "GAUGE" ds[cpu_b].minimal_heartbeat = 600 ds[cpu_b].min = 0.0000000000e+00 ds[cpu_b].max = NaN ds[cpu_b].last_ds = "UNKN" ds[cpu_b].value = 7.0000000000e+00 ds[cpu_b].unknown_sec = 0
Scott
On Tue, Jul 24, 2007 at 12:01:48PM -0400, Scott Walters wrote:
I am requesting an additional graph in the trends page specifically for the "b" DS of the vmstat rrd. This DS might not exist for all *IX, but for most.
Forgive me if this is configurable, I still picking up the details of hobbit functionality.
Two things you need to do:
Add a definition for this graph to hobbitgraphs.cfg, e.g. [vmstat11] TITLE I/O Blocked processes YAXIS # DEF:procb=vmstat.rrd:cpu_b:AVERAGE LINE2:procb#00CC00:Blocked processes (you can of course include any other RRD stuff you want).
Add this graph to the TRENDS setting for your host: On the host entry in bb-hosts, add "TRENDS:*,vmstat:vmstat|vmstat11
Regards, Henrik
On 7/24/07, Henrik Stoerner <henrik at hswn.dk> wrote:
Two things you need to do:
- Add a definition for this graph to hobbitgraphs.cfg, e.g.
no sweat here.
- Add this graph to the TRENDS setting for your host: On the host entry in bb-hosts, add "TRENDS:*,vmstat:vmstat|vmstat11
what about a global addition in hobbitserver.cfg and the GRAPHS variable?
What happens if the RRD or DS does not exist?
Scott
On Tuesday 24 July 2007, Scott Walters wrote:
On 7/24/07, Henrik Stoerner <henrik at hswn.dk> wrote:
Two things you need to do:
- Add a definition for this graph to hobbitgraphs.cfg, e.g.
no sweat here.
- Add this graph to the TRENDS setting for your host: On the host entry in bb-hosts, add "TRENDS:*,vmstat:vmstat|vmstat11
what about a global addition in hobbitserver.cfg and the GRAPHS variable? There are more of these graphs that can be added. To much to add them all I'm afraid.
What happens if the RRD or DS does not exist? An error. So only add it to the hosts that the RRD and DS exists.
Stef
participants (3)
-
henrik@hswn.dk
-
scott@PacketPushers.com
-
stef.coene@docum.org