Home Contact Download

asyd.net

Welcome to Bruno Bonfils's (aka asyd homepage).

This is an old revision of the document!


Download

You can find the last release here

Install

  • Check Makefile
  • Check if zsh and rrdtool are available
  • Type make to build the zonestats binary
  • Check rrdgraph.sh variables (especially RRDTOOL, RRA, PICS)
  • Copy zonestats and rrdgraph.sh where ever you want
  • Run './rrdgraph.sh create'
  • Add a crontab
  • Run './rrdgraph.sh graph' or add a crontab

crontab

0,5,10,15,20,25,30,35,40,45,50,55  *  *  *  *  /PATH/TO/rrdgraph.sh update

Example


Discussion

Henrik, %2006/%07/%07 %16:%Jul:

Looks great. Orca for Zones ;)

Sadly I seem to have a problem generating the graphs, it wont. Any idea of why?

/opt/ASYD/zstats/bin/zstats.pl graph daily can't rrd:graph at /opt/ASYD/zstats/bin/zstats.pl line 151. can't rrd:graph at /opt/ASYD/zstats/bin/zstats.pl line 182. /opt/ASYD/zstats/images/load.png–vertical-label=Percent–title=“CPU usage per zone”–height=120–width=500–imgformat=PNGDEF:global=/opt/ASYD/zstats/rra/global.rra:global_load:AVERAGEDEF:atr01=/opt/ASYD/zstats/rra/atr01.rra:atr01_load:AVERAGEDEF:ucs01=/opt/ASYD/zstats/rra/ucs01.rra:ucs01_load:AVERAGEDEF:zds01=/opt/ASYD/zstats/rra/zds01.rra:zds01_load:AVERAGEDEF:zss01=/opt/ASYD/zstats/rra/zss01.rra:zss01_load:AVERAGEDEF:fv01=/opt/ASYD/zstats/rra/fv01.rra:fv01_load:AVERAGESTACK:global#ff0000:globalGPRINT:global:LAST: %3.2lf %s\nSTACK:atr01#00ff00:atr01GPRINT:atr01:LAST: %3.2lf %s\nSTACK:ucs01#0000ff:ucs01GPRINT:ucs01:LAST: %3.2lf %s\nSTACK:zds01#444444:zds01GPRINT:zds01:LAST: %3.2lf %s\nSTACK:zss01#ff00ff:zss01GPRINT:zss01:LAST: %3.2lf %s\nSTACK:fv01#000000:fv01GPRINT:fv01:LAST: %3.2lf %s\n–

Henrik