<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I got the iostat trend graphs working now :-)<br>
My approach is a bit rough though, I bet yours is better.<br>
Will it take care of metadevices? /dev/global cluster disks? /dev/did
disks?<br>
<br>
<br>
- Roland<br>
<div class="moz-signature">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<title>test</title>
<br>
</div>
On  9/09/10 01:57 PM, Vernon Everett wrote:
<blockquote
 cite="mid:AANLkTimNNWWwKyD5zaVB4+U909075HQuUdhcW7GOosXZ@mail.gmail.com"
 type="cite">Would be unfair to start the race after I have finished :-)<br>
  <br>
About to post to Xymonton.<br>
Will update you once done.<br>
  <br>
Cheers<br>
    Vernon<br>
  <br>
  <div class="gmail_quote">On Thu, Sep 9, 2010 at 11:03 AM, Roland
Soderstrom <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:rolands@logicaltech.com.au">rolands@logicaltech.com.au</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div text="#000000" bgcolor="#ffffff">
Hi,<br>
    <br>
I'm trying to do the same (for solaris)<br>
By default the code is there on the client, but the server lacks the
code to create the rrd file.<br>
The data is there on the server.<br>
This command shows me that the data is actually received by the server.<br>
xymonserver % $BB $BBDISP 'clientlog server0 section=iostatdisk'<br>
in hobbitd/rrd/do_iostat.c there is a do_iostatdisk_rrd function.<br>
but it isn't in hobbitd/do_rrd.c<br>
I'm not any good at C so I can just see it lacks some coding.<br>
The correct approach would be to fix the source so it includes and
creates the iostatdisk rrd's and trend graphs will just work.<br>
    <br>
Until next version I tried to fix it.<br>
I've tried to modify Stef Coenes iostat script but I can't get any data
into the rrd file, it is just empty. (NaN)<br>
The graphs on the trends page is there but shows nothing.<br>
bash-3.00$ /usr/local/rrdtool-1.2.19/bin/rrdtool dump
/usr/local/xymon/data/rrd/server0/iostat-disk.ssd59.rrd | grep last_ds<br>
                <last_ds> UNKN </last_ds><br>
bash-3.00$<br>
    <br>
I'm setting up a new test environment with Xymon 4.2.3 to see if I
could get things going.<br>
I'm creating a new iostat script from scratch and trying to get the
data to the trends page.<br>
    <br>
Well see who wins the race.<br>
    <font color="#888888"><br>
- Roland</font>
    <div>
    <div class="h5"><br>
    <br>
    <br>
    <br>
On  9/09/10 09:21 AM, Vernon Everett wrote:
    <blockquote type="cite">Funny you mention that, I just completed a
script that
does disk iostat, and graphs all the columns from an iostat -X<br>
(Solaris centric, but I am sure you could mod it for any other OS)<br>
      <br>
The graphs show up in trends. <br>
For us it made no sense to create an alert based on iostat, but rather
to record it for and use it as a forensic tool if/when things went bad.<br>
      <br>
It has been running in test overnight, and if all looks good, I will
post it later today.<br>
      <br>
Cheers<br>
    Vernon<br>
      <br>
      <br>
      <div class="gmail_quote">On Thu, Sep 9, 2010 at 4:47 AM, Daniel
Bourque <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:dbourque@weatherdata.com" target="_blank">dbourque@weatherdata.com</a>></span>
wrote:<br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
all,<br>
        <br>
  I want to create graphs for i/o per seconds on all disks on host <a
 moz-do-not-send="true" href="http://bob.somewhere.com" target="_blank">bob.somewhere.com</a>
. I am trying to do like the disk check, but I can't hobbit to create
multiple rrd files.<br>
        <br>
so my check ends up running the following<br>
        <br>
-------<br>
        <br>
/usr/lib/hobbit/client/bin/bb 1.1.1.1 "status
bob,somewhere,com.iostat_tps,sda green Wed Sep  8 15:01:49 CDT 2010<br>
        <br>
      iostat_tps : 23.40<br>
"<br>
        <br>
/usr/lib/hobbit/client/bin/bb 1.1.1.1 "status
bob,somewhere,com.iostat_tps,sdb green Wed Sep  8 15:01:49 CDT 2010<br>
        <br>
      iostat_tps : 12.00<br>
"<br>
        <br>
-----<br>
        <br>
in hobbitserver.cfg :<br>
        <br>
I appended "iostat_tps=ncv"  to TEST2RRD<br>
I added NVC_iostat_tps="iostat_tps:GAUGE"<br>
        <br>
----<br>
        <br>
I restarted the rrd processes<br>
        <br>
----<br>
        <br>
I am not seeing<br>
        <br>
iostat_tps,sda.rrd<br>
iostat_tps,sdb.rrd<br>
        <br>
under /opt/hobbit/data/rrd/<a moz-do-not-send="true"
 href="http://bob.somewhere.com/" target="_blank">bob.somewhere.com/</a><br>
        <br>
----<br>
        <br>
my hope is to able to do a graph using something like<br>
        <br>
[iostat_tps]<br>
        <br>
      FNPATTERN iostat_tps(.*).rrd<br>
        <br>
        <br>
        <br>
Any ideas ?<br>
        <br>
        <br>
hobbit 4.2.0<br>
RHEL 3<br>
        <br>
        <br>
Thank !<br>
        <font color="#888888"><br>
        <br>
-- <br>
Dan<br>
        <br>
        <br>
To unsubscribe from the xymon list, send an e-mail to<br>
        <a moz-do-not-send="true"
 href="mailto:xymon-unsubscribe@xymon.com" target="_blank">xymon-unsubscribe@xymon.com</a><br>
        <br>
        <br>
        </font></blockquote>
      </div>
      <br>
    </blockquote>
    </div>
    </div>
    </div>
    <div>
    <div class="h5">To unsubscribe from the xymon list, send an e-mail
to
    <a moz-do-not-send="true" href="mailto:xymon-unsubscribe@xymon.com"
 target="_blank">xymon-unsubscribe@xymon.com</a>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
</blockquote>
</body>
</html>