Page 1 of 1


Posted: Fri Mar 05, 2004 5:10 am
by Jessie
I got every thing updated and installed xbox-temp, the log file keeps over writing itself instead of appending it, I have looked on and checked the config and I can't get it, anoyone else using this with success?

Posted: Fri Mar 05, 2004 8:26 am
by rocketeer
'>' means overwrite, '>>' means append. Look in your cron entry (or wherever your logging statement is).


Code: Select all

xboxtemp > /path/to/logfile

Code: Select all

xboxtemp >> /path/to/logfile

Posted: Fri Mar 05, 2004 1:15 pm
by Jessie
/usr/bin/mrtg /etc/xbox-temp.conf 1> /dev/null 2> /dev/null

is the cron entry the install script put in.

here is the config

# Change workdir to whatever you want
# ***********************************
WorkDir: /var/www/localhost/htdocs/temp
# ***********************************

Refresh: 300
Interval: 5
WriteExpires: Yes
AddHead[temp]: <STYLE TYPE-"text/css"><!-- FONT {font-family: arial} --> </STYLE>

# ***
Target[temp]: `/bin/mrtg-temp`
# ***

Title[temp]: Xbox Temperatures
PageTop[temp]: Temperature of Xbox
MaxBytes[temp]: 60
Options[temp]: gauge growright nopercent noinfo nobanner
Unscaled[temp]: dwmy
YLegend[temp]: °F
LegendI[temp]: CPU
LegendO[temp]: MB
Legend1[temp]: CPU temperature
Legend2[temp]: Motherboard temperature

Posted: Fri Mar 05, 2004 6:00 pm
by Jessie
it has something to do with Celsius and Fahrenheit i went back and changed the format to Celsius and its working fine.

Posted: Fri Mar 05, 2004 7:18 pm
by nobspangle
wow a bug that stops you from using antiquated measures that's my kind of bug :)

Posted: Sat Mar 06, 2004 12:49 am
by Jessie
:P if anyone cares to find out what i can do to fix it, unfortunate to me i grew up in america.

Posted: Sat Mar 06, 2004 8:46 am
by nobspangle
your loss