FreeBSD
Снятие данных о температуре CPU и рисовании графиков MRTG
- Подробности
- Категория: FreeBSD
- Опубликовано 20.01.2015 14:21
- Автор: 1111
- Просмотров: 1338
cd /usr/ports/sysutils/mbmon
make install clean
mbmon_enable=”YES”
стартуем процесс /usr/local/etc/rc.d/mbmon start
Добавляем в /usr/confs/mrtg.conf
# CPU & MB Temp
Target[cpu.temp]:`/usr/local/bin/mbmon -T 1 -c 1; /usr/local/bin/mbmon -T 2 -c 1 ; echo ; echo`
MaxBytes[cpu.temp]: 80
Title[cpu.temp]: CPU & Motherboard Temperature
PageTop[cpu.temp]:CPU & Motherboard Temperature
ShortLegend[cpu.temp]: c
YLegend[cpu.temp]: Celsius
Legend1[cpu.temp]: CPU Temperature
Legend2[cpu.temp]: Motherboard Temperature
Legend3[cpu.temp]:
Legend4[cpu.temp]:
LegendI[cpu.temp]: CPU
LegendO[cpu.temp]: Motherboard
Options[cpu.temp]: nolegend,noinfo,growright,nopercent,gauge
# CPU & Chassis Fan Speed
Target[fan.speed]:`/usr/local/bin/mbmon -c 1 -F 1; /usr/local/bin/mbmon -c 1 -F 2 ; echo ; echo`
MaxBytes[fan.speed]: 20000
Title[fan.speed]: CPU & Chassis Fan Speed
PageTop[fan.speed]:CPU & Chassis Fan Speed
ShortLegend[fan.speed]: RPM
YLegend[fan.speed]: RPM
Legend1[fan.speed]: CPU Fan Speed
Legend2[fan.speed]: Chassis Fan Speed
LegendI[fan.speed]: CPU Fan Speed
LegendO[fan.speed]: Chassis Fan Speed
Options[fan.speed]: nolegend,noinfo,growright,nopercent,gauge