Home Contact Download

asyd.net

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

Download

You can find the lastest release here

Current release: 0.2b

Installation

Requirements

Perl
The RRDs Perl Module

Package

  • Download the package (Sparc only)
  • pkgadd -Gd ASYDzstats.pkg
  • Check the configuration file /opt/ASYD/ztats/etc/zstats.conf
  • Add the crontab

Subversion

  • Check Makefile
  • Type make to build the zonestats binary
  • Tweak the zstats.conf, and change its path in zstats.pl
  • Add the crontab

crontab

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

Example

cpu usage
memory usage

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