1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- No duplicated data in RRD files.

- No unused data in RRD files.
- No wasted polling for the same data over and over

PR:		ports/160272
Submitted by:	Alexey V. Degtyarev <alexey@renatasystems.org> (maintainer)
Approved by:	maintainer, gabor (mentor)
This commit is contained in:
Michael Scheidell 2012-01-30 09:04:54 +00:00
parent 7a30e3c83a
commit 4c5ae61118
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290104
5 changed files with 108 additions and 0 deletions

View File

@ -21,6 +21,7 @@
SUBDIR += arts++
SUBDIR += aspathtree
SUBDIR += bandwidthd
SUBDIR += better-cacti-templates
SUBDIR += bgpq
SUBDIR += bgpq3
SUBDIR += bigsister

View File

@ -0,0 +1,56 @@
# New ports collection makefile for: better-cacti-templates
# Date created: Sat Aug 27 2011
# Whom: Alexey V. Degtyarev <alexey@renatasystems.org>
#
# $FreeBSD$
PORTNAME= better-cacti-templates
PORTVERSION= 1.1.8
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE:S/better/mysql/}
MAINTAINER= alexey@renatasystems.org
COMMENT= Better Cacti templates for MySQL, Apache, Memcached and more
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= cacti>=0:${PORTSDIR}/net-mgmt/cacti \
p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper \
p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
USE_MYSQL= yes
USE_PHP= yes
WANT_PHP_CLI= yes
NO_BUILD= yes
CACTIDIR?= share/cacti
.if !defined(NOPORTDOCS)
PORTDOCS= README Changelog
.endif
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/${doc}
.endfor
.endif
${MKDIR} ${PREFIX}/share/cacti/scripts
${MKDIR} ${PREFIX}/share/better-cacti-templates
cd ${WRKSRC}
.for dir in definitions misc templates tools
cd ${WRKSRC} && ${PAX} -r -w ${dir} \
${PREFIX}/share/better-cacti-templates
.endfor
.for script in ss_get_by_ssh.php ss_get_mysql_stats.php
${INSTALL_DATA} ${WRKSRC}/scripts/${script} \
${PREFIX}/share/cacti/scripts/${script}
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (better-cacti-templates-1.1.8.tar.gz) = 9a983b765d482893186452f40c1766607cef83fe113506f7440b18e76634a11b
SIZE (better-cacti-templates-1.1.8.tar.gz) = 275805

View File

@ -0,0 +1,17 @@
Cacti templates you'll find online are often poor quality and have many
problems. Cacti's design can also cause inefficiency if you don't know how to
use it correctly, and most templates don't avoid those inefficiencies. The
templates offered by this project should work around all of these problems,
which are pretty common in other templates:
- No duplicated data in RRD files.
- No unused data in RRD files.
- No wasted polling for the same data over and over, so your Cacti installation
won't start timing out.
The project is also known as mysql-cacti-templates, for historical reasons. But
it offers many more kinds of templates.
WWW: http://code.google.com/p/mysql-cacti-templates/

View File

@ -0,0 +1,32 @@
share/better-cacti-templates/definitions/apache_definitions.pl
share/better-cacti-templates/definitions/gnu_linux_definitions.pl
share/better-cacti-templates/definitions/jmx_definitions.pl
share/better-cacti-templates/definitions/memcached_definitions.pl
share/better-cacti-templates/definitions/mongodb_definitions.pl
share/better-cacti-templates/definitions/mysql_definitions.pl
share/better-cacti-templates/definitions/nginx_definitions.pl
share/better-cacti-templates/definitions/openvz_definitions.pl
share/better-cacti-templates/definitions/redis_definitions.pl
share/better-cacti-templates/misc/jmx-monitor.xml
share/better-cacti-templates/templates/cacti_host_template_x_apache_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/templates/cacti_host_template_x_gnu_linux_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/templates/cacti_host_template_x_jmx_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/templates/cacti_host_template_x_memcached_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/templates/cacti_host_template_x_mongodb_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/templates/cacti_host_template_x_mysql_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/templates/cacti_host_template_x_nginx_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/templates/cacti_host_template_x_openvz_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/templates/cacti_host_template_x_redis_server_ht_0.8.6i-sver1.1.8.xml
share/better-cacti-templates/tools/extract-template.pl
share/better-cacti-templates/tools/graph_defs.pl
share/better-cacti-templates/tools/make-template.pl
share/better-cacti-templates/tools/unique-hashes.pl
share/cacti/scripts/ss_get_by_ssh.php
share/cacti/scripts/ss_get_mysql_stats.php
@dirrm share/better-cacti-templates/tools
@dirrm share/better-cacti-templates/templates
@dirrm share/better-cacti-templates/misc
@dirrm share/better-cacti-templates/definitions
@dirrm share/better-cacti-templates
@dirrmtry share/cacti/scripts
@dirrmtry share/cacti