This is the guifi.net snpservices package.
This software provides graph services in the context of the
Spontaneous Networklink Platform.
Uses nodexchange/cnml as a input format, and provides traffic and
latency/availability graphs in image format by using mrtg/rrdtool
collected history by simple HTTP URLs, therefore is easily
plugable to any web application.
1) Install and/or configure a webserver of your choice to serve
php files from /usr/local/www/snpservices/ (you also might have to
increase your webserver's upstream timeout for certain requests
2) Edit /usr/local/www/snpservices/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 /usr/local/www/snpservices/graphs ]; then cd /usr/local/www/snpservices/graphs; fi; if [ -x /usr/local/bin/php ] && [ -r /usr/local/www/snpservices/graphs/mrtgcsv2mrtgcfg.php ]; then env LANG=C /usr/local/bin/php mrtgcsv2mrtgcfg.php >> /var/log/snpservices_mrtgcfg.log 2>&1; fi
*/5 * * * * root if [ -x /usr/local/bin/mrtg ] && [ -r /var/tmp/snpservices/data/mrtg.cfg ]; then env LANG=C /usr/local/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:
https://guifi.net/en/node/72593
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
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* @BABOLO <.@babolo.ru>
* Alex Samorukov, samm@freebsd.org
* Alexander Kriventsov <avk@vl.ru>
* Alexander Sulfrian <alexander@sulfrian.net>
* Alexander Y. Grigoryev <alexander.4mail@gmail.com>
* Alexandre Biancalana <ale@biancalanas.net>
* Alexandre Snarskii <snar@paranoia.ru>
* Alexandre Snarskii <snar@snar.spb.ru>
* Alexey Bobkov <mr.deadlystorm@gmail.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
(Only the first 15 lines of the commit message are shown above )
Don't quote {} in find -exec calls.
Braces are not shell metacharacters, and they do not need to be quoted.
By the time find parses its arguments and dicovers them, the quoting
will have been removed by the shell anyway.
Sponsored by: Absolight
Update databases/rrdtool to 1.6.0
Most notably, this version of rrdtools.so is thread safe, so the
rrdtools_th.so library is removed.
Bump portrevision for depending ports due to shlib version bump.
For full changelog: http://oss.oetiker.ch/rrdtool/pub/CHANGES
Reviewed by: kwm
Differential Revision: D6168
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