Xymon Mailing List Archive search

iostat

3 messages in this thread

list Henrik Størner · Tue, 21 Oct 2008 11:31:33 +0000 (UTC) ·
In <user-c219bdb400c9@xymon.invalid> "Everett, Vernon" <user-9da1a1882f49@xymon.invalid> writes:
Has anybody managed to get iostat data and graphs working for RedHat linux?
Looking to graph the basics for a system for physical disks.
r/s, w/s, avgrq-sz, await
All the rest is nice to have.
Anybody done this?
Don't think so. The standard Hobbit client doesn't collect these data,
and there's nothing on the server that knows how to parse it anyway.

(I agree it would be nice to collect those stats - and mpstat as well).


Regards,
Henrik
list Vernon Everett · Wed, 22 Oct 2008 17:45:14 +0800 ·
Hi Henrik

Ok, let's say I was daft enough to give this a go.
I want to generate graphs of my disks.
On linux, I have sda and sdb
On Solaris, c0t0d0, c0t1d0 and c0t2d0
Not a problem.
I generate output, configure my graphs, get the rrd files to auto-generate, and life is good.
But now I add another disk!

The only solution I can see is to have a separate rrd file per disk, the way you handle disk capacity.
How do I tell the ncv module to put each disk into a different rrd file, instead of dumping it all into one, like it seems to like doing?

Cheers
    V
quoted from Henrik Størner


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Tuesday, 21 October 2008 7:32 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] iostat

In <user-c219bdb400c9@xymon.invalid> "Everett, Vernon" <user-9da1a1882f49@xymon.invalid> writes:
Has anybody managed to get iostat data and graphs working for RedHat linux?
Looking to graph the basics for a system for physical disks.
r/s, w/s, avgrq-sz, await
All the rest is nice to have.
Anybody done this?
Don't think so. The standard Hobbit client doesn't collect these data, and there's nothing on the server that knows how to parse it anyway.

(I agree it would be nice to collect those stats - and mpstat as well).


Regards,
Henrik


NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Phil Wild · Wed, 5 Nov 2008 23:06:35 +0900 ·
Hi Vernon,

You need to write your own backend to process the metrics from iostat that
you are sending from you clients. This involves manually building a new rrd
file from within your code for every new row that you receive. The hobbit
NCV can not do this for you in the current production release.

I am pretty sure this is covered in the man pages somewhere from memory or
in Henrik's graphing overview perhaps.
Once you have your backend script ready to receive and process the data and
build your rrd's, you modify some of the options for hobbitd in your
hobbitlaunch.cfg file to call the script every time a message comes in. From
memory, every message that enters hobbit gets passed to it so you need to
write it so that it just processes your data and is well enough written so
you can add further custom tests on as needed.

Sorry to sound so vague as has been a while since doing this. It is all
covered in the documentation though.

Cheers

Phil

2008/10/22 Everett, Vernon <user-9da1a1882f49@xymon.invalid>
quoted from Vernon Everett
Hi Henrik

Ok, let's say I was daft enough to give this a go.
I want to generate graphs of my disks.
On linux, I have sda and sdb
On Solaris, c0t0d0, c0t1d0 and c0t2d0
Not a problem.
I generate output, configure my graphs, get the rrd files to auto-generate,
and life is good.
But now I add another disk!

The only solution I can see is to have a separate rrd file per disk, the
way you handle disk capacity.
How do I tell the ncv module to put each disk into a different rrd file,
instead of dumping it all into one, like it seems to like doing?

Cheers
    V


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Tuesday, 21 October 2008 7:32 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] iostat

In <user-c219bdb400c9@xymon.invalid>
"Everett, Vernon" <user-9da1a1882f49@xymon.invalid> writes:
Has anybody managed to get iostat data and graphs working for RedHat
linux?
Looking to graph the basics for a system for physical disks.
r/s, w/s, avgrq-sz, await
All the rest is nice to have.
Anybody done this?
Don't think so. The standard Hobbit client doesn't collect these data, and
there's nothing on the server that knows how to parse it anyway.

(I agree it would be nice to collect those stats - and mpstat as well).


Regards,
Henrik


NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.

-- 

Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid