Every site stat consist of three to five files. So our testing example will consist of those files: test1.config - configuration file test1.comp - list of computers test1.link - list of links between computers (optional) test1.legend - legend (optional) test1.state - actual state of computers (generated by CaLStats)
You need to create .config and .comp files for every site stat. You can
place as many sites as you want into data directory. Then just run gen_stats and stats will
be gererated. If you want up to date stats, insert gen_stats into cron daemon (for example every
5-10 minutes).
Installation
These programs must be available in the system: awk, PHP (with GD library)
unpack the archive
move calstats directory to /usr/local (or somewhere you want to use it in)
change path, directories and configuration in 'gen_stats'
if you have fping installed change STATS_TYPE from 'ping' to 'fping' (www.fping.com) for faster stats generation
if you have nmap installed change STATS_TYPE from 'ping' to 'nmap' (www.insecure.org/nmap/) for faster stats generation
run 'gen_stats' to test the configuration
edit 'data/*' files to match your configuration (sample files are included)
add 'gen_stats' to cron if you want to generate statistics periodically
Packet latency information is supported only if you are using ping or fping.