|
projects:zonestats 2006/01/04 22:38 |
projects:zonestats 2008/10/03 08:25 current |
| | ======Download====== | | ======Download====== |
| | | | |
| - | You can find the last release [[http://www.asyd.net/upstream|here]] | + | You can find the lastest release [[http://www.asyd.net/upstream|here]] |
| | | | |
| - | ======Install====== | + | **Current release: 0.2b** |
| | + | |
| | + | ======Installation====== |
| | + | |
| | + | ===== Requirements ===== |
| | + | |
| | + | | Perl | |
| | + | | The RRDs Perl Module | |
| | + | |
| | + | =====Package===== |
| | + | |
| | + | * [[http://www.asyd.net/upstream/ASYDzstats.pkg|Download the package]] (**Sparc only**) |
| | + | * pkgadd -Gd ASYDzstats.pkg |
| | + | * Check the configuration file /opt/ASYD/ztats/etc/zstats.conf |
| | + | * Add the crontab |
| | + | |
| | + | =====Subversion===== |
| | + | |
| | + | * Choose the branch : |
| | + | * svn checkout http://svn.asyd.net/svn/zonestats/trunk zonestats |
| | + | * svn checkout http://svn.asyd.net/svn/zonestats/releases/<last release> zonestats |
| | | | |
| | * Check Makefile | | * Check Makefile |
| - | * Check if zsh and rrdtool are available | |
| | * Type make to build the zonestats binary | | * Type make to build the zonestats binary |
| - | * Check rrdgraph.sh variables (especially RRDTOOL, RRA, PICS) | + | * Tweak the zstats.conf, and change its path in zstats.pl |
| - | * Copy zonestats and rrdgraph.sh where ever you want | + | * Add the crontab |
| - | * Run './rrdgraph.sh create' | + | |
| - | * Add a crontab | + | |
| - | * Run './rrdgraph.sh graph' or add a crontab | + | |
| | | | |
| - | //crontab// | + | ===== crontab ===== |
| | <code> | | <code> |
| - | 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /PATH/TO/rrdgraph.sh update | + | 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /PATH/TO/rzstats.pl update |
| | </code> | | </code> |
| | | | |
| | | | |
| | <html> | | <html> |
| - | <img src=/projects/zonestats/samples/zones-load.png> | + | <img src="/projects/zonestats/samples/zones-load.png" alt="cpu usage" /> |
| - | <br> | + | <br/> |
| - | <img src=/projects/zonestats/samples/zones-mem.png> | + | <img src="/projects/zonestats/samples/zones-mem.png" alt="memory usage" /> |
| | </html> | | </html> |
| | + | |
| | ~~DISCUSSION~~ | | ~~DISCUSSION~~ |