BSD Ports

net-mgmt/guifi-snpservices 0.2.2.8_1 DragonFly

Graphics server for the guifi.net meshnet

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
net-mgmt, www
Package size
30.8 KiB, 116.0 KiB installed

Description

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.

In the other systems

The newest version among them is 0.2.2.8, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet-mgmt/guifi-snpservices0.2.2.8_1 newestnone known-[email protected]-
FreeBSDnet-mgmt/guifi-snpservices0.2.2.8_1 newestnone known-[email protected]-
HardenedBSDnet-mgmt/guifi-snpservices0.2.2.8_1 newestno data-[email protected]-
GhostBSDnet-mgmt/guifi-snpservices0.2.2.8_1 newestno data-[email protected]-

Install

Binary package:

pkg install guifi-snpservices

From DPorts:

cd /usr/dports/net-mgmt/guifi-snpservices && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

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