16e898a5a8
- Torrus/Renderer/RPC.pm (rpc_timeseries): TIMESERIES RPC call now returns title, labels, and vertical_label - init.d/torrus.in: utilize the new launcher in init script - bin/launcher.in: new utility for starting-stopping daemons - bin/action_snmptrap.in: TORRUS_NPCOMMENT is deliverd in .10 in SNMP traps - Torrus/DevDiscover/RFC2670_DOCS_IF.pm: new discovery parameter: RFC2670_DOCS_IF::disable-downstreams - Torrus/Collector/SNMP_Params.pm: "aes128cfb" is invalid value for snmp-privprotocol, should be "aes" - Torrus/Collector/SNMP.pm: DNS errors treated as host unreachable; reachability statistics more accurate - Torrus/Renderer/RPC.pm (rpc_timeseries): added DATAONLY parameter for TIMESERIES RPC call - Torrus/Renderer/RPC.pm: AGGREGATE_DS RPC call now works for leaves without MAX RRA - Torrus/Renderer/RRDtool.pm (rrd_make_hrules): using skipscale for horizontal rules (requires rrdtool-1.4.8 or newer) - Torrus/DevDiscover/F5BigIp.pm: added system performance statistics and 64-bit interface counters - Torrus/DevDiscover/RFC2863_IF_MIB.pm: new discovery parameter: RFC2863_IF_MIB::disable-all - Torrus/Renderer/RRDtool.pm: now hrules are drawn with semi-transparent LINE1 - xmlconfig/defaults.xml: two new horizontal rules: warn-level, crit-level - xmlconfig/defaults.xml: moved monitor-period and monitor-timeoffset from snmp-defs.xml - bin/monitor.in: new CLI option: --runalways - configs/torrus-config.pl: new configuration parameters: $Torrus::Collector::runAlways = 0; $Torrus::Monitor::runAlways = 0; - Torrus/DevDiscover/CiscoGeneric.pm: added support for CISCO-SYSTEM-EXT-MIB (mainly needed for Cisco Nexus) - Torrus/DevDiscover/Albis_ULAF.pm (discover): new discovery parameter: Albis_ULAF::mp-name-filter - Torrus/DevDiscover/CiscoIOS.pm: support for Cisco Nexus; persistent ifIndex for Nexus - Torrus/DevDiscover/Fortinet.pm: new discovery module for Fortinet products - Torrus/DevDiscover/CiscoIOS.pm: Bugfix in discovery sequence. This bug was invisible up to perl v5.18.0. Now Perl randomizes hash keys on every loop. - Torrus/Renderer/RPC.pm: new RPC method: TIMESERIES - Torrus/DevDiscover/UcdSnmp.pm: Loopback interfaces filtered out - Torrus/DevDiscover/RFC4293_IP_MIB.pm: New params: RFC4293_IP_MIB::tokenset-members, RFC4293_IP_MIB::ipv4-external-serviceid, RFC4293_IP_MIB::ipv6-external-serviceid, New selector action: TokensetMember - Torrus/DevDiscover/RFC2863_IF_MIB.pm: Improved interface indexing for unknown devices. New parameters: RFC2863_IF_MIB::name-hint RFC2863_IF_MIB::comment-hint - Torrus/DevDiscover/CiscoIOS.pm: new discovery parameter: CiscoIOS::ifindex-persist - Torrus/DevDiscover/RFC4293_IP_MIB.pm: new discovery module for IPv4/IPv6 traffic stats - Torrus/DevDiscover/CiscoGeneric.pm (discover): 64-bit gauges for Cisco memory pools - Torrus/ConfigTree/Writer.pm (initRoot): new parameter: tree-name automatically inserted to the top of the tree PR: 209745 Submitted by: corsmith@gmail.com (maintainer)
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
# Created by: Corey Smith <corsmith@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= torrus
|
|
PORTVERSION= 2.09
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= SF/torrus/torrus/
|
|
|
|
MAINTAINER= corsmith@gmail.com
|
|
COMMENT= Data Series Processing Framework - think mrtg with xml configs
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= rrdtool>=0:databases/rrdtool \
|
|
p5-XML-LibXML>=0:textproc/p5-XML-LibXML \
|
|
p5-BerkeleyDB>=0:databases/p5-BerkeleyDB \
|
|
p5-Template-Toolkit>=0:www/p5-Template-Toolkit \
|
|
p5-Proc-Daemon>=0:devel/p5-Proc-Daemon \
|
|
p5-Net-SNMP>=0:net-mgmt/p5-Net-SNMP \
|
|
p5-URI>=0:net/p5-URI \
|
|
p5-TimeDate>=0:devel/p5-TimeDate \
|
|
p5-Apache-Session>=0:www/p5-Apache-Session \
|
|
p5-FCGI>=0:www/p5-FCGI \
|
|
p5-JSON>0:converters/p5-JSON
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USE_GNOME= libxml2
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
GNU_CONFIGURE= yes
|
|
NO_ARCH= yes
|
|
|
|
USERS= torrus
|
|
GROUPS= torrus
|
|
PLIST_SUB= TORRUS_USER=${USERS}
|
|
USE_RC_SUBR= torrus_collector torrus_monitor
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
var_user=${USERS} var_group=${USERS} \
|
|
torrus_user=${USERS} \
|
|
defrrddir=/var/torrus/collector_rrd \
|
|
pkghome=${DATADIR} \
|
|
pkgbindir=${PREFIX}/libexec/torrus \
|
|
pkgdocdir=${DOCSDIR} \
|
|
exmpdir=${EXAMPLESDIR} \
|
|
perllibdir=${PREFIX}/${SITE_PERL_REL} \
|
|
scriptsdir=${PREFIX}/libexec/torrus/scripts \
|
|
--enable-pkgonly
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}/var/torrus/session_data/store
|
|
@${MKDIR} ${STAGEDIR}/var/torrus/session_data/lock
|
|
@${MKDIR} ${STAGEDIR}/var/torrus/session_data
|
|
@${MKDIR} ${STAGEDIR}/var/torrus/reports
|
|
@${MKDIR} ${STAGEDIR}/var/torrus/db
|
|
@${MKDIR} ${STAGEDIR}/var/torrus/collector_rrd
|
|
@${MKDIR} ${STAGEDIR}/var/torrus/cache
|
|
@${MKDIR} ${STAGEDIR}/var/torrus
|
|
@${MKDIR} ${STAGEDIR}/var/run/torrus
|
|
@${MKDIR} ${STAGEDIR}/var/log/torrus
|
|
|
|
.include <bsd.port.mk>
|