Added the hobbitgraph stuff.<br><br><br><div class="gmail_quote">On Thu, Sep 9, 2010 at 1:55 PM, Roland Soderstrom <span dir="ltr"><<a href="mailto:rolands@logicaltech.com.au">rolands@logicaltech.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  

<div text="#000000" bgcolor="#ffffff">
Did you make another change?<br>
In that case what?<br><font color="#888888">
<br>
- Roland</font><div><div></div><div class="h5"><br>
<div>


<br>
<br>
</div>
On  9/09/10 03:49 PM, Vernon Everett wrote:
<blockquote type="cite">Try now<br>
  <br>
  <br>
  <div class="gmail_quote">On Thu, Sep 9, 2010 at 1:21 PM, Roland
Soderstrom <span dir="ltr"><<a href="mailto:rolands@logicaltech.com.au" target="_blank">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">Looks good, but I think you
forgot the hobbitgraph.cfg lines<br>
It can't work without them, could it?<br>
    <br>
Cheers,<br>
    <font color="#888888">- Roland</font>
    <div>
    <div><br>
    <br>
    <br>
On  9/09/10 02:51 PM, Vernon Everett wrote:
    <blockquote type="cite"><a href="http://xymonton.trantor.org/doku.php/monitors:diskstat.ksh" target="_blank">http://xymonton.trantor.org/doku.php/monitors:diskstat.ksh</a><br>
      <br>
Have fun. :-)<br>
If it shows up on an iostat -xn then it should do the job.<br>
      <br>
Cheers<br>
    Vernon<br>
      <br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On Thu, Sep 9, 2010 at 12:05 PM, Roland
Soderstrom <span dir="ltr"><<a href="mailto:rolands@logicaltech.com.au" target="_blank">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">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>
        <font color="#888888"><br>
        <br>
- Roland</font>
        <div>
        <div><br>
        <div> <br>
        </div>
On  9/09/10 01:57 PM, Vernon Everett wrote:
        <blockquote 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 href="mailto:rolands@logicaltech.com.au" target="_blank">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><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 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 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 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 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>To unsubscribe from the xymon list, send an e-mail
to <a href="mailto:xymon-unsubscribe@xymon.com" target="_blank">xymon-unsubscribe@xymon.com</a> </div>
            </div>
          </blockquote>
          </div>
          <br>
        </blockquote>
        </div>
        </div>
        </div>
        <div>
        <div>To unsubscribe from the xymon list, send an e-mail
to <a href="mailto:xymon-unsubscribe@xymon.com" target="_blank">xymon-unsubscribe@xymon.com</a> </div>
        </div>
      </blockquote>
      </div>
      <br>
    </blockquote>
    </div>
    </div>
    </div>
    <div>
    <div>To unsubscribe from the xymon list, send an e-mail
to
    <a href="mailto:xymon-unsubscribe@xymon.com" target="_blank">xymon-unsubscribe@xymon.com</a>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
</blockquote>
</div></div></div><div><div></div><div class="h5">



To unsubscribe from the xymon list, send an e-mail to
<a href="mailto:xymon-unsubscribe@xymon.com" target="_blank">xymon-unsubscribe@xymon.com</a>


</div></div></blockquote></div><br>