From 73e4df42034e6efe70a9d339a28922ce9c1f45d0 Mon Sep 17 00:00:00 2001 From: jschauma Date: Mon, 7 Feb 2005 14:39:27 +0000 Subject: Initial import of ganglia-webfrontend: Ganglia provides a complete real-time monitoring and execution environment that is in use by hundreds of universities, private and government laboratories and commercial cluster implementors around the world. Whether you want to monitor hundreds of computers in real-time across a university campus or around the world, ganglia is for you. The ganglia web frontend provides access to the data collected by the monitoring core (parallel/ganglia-monitor-core) via the web. --- www/ganglia-webfrontend/DESCR | 8 +++ www/ganglia-webfrontend/MESSAGE | 19 +++++++ www/ganglia-webfrontend/Makefile | 30 +++++++++++ www/ganglia-webfrontend/PLIST | 92 ++++++++++++++++++++++++++++++++ www/ganglia-webfrontend/distinfo | 6 +++ www/ganglia-webfrontend/patches/patch-aa | 19 +++++++ www/ganglia-webfrontend/patches/patch-ab | 28 ++++++++++ 7 files changed, 202 insertions(+) create mode 100644 www/ganglia-webfrontend/DESCR create mode 100644 www/ganglia-webfrontend/MESSAGE create mode 100644 www/ganglia-webfrontend/Makefile create mode 100644 www/ganglia-webfrontend/PLIST create mode 100644 www/ganglia-webfrontend/distinfo create mode 100644 www/ganglia-webfrontend/patches/patch-aa create mode 100644 www/ganglia-webfrontend/patches/patch-ab (limited to 'www') diff --git a/www/ganglia-webfrontend/DESCR b/www/ganglia-webfrontend/DESCR new file mode 100644 index 00000000000..f861bf9f565 --- /dev/null +++ b/www/ganglia-webfrontend/DESCR @@ -0,0 +1,8 @@ +Ganglia provides a complete real-time monitoring and execution +environment that is in use by hundreds of universities, private and +government laboratories and commercial cluster implementors around the +world. Whether you want to monitor hundreds of computers in real-time +across a university campus or around the world, ganglia is for you. + +The ganglia web frontend provides access to the data collected by the +monitoring core (parallel/ganglia-monitor-core) via the web. diff --git a/www/ganglia-webfrontend/MESSAGE b/www/ganglia-webfrontend/MESSAGE new file mode 100644 index 00000000000..a7cb42021b8 --- /dev/null +++ b/www/ganglia-webfrontend/MESSAGE @@ -0,0 +1,19 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2005/02/07 14:39:28 jschauma Exp $ + +The Ganglia Web Frontend has been installed in the directory +${PREFIX}/share/httpd/htdocs/ganglia + +You must add appropriate configuration directives to your +apache configuration file (${PKG_SYSCONFDIR}/httpd/httpd.conf). +A typical configuration would be: + + Alias /ganglia/ "${PREFIX}/share/httpd/htdocs/ganglia/" + + + Options Indexes FollowSymlinks MultiViews + AllowOverride None + Order allow,deny + Allow from all + +=========================================================================== diff --git a/www/ganglia-webfrontend/Makefile b/www/ganglia-webfrontend/Makefile new file mode 100644 index 00000000000..a7a469044d1 --- /dev/null +++ b/www/ganglia-webfrontend/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/02/07 14:39:27 jschauma Exp $ +# + +DISTNAME= ganglia-webfrontend-2.5.7 +CATEGORIES= www parallel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/} + +MAINTAINER= jschauma@NetBSD.org +HOMEPAGE= http://ganglia.sourceforge.net/ +COMMENT= PHP based frontend for the Ganglia Cluster Monitor + +DEPENDS+= ap-php>=4.1:../../www/ap-php +DEPENDS+= ganglia-monitor-core>=2.5.7:../../parallel/ganglia-monitor-core + +NO_BUILD= YES + +DOCROOT= ${PREFIX}/share/httpd/htdocs/ganglia +MESSAGE_SUBST+= PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR} + +do-configure: + ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${WRKSRC}/conf.php > \ + ${WRKSRC}/conf.php.tmp && \ + ${MV} ${WRKSRC}/conf.php.tmp ${WRKSRC}/conf.php + ${RM} ${WRKSRC}/conf.php.orig ${WRKSRC}/templates/default/footer.tpl.orig + +do-install: + ${INSTALL_DATA_DIR} ${DOCROOT} + cd ${WRKSRC} && ${PAX} -rw . ${DOCROOT}/ + +.include "../../mk/bsd.pkg.mk" diff --git a/www/ganglia-webfrontend/PLIST b/www/ganglia-webfrontend/PLIST new file mode 100644 index 00000000000..57cc52faa6c --- /dev/null +++ b/www/ganglia-webfrontend/PLIST @@ -0,0 +1,92 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/07 14:39:28 jschauma Exp $ +share/httpd/htdocs/ganglia/addons/rocks/images/rocks.jpg +share/httpd/htdocs/ganglia/addons/rocks/assignments.php +share/httpd/htdocs/ganglia/addons/rocks/job.php +share/httpd/htdocs/ganglia/addons/rocks/templates/cluster-gmetric.tpl +share/httpd/htdocs/ganglia/addons/rocks/templates/assignments.tpl +share/httpd/htdocs/ganglia/addons/rocks/templates/header.tpl +share/httpd/htdocs/ganglia/addons/rocks/templates/job.tpl +share/httpd/htdocs/ganglia/addons/rocks/templates/queue.tpl +share/httpd/htdocs/ganglia/addons/rocks/templates/top.tpl +share/httpd/htdocs/ganglia/addons/rocks/functions.php +share/httpd/htdocs/ganglia/addons/rocks/get-ganglia.php +share/httpd/htdocs/ganglia/addons/rocks/debug-ass.php +share/httpd/htdocs/ganglia/addons/rocks/queue.php +share/httpd/htdocs/ganglia/addons/rocks/styles.css +share/httpd/htdocs/ganglia/addons/rocks/top.php +share/httpd/htdocs/ganglia/addons/rocks/cluster-gmetric.php +share/httpd/htdocs/ganglia/ChangeLog +share/httpd/htdocs/ganglia/AUTHORS +share/httpd/htdocs/ganglia/auth.php +share/httpd/htdocs/ganglia/footer.php +share/httpd/htdocs/ganglia/conf.php +share/httpd/htdocs/ganglia/class.TemplatePower.inc.php +share/httpd/htdocs/ganglia/cluster_legend.html +share/httpd/htdocs/ganglia/cluster_view.php +share/httpd/htdocs/ganglia/COPYING +share/httpd/htdocs/ganglia/host_gmetrics.php +share/httpd/htdocs/ganglia/functions.php +share/httpd/htdocs/ganglia/ganglia.php +share/httpd/htdocs/ganglia/get_context.php +share/httpd/htdocs/ganglia/get_ganglia.php +share/httpd/htdocs/ganglia/graph.php +share/httpd/htdocs/ganglia/grid_tree.php +share/httpd/htdocs/ganglia/header.php +share/httpd/htdocs/ganglia/host_view.php +share/httpd/htdocs/ganglia/index.php +share/httpd/htdocs/ganglia/show_node.php +share/httpd/htdocs/ganglia/pie.php +share/httpd/htdocs/ganglia/meta_view.php +share/httpd/htdocs/ganglia/node_legend.html +share/httpd/htdocs/ganglia/physical_view.php +share/httpd/htdocs/ganglia/templates/Rocks/images/ganglia.jpg +share/httpd/htdocs/ganglia/templates/Rocks/images/hardhat.png +share/httpd/htdocs/ganglia/templates/Rocks/images/rocks.jpg +share/httpd/htdocs/ganglia/templates/Rocks/cluster_extra.tpl +share/httpd/htdocs/ganglia/templates/Rocks/header.tpl +share/httpd/htdocs/ganglia/templates/Rocks/host_extra.tpl +share/httpd/htdocs/ganglia/templates/default/images/cluster_25-49.jpg +share/httpd/htdocs/ganglia/templates/default/images/cluster_0-24.jpg +share/httpd/htdocs/ganglia/templates/default/images/cluster_overloaded.jpg +share/httpd/htdocs/ganglia/templates/default/images/cluster_50-74.jpg +share/httpd/htdocs/ganglia/templates/default/images/cluster_75-100.jpg +share/httpd/htdocs/ganglia/templates/default/images/cluster_private.jpg +share/httpd/htdocs/ganglia/templates/default/images/grid_0-24.jpg +share/httpd/htdocs/ganglia/templates/default/images/grid_25-49.jpg +share/httpd/htdocs/ganglia/templates/default/images/grid_50-74.jpg +share/httpd/htdocs/ganglia/templates/default/images/grid_75-100.jpg +share/httpd/htdocs/ganglia/templates/default/images/grid_overloaded.jpg +share/httpd/htdocs/ganglia/templates/default/images/grid_private.jpg +share/httpd/htdocs/ganglia/templates/default/images/logo.jpg +share/httpd/htdocs/ganglia/templates/default/images/node_0-24.jpg +share/httpd/htdocs/ganglia/templates/default/images/node_25-49.jpg +share/httpd/htdocs/ganglia/templates/default/images/node_50-74.jpg +share/httpd/htdocs/ganglia/templates/default/images/node_75-100.jpg +share/httpd/htdocs/ganglia/templates/default/images/node_dead.jpg +share/httpd/htdocs/ganglia/templates/default/images/node_overloaded.jpg +share/httpd/htdocs/ganglia/templates/default/header-nobanner.tpl +share/httpd/htdocs/ganglia/templates/default/cluster_view.tpl +share/httpd/htdocs/ganglia/templates/default/footer.tpl +share/httpd/htdocs/ganglia/templates/default/grid_tree.tpl +share/httpd/htdocs/ganglia/templates/default/host_view.tpl +share/httpd/htdocs/ganglia/templates/default/header.tpl +share/httpd/htdocs/ganglia/templates/default/physical_view.tpl +share/httpd/htdocs/ganglia/templates/default/meta_view.tpl +share/httpd/htdocs/ganglia/templates/default/cluster_extra.tpl +share/httpd/htdocs/ganglia/templates/default/show_node.tpl +share/httpd/htdocs/ganglia/templates/default/node_extra.tpl +share/httpd/htdocs/ganglia/templates/default/host_gmetrics.tpl +share/httpd/htdocs/ganglia/templates/default/host_extra.tpl +share/httpd/htdocs/ganglia/private_clusters +share/httpd/htdocs/ganglia/styles.css +share/httpd/htdocs/ganglia/webfrontend.spec +@dirrm share/httpd/htdocs/ganglia/addons/rocks/templates +@dirrm share/httpd/htdocs/ganglia/addons/rocks/images +@dirrm share/httpd/htdocs/ganglia/addons/rocks +@dirrm share/httpd/htdocs/ganglia/addons +@dirrm share/httpd/htdocs/ganglia/templates/default/images +@dirrm share/httpd/htdocs/ganglia/templates/default +@dirrm share/httpd/htdocs/ganglia/templates/Rocks/images +@dirrm share/httpd/htdocs/ganglia/templates/Rocks +@dirrm share/httpd/htdocs/ganglia/templates +@dirrm share/httpd/htdocs/ganglia diff --git a/www/ganglia-webfrontend/distinfo b/www/ganglia-webfrontend/distinfo new file mode 100644 index 00000000000..891e1db0d2f --- /dev/null +++ b/www/ganglia-webfrontend/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/02/07 14:39:28 jschauma Exp $ + +SHA1 (ganglia-webfrontend-2.5.7.tar.gz) = db455c279e561a51c95004a9b709cfe15688d20f +Size (ganglia-webfrontend-2.5.7.tar.gz) = 112477 bytes +SHA1 (patch-aa) = 8f16c03a3f6c4234e2fbb742f54f748ff18e52b4 +SHA1 (patch-ab) = e78f35ea283860b345db4a4247b28898034cd7fd diff --git a/www/ganglia-webfrontend/patches/patch-aa b/www/ganglia-webfrontend/patches/patch-aa new file mode 100644 index 00000000000..89778d66526 --- /dev/null +++ b/www/ganglia-webfrontend/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/02/07 14:39:28 jschauma Exp $ + +--- conf.php.orig 2005-02-05 14:32:59.000000000 -0500 ++++ conf.php 2005-02-05 14:33:23.000000000 -0500 +@@ -22,12 +22,12 @@ + # + + # Where gmetad stores the rrd archives. +-$gmetad_root = "/var/lib/ganglia"; ++$gmetad_root = "/var/db/ganglia"; + $rrds = "$gmetad_root/rrds"; + + # Leave this alone if rrdtool is installed in $gmetad_root, + # otherwise, change it if it is installed elsewhere (like /usr/bin) +-define("RRDTOOL", "/usr/bin/rrdtool"); ++define("RRDTOOL", "@PREFIX@/bin/rrdtool"); + + # + # If you want to grab data from a different ganglia source specify it here. diff --git a/www/ganglia-webfrontend/patches/patch-ab b/www/ganglia-webfrontend/patches/patch-ab new file mode 100644 index 00000000000..345541e1738 --- /dev/null +++ b/www/ganglia-webfrontend/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/02/07 14:39:29 jschauma Exp $ + +--- templates/default/footer.tpl.orig 2005-02-06 13:29:17.000000000 -0500 ++++ templates/default/footer.tpl 2005-02-06 13:34:17.000000000 -0500 +@@ -1,5 +1,12 @@ +
+
++ ++ ++ ++
++ Of course it runs NetBSD! ++ + + Gmetad Web Frontend version {webfrontend-version} + RRDTool.
++
++Brought to you by pkgsrc - The NetBSD ++Packages collection.
+
+ + + -- cgit v1.2.3