# PaCkAgE DaTaStReAm
APSTC-ganglia-gmetad 1 2240
# end of header
070701000484b9000081a400000000000000000000000143c767e8000000ca0000001c0000008000000000000000000000001d00000000APSTC-ganglia-gmetad/pkginfo PKG=APSTC-ganglia-gmetad
NAME=ganglia server (gmetad)
ARCH=x86
VERSION=3.0.1
CATEGORY=application
VENDOR=APSTC
EMAIL=lkng@apstc.sun.com.sg
BASEDIR=/
CLASSES=none manifest
PSTAMP=thebe-int20060113164216
070701000484b8000081a400000000000000000000000143c767e8000005a70000001c0000008000000000000000000000001c00000000APSTC-ganglia-gmetad/pkgmap : 1 2240
1 i depend 45 4054 1137137529
1 d none etc 0755 root root
1 f none etc/gmetad.conf 0644 root bin 4775 34344 1137137529
1 i i.manifest 1503 55366 1137137529
1 d none lib 0755 root root
1 d none lib/svc 0755 root root
1 d none lib/svc/method 0755 root root
1 f none lib/svc/method/svc-gmetad 0755 root bin 1122 18944 1137137529
1 i pkginfo 202 16001 1137141736
1 i r.manifest 1056 15809 1137141730
1 d none usr 0755 root root
1 d none usr/local 0755 root root
1 d none usr/local/ganglia-3.0.1 0755 root root
1 d none usr/local/ganglia-3.0.1/man 0755 root root
1 d none usr/local/ganglia-3.0.1/man/man1 0755 root root
1 f none usr/local/ganglia-3.0.1/man/man1/gmetad.1 0644 root bin 734 59718 1137137529
1 d none usr/local/ganglia-3.0.1/sbin 0755 root root
1 d none usr/local/ganglia-3.0.1/sbin/amd64 0755 root root
1 f none usr/local/ganglia-3.0.1/sbin/amd64/gmetad 0755 root bin 585896 36458 1137137529
1 f none usr/local/ganglia-3.0.1/sbin/gmetad 0755 root bin 5784 3262 1137137529
1 d none usr/local/ganglia-3.0.1/sbin/i86 0755 root root
1 f none usr/local/ganglia-3.0.1/sbin/i86/gmetad 0755 root bin 502196 33904 1137137529
1 d none var 0755 root root
1 d none var/svc 0755 root root
1 d none var/svc/manifest 0755 root root
1 d none var/svc/manifest/application 0755 root root
1 d none var/svc/manifest/application/ganglia 0755 root root
1 f manifest var/svc/manifest/application/ganglia/gmetad.xml 0644 root bin 1023 18206 1137138990
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!! 070701000484b9000081a400000000000000000000000143c767e8000000ca0000001c0000008000000000000000000000000800000000pkginfo PKG=APSTC-ganglia-gmetad
NAME=ganglia server (gmetad)
ARCH=x86
VERSION=3.0.1
CATEGORY=application
VENDOR=APSTC
EMAIL=lkng@apstc.sun.com.sg
BASEDIR=/
CLASSES=none manifest
PSTAMP=thebe-int20060113164216
070701000484b8000081a400000000000000000000000143c767e8000005a70000001c0000008000000000000000000000000700000000pkgmap : 1 2240
1 i depend 45 4054 1137137529
1 d none etc 0755 root root
1 f none etc/gmetad.conf 0644 root bin 4775 34344 1137137529
1 i i.manifest 1503 55366 1137137529
1 d none lib 0755 root root
1 d none lib/svc 0755 root root
1 d none lib/svc/method 0755 root root
1 f none lib/svc/method/svc-gmetad 0755 root bin 1122 18944 1137137529
1 i pkginfo 202 16001 1137141736
1 i r.manifest 1056 15809 1137141730
1 d none usr 0755 root root
1 d none usr/local 0755 root root
1 d none usr/local/ganglia-3.0.1 0755 root root
1 d none usr/local/ganglia-3.0.1/man 0755 root root
1 d none usr/local/ganglia-3.0.1/man/man1 0755 root root
1 f none usr/local/ganglia-3.0.1/man/man1/gmetad.1 0644 root bin 734 59718 1137137529
1 d none usr/local/ganglia-3.0.1/sbin 0755 root root
1 d none usr/local/ganglia-3.0.1/sbin/amd64 0755 root root
1 f none usr/local/ganglia-3.0.1/sbin/amd64/gmetad 0755 root bin 585896 36458 1137137529
1 f none usr/local/ganglia-3.0.1/sbin/gmetad 0755 root bin 5784 3262 1137137529
1 d none usr/local/ganglia-3.0.1/sbin/i86 0755 root root
1 f none usr/local/ganglia-3.0.1/sbin/i86/gmetad 0755 root bin 502196 33904 1137137529
1 d none var 0755 root root
1 d none var/svc 0755 root root
1 d none var/svc/manifest 0755 root root
1 d none var/svc/manifest/application 0755 root root
1 d none var/svc/manifest/application/ganglia 0755 root root
1 f manifest var/svc/manifest/application/ganglia/gmetad.xml 0644 root bin 1023 18206 1137138990
070701000484ba000041ed00000000000000000000000243c767e8000000000000001c0000008000000000000000000000000800000000install 070701000484be000081a400000000000000000000000143c757790000002d0000001c0000008000000000000000000000000f00000000install/depend P APSTC-ganglia-core ganglia monitoring core
070701000484c2000081a400000000000000000000000143c75779000005df0000001c0000008000000000000000000000001300000000install/i.manifest #!/bin/sh
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "@(#)i.manifest 1.5 04/12/09 SMI"
#
# i.manifest - smf(5) service manifest install class action script
#
repfile=$PKG_INSTALL_ROOT/etc/svc/repository.db
export repfile
#
# If the repository does not yet exist, create it from the appropriate seed. If
# for some reason the seeds do not exist, svccfg(1M) will create the repository
# automatically.
#
if [ ! -f $repfile ]; then
if [ -n "$SUNW_PKG_INSTALL_ZONENAME" -a \
"$SUNW_PKG_INSTALL_ZONENAME" != "global" ]; then
[ -f $PKG_INSTALL_ROOT/lib/svc/seed/nonglobal.db ] && \
/usr/bin/cp $PKG_INSTALL_ROOT/lib/svc/seed/nonglobal.db \
$repfile
else
[ -f $PKG_INSTALL_ROOT/lib/svc/seed/global.db ] && \
/usr/bin/cp $PKG_INSTALL_ROOT/lib/svc/seed/global.db \
$repfile
fi
/usr/bin/chmod 0600 $repfile
/usr/bin/chown root:sys $repfile
fi
if [ ! -r $PKG_INSTALL_ROOT/etc/svc/volatile/repository_door ]; then
#
# smf(5) is not presently running for the destination environment.
# Since we presently cannot refresh without a running svc.startd(1M), we
# cannot consistently handle dependent placement. Defer to next boot.
#
while read src dst; do
/usr/bin/cp -p $src $dst
done
else
#
# Local package install.
#
while read src dst; do
/usr/bin/cp -p $src $dst
[ "$PKG_INSTALL_ROOT" = "" -o "$PKG_INSTALL_ROOT" = "/" ] && \
SVCCFG_CHECKHASH=1 /usr/sbin/svccfg import $dst
done
fi
exit 0
070701000484c8000081a400000000000000000000000143c767e2000004200000001c0000008000000000000000000000001300000000install/r.manifest #!/bin/sh
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "@(#)r.manifest 1.2 04/09/24 SMI"
#
# r.manifest - smf(5) manifest remove class action script
#
if [ "$PKG_INSTALL_ROOT" != "" -a "$PKG_INSTALL_ROOT" != "/" ]; then
#
# We can't safely disable the service in this case.
#
smf_alive=no
else
#
# We can verify if the service is disabled prior to
# removal.
#
if [ -r /etc/svc/volatile/repository_door ]; then
smf_alive=yes
fi
fi
SVCPROP=/usr/bin/svcprop
SVCCFG=/usr/sbin/svccfg
while read mfst; do
if [ "$smf_alive" = "yes" ]; then
ENTITIES=`$SVCCFG inventory $mfst`
for fmri in $ENTITIES; do
#
# Determine whether any of our instances are
# enabled.
#
en_p=`$SVCPROP -C -p general/enabled $fmri 2>/dev/null`
en_o=`$SVCPROP -C -p general_ovr/enabled $fmri 2>/dev/null`
if [ "$en_p" = "true" -o "$en_o" = "true" ]; then
echo "$fmri remains enabled; aborting"
exit 1
fi
$SVCCFG delete $fmri
done
fi
/usr/bin/rm $mfst
done
exit 0
070701000484bf000041ed00000000000000000000000643c767e8000000000000001c0000008000000000000000000000000600000000reloc 070701000484c0000041ed00000000000000000000000243c767e8000000000000001c0000008000000000000000000000000a00000000reloc/etc 070701000484c1000081a400000000000000020000000143c75779000012a70000001c0000008000000000000000000000001600000000reloc/etc/gmetad.conf # This is an example of a Ganglia Meta Daemon configuration file
# http://ganglia.sourceforge.net/
#
# $Id: gmetad.conf,v 1.17 2005/03/15 18:15:05 massie Exp $
#
#-------------------------------------------------------------------------------
# Setting the debug_level to 1 will keep daemon in the forground and
# show only error messages. Setting this value higher than 1 will make
# gmetad output debugging information and stay in the foreground.
# default: 0
# debug_level 10
#
#-------------------------------------------------------------------------------
# What to monitor. The most important section of this file.
#
# The data_source tag specifies either a cluster or a grid to
# monitor. If we detect the source is a cluster, we will maintain a complete
# set of RRD databases for it, which can be used to create historical
# graphs of the metrics. If the source is a grid (it comes from another gmetad),
# we will only maintain summary RRDs for it.
#
# Format:
# data_source "my cluster" [polling interval] address1:port addreses2:port ...
#
# The keyword 'data_source' must immediately be followed by a unique
# string which identifies the source, then an optional polling interval in
# seconds. The source will be polled at this interval on average.
# If the polling interval is omitted, 15sec is asssumed.
#
# A list of machines which service the data source follows, in the
# format ip:port, or name:port. If a port is not specified then 8649
# (the default gmond port) is assumed.
# default: There is no default value
#
# data_source "my cluster" 10 localhost my.machine.edu:8649 1.2.3.5:8655
# data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651
# data_source "another source" 1.3.4.7:8655 1.3.4.8
data_source "my cluster" localhost
#
# Round-Robin Archives
# You can specify custom Round-Robin archives here (defaults are listed below)
#
# RRAs "RRA:AVERAGE:0.5:1:240" "RRA:AVERAGE:0.5:24:240" "RRA:AVERAGE:0.5:168:240" "RRA:AVERAGE:0.5:672:240" \
# "RRA:AVERAGE:0.5:5760:370"
#
#
#-------------------------------------------------------------------------------
# Scalability mode. If on, we summarize over downstream grids, and respect
# authority tags. If off, we take on 2.5.0-era behavior: we do not wrap our output
# in tags, we ignore all tags we see, and always assume
# we are the "authority" on data source feeds. This approach does not scale to
# large groups of clusters, but is provided for backwards compatibility.
# default: on
# scalable off
#
#-------------------------------------------------------------------------------
# The name of this Grid. All the data sources above will be wrapped in a GRID
# tag with this name.
# default: Unspecified
# gridname "MyGrid"
#
#-------------------------------------------------------------------------------
# The authority URL for this grid. Used by other gmetads to locate graphs
# for our data sources. Generally points to a ganglia/
# website on this machine.
# default: "http://hostname/ganglia/",
# where hostname is the name of this machine, as defined by gethostname().
# authority "http://mycluster.org/newprefix/"
#
#-------------------------------------------------------------------------------
# List of machines this gmetad will share XML with. Localhost
# is always trusted.
# default: There is no default value
# trusted_hosts 127.0.0.1 169.229.50.165 my.gmetad.org
#
#-------------------------------------------------------------------------------
# If you want any host which connects to the gmetad XML to receive
# data, then set this value to "on"
# default: off
# all_trusted on
#
#-------------------------------------------------------------------------------
# If you don't want gmetad to setuid then set this to off
# default: on
# setuid off
#
#-------------------------------------------------------------------------------
# User gmetad will setuid to (defaults to "nobody")
# default: "nobody"
# setuid_username "nobody"
#
#-------------------------------------------------------------------------------
# The port gmetad will answer requests for XML
# default: 8651
# xml_port 8651
#
#-------------------------------------------------------------------------------
# The port gmetad will answer queries for XML. This facility allows
# simple subtree and summation views of the XML tree.
# default: 8652
# interactive_port 8652
#
#-------------------------------------------------------------------------------
# The number of threads answering XML requests
# default: 4
# server_threads 10
#
#-------------------------------------------------------------------------------
# Where gmetad stores its round-robin databases
# default: "/var/lib/ganglia/rrds"
# rrd_rootdir "/some/other/place"
070701000484c3000041ed00000000000000000000000343c767e8000000000000001c0000008000000000000000000000000a00000000reloc/lib 070701000484c4000041ed00000000000000000000000343c767e8000000000000001c0000008000000000000000000000000e00000000reloc/lib/svc 070701000484c5000041ed00000000000000000000000243c767e8000000000000001c0000008000000000000000000000001500000000reloc/lib/svc/method 070701000484c7000081ed00000000000000020000000143c75779000004620000001c0000008000000000000000000000002000000000reloc/lib/svc/method/svc-gmetad #!/sbin/sh
. /lib/svc/share/smf_include.sh
GANGLIA_HOME=/usr/local/ganglia-3.0.1
GMETAD_CONF=/etc/gmetad.conf
[ ! -f ${GMETAD_CONF} -o ! -x ${GANGLIA_HOME}/sbin/gmetad ] && exit $SMF_EXIT_ERR_CONFIG
case "$1" in
start)
DAEMON_OWNER=`cat ${GMETAD_CONF} | grep "^setuid_username" | cut -d\" -f2`
RRD_ROOTDIR=`cat ${GMETAD_CONF} | grep "^rrd_rootdir" | cut -d\" -f2`
[ -z "${DAEMON_OWNER}" ] && DAEMON_OWNER="nobody"
[ -z "${RRD_ROOTDIR}" ] && RRD_ROOTDIR="/var/lib/ganglia/rrds"
ZONENAME=`/sbin/zonename`
if /usr/bin/pgrep -x -U ${DAEMON_OWNER} -z $ZONENAME gmetad >/dev/null 2>&1; then
echo "$0: gmetad is already running"
exit 1
fi
/bin/mkdir -p ${RRD_ROOTDIR}
chown ${DAEMON_OWNER} ${RRD_ROOTDIR}
${GANGLIA_HOME}/sbin/gmetad &
;;
stop)
DAEMON_OWNER=`cat ${GMETAD_CONF} | grep "^setuid_username" | cut -d\" -f2`
ZONENAME=`/sbin/zonename`
PID=`/usr/bin/pgrep -x -U ${DAEMON_OWNER:-"nobody"} -z $ZONENAME gmetad`
if [ -z "${PID}" ]; then
echo "$0: gmetad is not running"
exit 1
fi
kill -9 ${PID}
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
070701000484c9000041ed00000000000000000000000343c767e8000000000000001c0000008000000000000000000000000a00000000reloc/usr 070701000484ca000041ed00000000000000000000000343c767e8000000000000001c0000008000000000000000000000001000000000reloc/usr/local 070701000484cb000041ed00000000000000000000000443c767e8000000000000001c0000008000000000000000000000001e00000000reloc/usr/local/ganglia-3.0.1 070701000484cc000041ed00000000000000000000000343c767e8000000000000001c0000008000000000000000000000002200000000reloc/usr/local/ganglia-3.0.1/man 070701000484cd000041ed00000000000000000000000243c767e8000000000000001c0000008000000000000000000000002700000000reloc/usr/local/ganglia-3.0.1/man/man1 070701000484ce000081a400000000000000020000000143c75779000002de0000001c0000008000000000000000000000003000000000reloc/usr/local/ganglia-3.0.1/man/man1/gmetad.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.28.
.TH GMETAD "1" "September 2002" "gmetad 2.5.0" "User Commands"
.SH NAME
gmetad \- manual page for gmetad 2.5.0
.SH SYNOPSIS
.B gmetad
[\fIOPTIONS\fR]...
.SH DESCRIPTION
gmetad 2.5.0
.SS "Purpose:"
.IP
The Ganglia Meta Daemon (gmetad) collects information from
multiple gmond or gmetad data sources, saves the information to local
round-robin databases, and exports XML which is the concatentation of
all data sources
.TP
\fB\-h\fR \fB\-\-help\fR
Print help and exit
.TP
\fB\-V\fR \fB\-\-version\fR
Print version and exit
.TP
\fB\-cSTRING\fR \fB\-\-conf\fR=\fISTRING\fR
Location of gmetad configuration file (default='/etc/gmetad.conf')
.SH "SEE ALSO"
070701000484cf000041ed00000000000000000000000443c767e8000000000000001c0000008000000000000000000000002300000000reloc/usr/local/ganglia-3.0.1/sbin 070701000484d2000041ed00000000000000000000000243c767e8000000000000001c0000008000000000000000000000002900000000reloc/usr/local/ganglia-3.0.1/sbin/amd64 070701000484d3000081ed00000000000000020000000143c757790008f0a80000001c0000008000000000000000000000003000000000reloc/usr/local/ganglia-3.0.1/sbin/amd64/gmetad ELF > p@ @ ( @ 8 @ . , @ @ @ P P @ U U U UE K d [ [E @ Pdd @ /usr/lib/amd64/ld.so.1 ; Xj X x P x @ x X h ! ! @! ! ! 8" p" h " x " ( # 8 # `# 8 x# # # # $ P$ $ $ % % % % (&