Having a bit of a problem trying to create new metrics using the gmetric tool.. 
basically what's going on is that after the first entry of data into the rrd, 
no new values seem to be getting saved.

I'm trying to track cpu temperatures, which seems to be a fairly common task 
that people put in place. I basically cut and pasted the example out of the 
ganglia documentation, then doctored it up to fit my particular setup. The 
command (currently) ends up looking like:

/usr/bin/gmetric -t int16 -n "cpu0_temp" -u "Celcius" -v $temp -x 120 -d 120

By telnetting to 8649 on one of the machines, I can verify that this command is 
properly putting the data into multicast, and the cpu temperatures are properly 
updating in the XML dump.

However, it appears that no data is being saved in the rrd. Using rrdtool 
fetch, I can verify that the data from the FIRST run (when the rrd is created) 
there is a value stored there, but every following entry prints out 'NaN', 
suggesting +nothing is being stored. On pounding reload on the webfrontend, you 
can see the image produce a single data point on the graph properly, but no new 
data ever appears.

At the moment I am only running gmetad 2.5.1, rrdtool is reporting as version 
1.0.39. Is this a bug or a configuration issue? I prefer not to upgrade just 
for the sake of upgrading unless it's shown to be a bug. Since the 2.5.3 
release notes mention nothing of this nature and it doesn't appear to be a 
common problem, I lean towards configuration problem. ;)

thanks,



Reply via email to