Index: head/net-mgmt/Makefile =================================================================== --- head/net-mgmt/Makefile +++ head/net-mgmt/Makefile @@ -123,6 +123,7 @@ SUBDIR += lldpd SUBDIR += mbrowse SUBDIR += mdata-client + SUBDIR += metronome SUBDIR += mk-livestatus SUBDIR += monitoring-plugins SUBDIR += mrtg Index: head/net-mgmt/metronome/Makefile =================================================================== --- head/net-mgmt/metronome/Makefile +++ head/net-mgmt/metronome/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= metronome +DISTVERSION= 0.9.0 +CATEGORIES= net-mgmt dns + +MAINTAINER= krion@FreeBSD.org +COMMENT= Client-side java script to render graphs w/o depending on graphite + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= eigen>0:math/eigen3 +LIB_DEPENDS= libboost_thread.so:devel/boost-libs + +USES= autoreconf:build libtool:build pathfix pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= ahupowerdns + +GNU_CONFIGURE= yes +LDFLAGS+= -L${LOCALBASE}/lib +USE_LDCONFIG= yes +SUB_FILES= pkg-message +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= DOCS + +pre-configure: + (cd ${WRKSRC}; ./bootstrap ) + +.include Index: head/net-mgmt/metronome/distinfo =================================================================== --- head/net-mgmt/metronome/distinfo +++ head/net-mgmt/metronome/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1511885551 +SHA256 (ahupowerdns-metronome-0.9.0_GH0.tar.gz) = 38bca2e5a57d3fbeeb3c36bd2d0213b3fb489f407853b2b98fec3c8765c06239 +SIZE (ahupowerdns-metronome-0.9.0_GH0.tar.gz) = 203074 Index: head/net-mgmt/metronome/files/pkg-message.in =================================================================== --- head/net-mgmt/metronome/files/pkg-message.in +++ head/net-mgmt/metronome/files/pkg-message.in @@ -0,0 +1,7 @@ +To run metronome create manually directory $PATH/stats: + +mkdir stats +metronome --stats-directory=$PATH/stats + +Edit %%DATADIR%%/html/local.js and add webserver IP address (port +8000 on :: by default). Index: head/net-mgmt/metronome/pkg-descr =================================================================== --- head/net-mgmt/metronome/pkg-descr +++ head/net-mgmt/metronome/pkg-descr @@ -0,0 +1,7 @@ +Mini-graphite that uses client-side java script to render graphs w/o +depending on graphite. + +metronome implements the carbon protocol, so anything that can feed +Graphite can feed metronome. We also accept submissions via POST. + +WWW: https://github.com/ahupowerdns/metronome Index: head/net-mgmt/metronome/pkg-plist =================================================================== --- head/net-mgmt/metronome/pkg-plist +++ head/net-mgmt/metronome/pkg-plist @@ -0,0 +1,20 @@ +bin/mdump +bin/metronome +bin/mmanage +bin/msubmit +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%DATADIR%%/html/detail.css +%%DATADIR%%/html/engine.js +%%DATADIR%%/html/graph.css +%%DATADIR%%/html/graphs.js +%%DATADIR%%/html/index.html +%%DATADIR%%/html/js/common.js +%%DATADIR%%/html/js/d3.v3.js +%%DATADIR%%/html/js/jquery-1.8.3.min.js +%%DATADIR%%/html/js/jsrender.js +%%DATADIR%%/html/js/purl.js +%%DATADIR%%/html/js/rickshaw.min.js +%%DATADIR%%/html/js/underscore-min.js +%%DATADIR%%/html/legend.css +%%DATADIR%%/html/lines.css +%%DATADIR%%/html/local.js