pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ganglia-webfrontend Initial import of ganglia-webf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/252890e22f44
branches:  trunk
changeset: 488729:252890e22f44
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Mon Feb 07 14:39:27 2005 +0000

description:
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.

diffstat:

 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(+), 0 deletions(-)

diffs (230 lines):

diff -r e78d87406df4 -r 252890e22f44 www/ganglia-webfrontend/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ganglia-webfrontend/DESCR     Mon Feb 07 14:39:27 2005 +0000
@@ -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 -r e78d87406df4 -r 252890e22f44 www/ganglia-webfrontend/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ganglia-webfrontend/MESSAGE   Mon Feb 07 14:39:27 2005 +0000
@@ -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/"
+
+    <Directory "${PREFIX}/share/httpd/htdocs/ganglia/">
+        Options Indexes FollowSymlinks MultiViews
+        AllowOverride None
+        Order allow,deny
+        Allow from all
+    </Directory>
+===========================================================================
diff -r e78d87406df4 -r 252890e22f44 www/ganglia-webfrontend/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ganglia-webfrontend/Makefile  Mon Feb 07 14:39:27 2005 +0000
@@ -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@localhost
+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 -r e78d87406df4 -r 252890e22f44 www/ganglia-webfrontend/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ganglia-webfrontend/PLIST     Mon Feb 07 14:39:27 2005 +0000
@@ -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 -r e78d87406df4 -r 252890e22f44 www/ganglia-webfrontend/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ganglia-webfrontend/distinfo  Mon Feb 07 14:39:27 2005 +0000
@@ -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 -r e78d87406df4 -r 252890e22f44 www/ganglia-webfrontend/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ganglia-webfrontend/patches/patch-aa  Mon Feb 07 14:39:27 2005 +0000
@@ -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 -r e78d87406df4 -r 252890e22f44 www/ganglia-webfrontend/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ganglia-webfrontend/patches/patch-ab  Mon Feb 07 14:39:27 2005 +0000
@@ -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 @@
+ <HR>
+ <CENTER>
++<table border="0" cellspacing="5" cellpadding="5">
++  <tr>
++    <td>
++      <a href="http://www.netbsd.org/";><img src="http://www.netbsd.org/images/NetBSD-flag.png";
++        border="0" alt="Of course it runs NetBSD!"></a>
++    </td>
++    <td>
+ <FONT SIZE="-1" class=footer>
+ Gmetad Web Frontend version {webfrontend-version}
+ <A HREF="http://ganglia.sourceforge.net/downloads.php?component=ganglia-webfrontend&amp;
+@@ -11,7 +18,10 @@
+ 
+ Downloading and parsing ganglia's XML tree took {parsetime}.<BR>
+ Images created with <A HREF="http://www.rrdtool.com/";>RRDTool</A>.<BR>
++<br>
++Brought to you by <a href="http://www.pkgsrc.org/";>pkgsrc - The NetBSD
++Packages collection</a>.<br>
+ </FONT>
+ </CENTER>
+ 
+ </FORM>



Home | Main Index | Thread Index | Old Index