Chris Elmquist ([EMAIL PROTECTED]) said: > I'm still coming up to speed on how the PHP/RRD clients work but I am > noticing something a little funny when I feed values in via 'gmetric'. > > I have a simple script that is run by cron that takes temp and fan speed > readings from lm_sensors and feeds them to gmond with gmetric.
Funny you should say that, I implemented a script that pushes out the cpu temps through /etc/cron.d/ (will add fan speed shortly).. I've attached the script in case others would like it. (the cut et al was based on a previous list post). These scripts should start to find a place of their own in the ganglia project; I could see users contributing some extremely useful gmetric scripts, Matt? > Interestingly, the graphs drawn for the gmetric supplied values on a > per host basis, are correct-- they vary over time-- it is just the min/max > bargraph under the "Hot List Sorted by xxx" that appears incorrect-- > essentially offering no min/max and instead shows the "value now" at > both ends. > > Might this be because I currently have only one node sending in these > values via gmetric? I was expecting to still see mins and maxes even > if they are only for one node... That's exactly why; if you send the metric via gmetric on multiple hosts all is well with high-low range indicator. Mike
gmetric_sensors.sh
Description: Bourne shell script

