Xymon Mailing List Archive search

vmstat "b" graph

4 messages in this thread

list Scott Walters · Tue, 24 Jul 2007 12:01:48 -0400 ·
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
list Henrik Størner · Tue, 24 Jul 2007 19:03:17 +0200 ·
quoted from Scott Walters
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:

1) 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).

2) Add this graph to the TRENDS setting for your host: On the host
   entry in bb-hosts, add "TRENDS:*,vmstat:vmstat|vmstat11


Regards,
Henrik
list Scott Walters · Tue, 24 Jul 2007 13:19:14 -0400 ·
quoted from Henrik Størner
On 7/24/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
Two things you need to do:

1) Add a definition for this graph to hobbitgraphs.cfg, e.g.
no sweat here.
quoted from Henrik Størner
2) 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
list Stef Coene · Tue, 24 Jul 2007 22:51:54 +0200 ·
quoted from Scott Walters
On Tuesday 24 July 2007, Scott Walters wrote:
On 7/24/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
Two things you need to do:

1) Add a definition for this graph to hobbitgraphs.cfg, e.g.
no sweat here.
2) 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