[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ4 MRTG packages
- Subject: Re: [cobalt-users] RaQ4 MRTG packages
- From: René Mølsted <molsted@xxxxxxx>
- Date: Wed Nov 5 01:00:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Wednesday, November 5, 2003, at 02:15 AM, Lauchlin wrote:
On 05/11/2003, at 11:08 AM, Paul Shuttleworth wrote:
- graph CPU Temp
If you add this to /usr/local/bin/mrtgtools/system:
if [ "$TYPE" = "temp" ]; then
INDATA=`cat /proc/cpuinfo | grep temp | cut -d ':' -f2`
OUTDATA=`cat /proc/cpuinfo | grep temp | cut -d ':' -f2`
fi
And this to mrtg.cfg:
#----------------------------
# Temperature
#----------------------------
Title[temp]: System temperature
PageTop[temp]: <H1>System temperature</H1>
Target[temp]: `/usr/local/bin/mrtgtools/system temp`
MaxBytes[temp]: 100
That should do the trick
René Mølsted