Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2011 23:52:32 +0400 (MSD)
From:      "Alexey V. Degtyarev" <alexey@renatasystems.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/160262: New port: net-mgmt/better-cacti-templates - better Cacti templates for MySQL, Apache, Memcached and more
Message-ID:  <201108281952.p7SJqW0Z068062@svc-1.renatasystems.org>
Resent-Message-ID: <201108282000.p7SK0QVs015475@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         160262
>Category:       ports
>Synopsis:       New port: net-mgmt/better-cacti-templates - better Cacti templates for MySQL, Apache, Memcached and more
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 28 20:00:26 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Alexey V. Degtyarev
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD renatasystems.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Feb 23 16:34:34 UTC 2011 root@amd64-builder.renatasystems.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
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/
>How-To-Repeat:
	
>Fix:

	

--- better-cacti-templates.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	better-cacti-templates
#	better-cacti-templates/distinfo
#	better-cacti-templates/pkg-descr
#	better-cacti-templates/Makefile
#	better-cacti-templates/pkg-plist
#
echo c - better-cacti-templates
mkdir -p better-cacti-templates > /dev/null 2>&1
echo x - better-cacti-templates/distinfo
sed 's/^X//' >better-cacti-templates/distinfo << '553d92c5c15afadb64607b248af7877d'
XSHA256 (better-cacti-templates-1.1.8.tar.gz) = 9a983b765d482893186452f40c1766607cef83fe113506f7440b18e76634a11b
XSIZE (better-cacti-templates-1.1.8.tar.gz) = 275805
553d92c5c15afadb64607b248af7877d
echo x - better-cacti-templates/pkg-descr
sed 's/^X//' >better-cacti-templates/pkg-descr << '892271249e426babaab5772ae607179e'
XCacti templates you'll find online are often poor quality and have many
Xproblems. Cacti's design can also cause inefficiency if you don't know how to
Xuse it correctly, and most templates don't avoid those inefficiencies. The
Xtemplates offered by this project should work around all of these problems,
Xwhich are pretty common in other templates:
X
X- No duplicated data in RRD files.
X
X- No unused data in RRD files.
X
X- No wasted polling for the same data over and over, so your Cacti installation
X  won't start timing out.
X
XThe project is also known as mysql-cacti-templates, for historical reasons. But
Xit offers many more kinds of templates.
X
XWWW: http://code.google.com/p/mysql-cacti-templates/
892271249e426babaab5772ae607179e
echo x - better-cacti-templates/Makefile
sed 's/^X//' >better-cacti-templates/Makefile << 'f68de808870d6cbc7986bb97486ea93a'
X# New ports collection makefile for:	better-cacti-templates
X# Date created:				Sat Aug 27 2011
X# Whom:					Alexey V. Degtyarev <alexey@renatasystems.org>
X#
X# $FreeBSD$
X
XPORTNAME=	better-cacti-templates
XPORTVERSION=	1.1.8
XCATEGORIES=	net-mgmt
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE:S/better/mysql/}
X
XMAINTAINER=	alexey@renatasystems.org
XCOMMENT=	Better Cacti templates for MySQL, Apache, Memcached and more
X
XLICENSE=	GPLv2
XLICENSE_FILE=	${WRKSRC}/COPYING
X
XRUN_DEPENDS=	cacti>=0:${PORTSDIR}/net-mgmt/cacti \
X		p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
X		p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper \
X		p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
X		p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
X		p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
X
XUSE_MYSQL=	yes
XUSE_PHP=	yes
XWANT_PHP_CLI=	yes
X
XNO_BUILD=	yes
X
XCACTIDIR?=	share/cacti
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	README Changelog
X.endif
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for doc in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/${doc}
X.endfor
X.endif
X	${MKDIR} ${PREFIX}/share/cacti/scripts
X	${MKDIR} ${PREFIX}/share/better-cacti-templates
X	cd ${WRKSRC}
X.for dir in definitions misc templates tools
X	cd ${WRKSRC} && ${PAX} -r -w ${dir} \
X		${PREFIX}/share/better-cacti-templates
X.endfor
X.for script in ss_get_by_ssh.php ss_get_mysql_stats.php
X	${INSTALL_DATA} ${WRKSRC}/scripts/${script} \
X		${PREFIX}/share/cacti/scripts/${script}
X.endfor
X
X.include <bsd.port.mk>
f68de808870d6cbc7986bb97486ea93a
echo x - better-cacti-templates/pkg-plist
sed 's/^X//' >better-cacti-templates/pkg-plist << '85def78fac584b7b621c0990078008b2'
Xshare/better-cacti-templates/definitions/apache_definitions.pl
Xshare/better-cacti-templates/definitions/gnu_linux_definitions.pl
Xshare/better-cacti-templates/definitions/jmx_definitions.pl
Xshare/better-cacti-templates/definitions/memcached_definitions.pl
Xshare/better-cacti-templates/definitions/mongodb_definitions.pl
Xshare/better-cacti-templates/definitions/mysql_definitions.pl
Xshare/better-cacti-templates/definitions/nginx_definitions.pl
Xshare/better-cacti-templates/definitions/openvz_definitions.pl
Xshare/better-cacti-templates/definitions/redis_definitions.pl
Xshare/better-cacti-templates/misc/jmx-monitor.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_apache_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_gnu_linux_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_jmx_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_memcached_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_mongodb_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_mysql_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_nginx_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_openvz_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/templates/cacti_host_template_x_redis_server_ht_0.8.6i-sver1.1.8.xml
Xshare/better-cacti-templates/tools/extract-template.pl
Xshare/better-cacti-templates/tools/graph_defs.pl
Xshare/better-cacti-templates/tools/make-template.pl
Xshare/better-cacti-templates/tools/unique-hashes.pl
Xshare/cacti/scripts/ss_get_by_ssh.php
Xshare/cacti/scripts/ss_get_mysql_stats.php
X@dirrm share/better-cacti-templates/tools
X@dirrm share/better-cacti-templates/templates
X@dirrm share/better-cacti-templates/misc
X@dirrm share/better-cacti-templates/definitions
X@dirrm share/better-cacti-templates
X@dirrmtry share/cacti/scripts
X@dirrmtry share/cacti
85def78fac584b7b621c0990078008b2
exit
--- better-cacti-templates.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108281952.p7SJqW0Z068062>