[rrd-users] Re: blocy graph with description

This is a discussion on [rrd-users] Re: blocy graph with description within the RRD Users forums, part of the Networking and Network Related category; On Tue, Oct 17, 2006 at 12:07:43 +0200, Alex van den Bogaerdt wrote: > Please create a small ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-17-2006
Sebastian Pachuta
 
Posts: n/a
Default [rrd-users] Re: blocy graph with description

On Tue, Oct 17, 2006 at 12:07:43 +0200, Alex van den Bogaerdt wrote:

> Please create a small script that:
>
> 1) creates a database


rrdtool create cpu.rrd --step 300 \
DS:user:GAUGE:1800:0:100 \
DS:nice:GAUGE:1800:0:100 \
DS:system:GAUGE:1800:0:100 \
DS:iowait:GAUGE:1800:0:100 \
DS:idle:GAUGE:1800:0:100 \
RRA:AVERAGE:0.5:1:1400 \
RRA:AVERAGE:0.5:3:1400 \
RRA:AVERAGE:0.5:13:1400 \
RRA:AVERAGE:0.5:151:1400

> 2) fills the database with known data, for instance {1,2,3, ... n}


http://www.seba123.webd.pl/rrd-453/cpu.rrd.gz

> 3) creates an image, showing the blocky output
> 4) creates an image, not showing the blocky output



#! /bin/sh

good=1161088200
bad=1161088500
rrdtool graph good.png \
--end $good --start $good-630000 -w 700 -h 250 \
--lower-limit 0 --upper-limit 100 -r \
DEF:user=cpu.rrd:user:AVERAGE \
AREA:user#00f000:user

rrdtool graph bad.png \
--end $bad --start $bad-630000 -w 700 -h 250 \
--lower-limit 0 --upper-limit 100 -r \
DEF:user=cpu.rrd:user:AVERAGE \
AREA:user#00f000:user

http://www.seba123.webd.pl/rrd-453/good.png
http://www.seba123.webd.pl/rrd-453/bad.png

> When you're done, post the script here. When you do, explain why you
> think the "wrong" RRA is chosen, and why.


Should I copy first message from thread?

Regards

--
Sebastian Pachuta
seba123@seba123.webd.pl

--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:31 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0