growthforecast.pl - Lightning Fast Graphing/Visualization
% growthforecast.pl --data-dir=/path/to/dir
GrowthForecast is graphing/visualization web tool built on RRDtool
To install growthforecast, these libraries are needed.
glib
xml2
pango
cairo
(CentOS) $ sudo yum groupinstall "Development Tools" $ sudo yum install pkgconfig glib2-devel gettext libxml2-devel pango-devel cairo-devel (Ubuntu) $ sudo apt-get build-dep rrdtool
$ cpanm GrowthForecast
It's recommended to using perlbrew
A directory to store rrddata and metadata
TCP port listen on. Default is 5125
IP address to listen on
IP addresses or CIDR of reverse proxy
IP addresses or CIDR to allow access from. Default is empty (allow access from any remote ip address)
don't generate 1min rrddata and graph Default is "1" (enabled)
DB connection setting to store metadata. format like dbi:mysql:[dbname];hostname=[hostnaem] Default is no mysql setting. GrowthForecast save metadata to SQLite
Display help
GrowthForecast uses SQLite as metadata by default. And also supports MySQL
GrowthForecast needs these MySQL privileges.
CREATE
ALTER
DELETE
INSERT
UPDATE
SELECT
Sample GRANT statement
mysql> GRANT statement sample> GRANT CREATE, ALTER, DELETE, INSERT, UPDATE, SELECT \\ ON growthforecast.* TO 'www'\@'localhost' IDENTIFIED BY foobar;
Give USERNAME and PASSWORD to GrowthForecast by environment value
$ MYSQL_USER=www MYSQL_PASSWORD=foobar growthforecast.pl \\ --data-dir /home/user/growthforeacst \\ -with-mysql dbi:mysql:growthforecast;hostname=localhost
AUTHOR Masahiro Nagano <kazeburo {at} gmail.com>
LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install GrowthForecast, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GrowthForecast
CPAN shell
perl -MCPAN -e shell install GrowthForecast
For more information on module installation, please visit the detailed CPAN module installation guide.