freebsd-ports/net-mgmt/guifi-snpservices/files/pkg-message.in
Kurt Jaeger b8129d8b0f New port: net-mgmt/guifi-snpservices
This software provides graph services in the context of the
Spontaneous Networklink Platform.

WWW: http://es.wiki.guifi.net/wiki/SNPservices

PR:		189904
Submitted by:	tphilipp@potion-studios.com
2014-08-04 09:18:27 +00:00

31 lines
1.5 KiB
Text

POST-INSTALL CONFIGURATION FOR GUIFI SNPSERVICES
------------------------------------------------
1) Install and/or configure a webserver of your choice to serve
php files from %%WWWDIR%%/ (you also might have to
increase your webserver's upstream timeout for certain requests
2) Edit %%WWWDIR%%/common/config.php.template and set
$SNPGraphServerId to your service's ID (note, it's the *service*,
NOT the "server" ID)
3) setup a cronjob to keep your graphs and stats up to date; for
example:
*/30 * * * * root if [ -x %%WWWDIR%%/graphs ]; then cd %%WWWDIR%%/graphs; fi; if [ -x %%PREFIX%%/bin/php ] && [ -r %%WWWDIR%%/graphs/mrtgcsv2mrtgcfg.php ]; then env LANG=C %%PREFIX%%/bin/php mrtgcsv2mrtgcfg.php >> /var/log/snpservices_mrtgcfg.log 2>&1; fi
*/5 * * * * root if [ -x %%PREFIX%%/bin/mrtg ] && [ -r /var/tmp/snpservices/data/mrtg.cfg ]; then env LANG=C %%PREFIX%%/bin/mrtg /var/tmp/snpservices/data/mrtg.cfg --lock-file /var/tmp/mrtg/lockfile_guifi >> /var/log/snpservices_mrtg.log 2>&1; fi
4) consider logrotating /var/log/snpservices_*.log
For more information, see various guifi.net doc pages, and related:
http://es.wiki.guifi.net/wiki/Servidor_de_gr%C3%A1ficas
http://es.wiki.guifi.net/wiki/Servidor_de_gr%C3%A1ficas_1
http://es.wiki.guifi.net/wiki/Servidor_de_gr%C3%A1ficas_2
http://www3.uji.es/~vrubert/guifi_linux/graph.html#slide1
http://es.wiki.guifi.net/wiki/Monitor
http://guifi.net/ca/node/9071
------------------------------------------------