xbox-temp/mrtg
xbox-temp/mrtg
I got every thing updated and installed xbox-temp, the log file keeps over writing itself instead of appending it, I have looked on http://www.mrtg.org and checked the config and I can't get it, anoyone else using this with success?
'>' means overwrite, '>>' means append. Look in your cron entry (or wherever your logging statement is).
Overwrite:Append:
Overwrite:
Code: Select all
xboxtemp > /path/to/logfile
Code: Select all
xboxtemp >> /path/to/logfile
/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
ShortLegend[temp]:°F
LegendI[temp]: CPU
LegendO[temp]: MB
Legend1[temp]: CPU temperature
Legend2[temp]: Motherboard temperature
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
ShortLegend[temp]:°F
LegendI[temp]: CPU
LegendO[temp]: MB
Legend1[temp]: CPU temperature
Legend2[temp]: Motherboard temperature
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK