Hi,
Fidgetting around with the options proposed in "man gmond.conf", I found that
the IP option below can be avoided.
udp_send_channel {
host = localhost
port = 8649
ttl = 1
}
udp_recv_channel {
port = 8649
}
But that's really a non-scalable solution, as the computer is really just
talking to itself. Question still remains: what are the requisites for that
udp_channel? How can I tell which IP to use, depending on used IPs and network
masks in place ?
Regards
Igor
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Igor Rosenberg
Sent: Thu 2008-08-28 15:32
To: [email protected]
Subject: [Ganglia-general] Gmond not showing metrics of localhost
Hi,
Environment: ganglia (3.0.7) over a fresh Fedora Core 8, contained within a
vmware image.
I've installed ganglia by downloading the distro's packages with yum. gmond and
gmetad behave properly when called through telnet (they show the DTD), but
without showing any metrics!! The <CLUSTER> Tag contains nothing at all!! I'm
very puzzled, as I have made no changes to the packages downloaded... I can
only think it is related to some network configuration, blocking in some way
the emission of the metrics when the daemon wants to inform the rest of the
world. But does the daemon need the network to communicate with itself? What
exactly is the IP specified in the gmond.conf "udp_send_channel { mcast_join =
239.2.11.71 }", and what are the requisites to define this UDP channel?
Below appears a test run which shows the different points. Thanks for any hint
of what could be wrong!!
Regards
Igor
================= FIRST, I show the installation is "fresh"
[EMAIL PROTECTED] ~]# /sbin/service --status-all | grep gm
gmetad is stopped
gmond is stopped
[EMAIL PROTECTED] ~]# yum list installed | grep ganglia
ganglia.i386 3.0.7-2.fc8 installed
ganglia-devel.i386 3.0.7-2.fc8 installed
ganglia-gmetad.i386 3.0.7-2.fc8 installed
ganglia-gmond.i386 3.0.7-2.fc8 installed
ganglia-web.i386 3.0.7-2.fc8 installed
[EMAIL PROTECTED] ~]# yum upgrade ganglia\*
updates |
2.3 kB 00:00
primary.sqlite.bz2 |
3.3 MB 00:06
fedora |
2.1 kB 00:00
Setting up Upgrade Process
Could not find update match for ganglia*
No Packages marked for Update
[EMAIL PROTECTED] ~]# telnet 127.0.0.1 8649
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
================= Start the gmond service and connect to it
[EMAIL PROTECTED] ~]# /sbin/service gmond start
Starting GANGLIA gmond: [ OK ]
[EMAIL PROTECTED] ~]# telnet 127.0.0.1 8649 | tail
Connection closed by foreign host.
<!ATTLIST METRICS NUM CDATA #REQUIRED>
<!ATTLIST METRICS TYPE (string | int8 | uint8 | int16 | uint16 | int32 |
uint32 | float | double | timestamp) #REQUIRED>
<!ATTLIST METRICS UNITS CDATA #IMPLIED>
<!ATTLIST METRICS SLOPE (zero | positive | negative | both | unspecified)
#IMPLIED>
<!ATTLIST METRICS SOURCE (gmond | gmetric) #REQUIRED>
]>
<GANGLIA_XML VERSION="3.0.7" SOURCE="gmond">
<CLUSTER NAME="unspecified" LOCALTIME="1219936874" OWNER="unspecified"
LATLONG="unspecified" URL="unspecified">
</CLUSTER>
</GANGLIA_XML>
================= The configuration is identical to the default one
[EMAIL PROTECTED] ~]# gmond -t > DEFAULT
[EMAIL PROTECTED] ~]# diff DEFAULT /etc/gmond.conf
[EMAIL PROTECTED] ~]
------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive
this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin
group liability cannot be triggered for the message content. Although
the sender endeavours to maintain a computer virus-free network,
the sender does not warrant that this transmission is virus-free and
will not be liable for any damages resulting from any virus transmitted.
Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
destinada solamente a la(s) persona(s) mencionadas anteriormente;
pueden estar protegidos por secreto profesional.
Si usted recibe este correo electronico por error, gracias por informar
inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin
no se hace responsable por su contenido. Su contenido no constituye ningun
compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas
partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus.
------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general
------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive
this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin
group liability cannot be triggered for the message content. Although
the sender endeavours to maintain a computer virus-free network,
the sender does not warrant that this transmission is virus-free and
will not be liable for any damages resulting from any virus transmitted.
Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
destinada solamente a la(s) persona(s) mencionadas anteriormente;
pueden estar protegidos por secreto profesional.
Si usted recibe este correo electronico por error, gracias por informar
inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin
no se hace responsable por su contenido. Su contenido no constituye ningun
compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas
partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus.
------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general