[xymon] custom check / graphs with multiple rrd files

Vernon Everett everett.vernon at gmail.com
Thu Sep 9 05:57:44 CEST 2010


Would be unfair to start the race after I have finished :-)

About to post to Xymonton.
Will update you once done.

Cheers
    Vernon

On Thu, Sep 9, 2010 at 11:03 AM, Roland Soderstrom <
rolands at logicaltech.com.au> wrote:

>  Hi,
>
> I'm trying to do the same (for solaris)
> By default the code is there on the client, but the server lacks the code
> to create the rrd file.
> The data is there on the server.
> This command shows me that the data is actually received by the server.
> xymonserver % $BB $BBDISP 'clientlog server0 section=iostatdisk'
> in hobbitd/rrd/do_iostat.c there is a do_iostatdisk_rrd function.
> but it isn't in hobbitd/do_rrd.c
> I'm not any good at C so I can just see it lacks some coding.
> The correct approach would be to fix the source so it includes and creates
> the iostatdisk rrd's and trend graphs will just work.
>
> Until next version I tried to fix it.
> 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)
> The graphs on the trends page is there but shows nothing.
> 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
>                 <last_ds> UNKN </last_ds>
> bash-3.00$
>
> I'm setting up a new test environment with Xymon 4.2.3 to see if I could
> get things going.
> I'm creating a new iostat script from scratch and trying to get the data to
> the trends page.
>
> Well see who wins the race.
>
> - Roland
>
>
>
>
> On  9/09/10 09:21 AM, Vernon Everett wrote:
>
> Funny you mention that, I just completed a script that does disk iostat,
> and graphs all the columns from an iostat -X
> (Solaris centric, but I am sure you could mod it for any other OS)
>
> The graphs show up in trends.
> 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.
>
> It has been running in test overnight, and if all looks good, I will post
> it later today.
>
> Cheers
>     Vernon
>
>
> On Thu, Sep 9, 2010 at 4:47 AM, Daniel Bourque <dbourque at weatherdata.com>wrote:
>
>> Hi all,
>>
>>   I want to create graphs for i/o per seconds on all disks on host
>> bob.somewhere.com . I am trying to do like the disk check, but I can't
>> hobbit to create multiple rrd files.
>>
>> so my check ends up running the following
>>
>> -------
>>
>> /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
>>
>>       iostat_tps : 23.40
>> "
>>
>> /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
>>
>>       iostat_tps : 12.00
>> "
>>
>> -----
>>
>> in hobbitserver.cfg :
>>
>> I appended "iostat_tps=ncv"  to TEST2RRD
>> I added NVC_iostat_tps="iostat_tps:GAUGE"
>>
>> ----
>>
>> I restarted the rrd processes
>>
>> ----
>>
>> I am not seeing
>>
>> iostat_tps,sda.rrd
>> iostat_tps,sdb.rrd
>>
>> under /opt/hobbit/data/rrd/bob.somewhere.com/
>>
>> ----
>>
>> my hope is to able to do a graph using something like
>>
>> [iostat_tps]
>>
>>       FNPATTERN iostat_tps(.*).rrd
>>
>>
>>
>> Any ideas ?
>>
>>
>> hobbit 4.2.0
>> RHEL 3
>>
>>
>> Thank !
>>
>>
>> --
>> Dan
>>
>>
>> To unsubscribe from the xymon list, send an e-mail to
>> xymon-unsubscribe at xymon.com
>>
>>
>>
>  To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe at xymon.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100909/58bfbfc8/attachment.html>


More information about the Xymon mailing list