Hello again,
I follow the steps that Vladimir Vuksan told me in
https://sourceforge.net/apps/trac/ganglia/wiki/ganglia_quick_start for
unicast.
This is the command that I used to install gmetad:
tar xzvf ganglia-3.2.0.tar.gz.
cd /opt/ganglia-3.2.0
./configure --sysconfdir=/etc/ganglia --with-librrd=/usr/local/rrdtool
--with-gmetad
make
make install
after that, I copied ./ganglia-3.2.0/web directory in
/var/www/html7ganglia as a root and I copied the gmond.init and
gmetad.init in /etc/init.d/ directory.
Before to star gmetad, I create 2 directories inside of /var/lib/ganglia/
[root@trini2 /]# mkdir -p /var/lib/ganglia/rrds /var/lib/ganglia/dwoo
[root@trini2 ganglia]# cd /var/lib/ganglia
[root@trini2 ganglia]# chown -R nobody ./rrds
At the end, I started gmetad and get ganglia web page without graphs,
just only information text of the server.
the two lines that are active in the configuration file of gmetad are:
data_source Monitoreo trini2.uniandes.edu.co:8649
case_sensitive_hostnames 1
**
this is the output file of gmond.conf (the other lines are standar):
/* This configuration is as close to 2.5.x default behavior as possible
The values closely match ./gmond/metric.h definitions in 2.5.x */
globals {
daemonize = yes
setuid = yes
user = nobody
debug_level = 0
max_udp_msg_len = 1472
mute = no
deaf = no
allow_extra_data = yes
host_dmax = 0 /*secs */
# host_tmax = 20 /*secs */
cleanup_threshold = 300 /*secs */
gexec = no
# send_metadata_interval = 0 /*secs */
}
/*
* The cluster attributes specified will be used as part of the CLUSTER
* tag that will wrap all hosts collected by this instance.
*/
cluster {
name = Monitoreo
owner = Universidad de Los Andes
latlong = unspecified
url = http://www.uniandes.edu.co;
}
/* The host section describes attributes of the host, like the location */
host {
location = unspecified
}
/* Feel free to specify as many udp_send_channels as you like. Gmond
used to only support having a single channel */
udp_send_channel {
#bind_hostname = yes # Highly recommended, soon to be default.
# This option tells gmond to use a source address
# that resolves to the machine's hostname. Without
# this, the metrics may appear to come from any
# interface and the DNS names associated with
# those IPs will be used to create the RRDs.
# mcast_join = 239.2.11.71
host = trini2.uniandes.edu.co
port = 8649
ttl = 1
}
/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
# mcast_join = 239.2.11.71
port = 8649
# bind = 239.2.11.71
}
/* You can specify as many tcp_accept_channels as you like to share
an xml description of the state of the cluster */
tcp_accept_channel {
port = 8649
}
/* Channel to receive sFlow datagrams */
udp_recv_channel {
port = 6343
}
/* Optional sFlow settings */
#sflow {
# udp_port = 6343
# accept_vm_metrics = no
#}
Any idea?
On Thu, Oct 27, 2011 at 1:50 PM,
ganglia-general-requ...@lists.sourceforge.net wrote:
Send Ganglia-general mailing list submissions to
ganglia-general@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/ganglia-general
or, via email, send a message with subject or body 'help' to
ganglia-general-requ...@lists.sourceforge.net
You can reach the person managing the list at
ganglia-general-ow...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than Re: Contents of Ganglia-general digest...
Today's Topics:
1. ganglia is not plotting received data from gmond (Daniel Burbano)
2. Re: ganglia is not plotting received data from gmond
(Vladimir Vuksan)
3. Re: gmond stops listening after 6 minutes (Vladimir Vuksan)
4. gweb 1.9.9.2607M - You do not have access to edit views.
(Gerhard Lazu)
5. ganglia graphs (aahan noor)
6. gmond forwarding (Chris Burroughs)
--
Message: 1
Date: Wed, 26 Oct 2011 17:18:37 -0500
From: Daniel Burbano daniel.burb...@gmail.com
Subject: [Ganglia-general] ganglia is not plotting received data from
gmond
To: ganglia-general@lists.sourceforge.net
Message-ID:
calzj9r80fkpwhqvqj3reusbxiokacbqgatci-hgxxp5us54...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I started gmetad and I can see the web interface of ganglia (I
attached the screenshot) but ganglia is not plotting the data that is
received from the gmonds.
From the server I can get information of some servers with the
following command:
[root@trini2 ganglia]# telnet localhost 8651 | grep trini2
GRID NAME=unspecified
AUTHORITY=http://trini2.uniandes.edu.co/ganglia/;
LOCALTIME=1319646501HOST NAME=trini2.uniandes.edu.co