Sided Posted April 24, 2011 at 06:48 AM Posted April 24, 2011 at 06:48 AM Подскажите как правильно снять температуру при помощи sensors? как правильно прописать в mrtg.cfg
Sided Posted April 24, 2011 at 02:30 PM Author Posted April 24, 2011 at 02:30 PM прописал Title[localhost.temp]: Temperature PageTop[localhost.temp]: <H1>Temperature</H1> Target[localhost.temp]: `/usr/bin/sensors|grep "Core0 Temp"|awk {'print $3'}|cut -c 2-3` Options[localhost.temp]: gauge,growright,nopercent,unknaszero MaxBytes[localhost.temp]: 80 YLegend[localhost.temp]: Temperature ShortLegend[localhost.temp]: C Legend1[localhost.temp]: Temperature in C Legend2[localhost.temp]: Temperature in C LegendI[localhost.temp]: CPU Temp LegendO[localhost.temp]: CPU Temp графики рисуют что проц 50-52 градусов, хотя реально 40-42, и в логах постоянно ошибка 2011-04-24 17:22:01: ERROR: Target[localhost.temp][_OUT_] ' $target->[7]{$mode}$ 2011-04-24 17:23:01: WARNING: Problem with External get '/usr/bin/sensors|grep $ Expected a Number for 'out' but nothing' /usr/bin/sensors|grep "Core0 Temp"|awk {'print $3'}|cut -c 2-3 в консоли говорит правду о температуре max# /usr/bin/sensors|grep "Core0 Temp"|awk {'print $3'}|cut -c 2-3 42
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now