у линукс своя атмосфера :-/
nagios@fs:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +36.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +39.0°C (high = +80.0°C, crit = +100.0°C)
coretemp-isa-0003
Adapter: ISA adapter
Core 0: +35.0°C (high = +86.0°C, crit = +100.0°C)
Core 1: +34.0°C (high = +86.0°C, crit = +100.0°C)
плагин nagios парсит построчно и обстановку видит как:
nagios@fs:~$ /usr/lib/nagios/plugins/check_lm_sensors --list
found sensor Core 0 (36.0)
found sensor Core 1 (39.0)
found sensor Core 0 (35.0)
found sensor Core 1 (34.0)
а мониторит так:
nagios@fs:~$ /usr/lib/nagios/plugins/check_lm_sensors --high Core_0=50,60
LM_SENSORS OK - Core 0=36.0|Core 0=36.0;50;60;;
ну вы поняли =)
Как исправить:
nagios@fs:~$ cat /etc/sensors.d/coretemp.cfg
chip "coretemp-isa-0000"
label temp2 "P0_Core0"
label temp3 "P0_Core1"
chip "coretemp-isa-0003"
label temp2 "P1_Core0"
label temp3 "P1_Core1"
БЛЖАД! почему, почему у нулевого кора параметр temp2???
итого:
nagios@fs:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
P0_Core0: +36.0°C (high = +80.0°C, crit = +100.0°C)
P0_Core1: +39.0°C (high = +80.0°C, crit = +100.0°C)
coretemp-isa-0003
Adapter: ISA adapter
P1_Core0: +35.0°C (high = +86.0°C, crit = +100.0°C)
P1_Core1: +34.0°C (high = +86.0°C, crit = +100.0°C)
nagios@fs:~$ /usr/lib/nagios/plugins/check_lm_sensors --list
found sensor P0_Core0 (36.0)
found sensor P0_Core1 (39.0)
found sensor P1_Core0 (36.0)
found sensor P1_Core1 (35.0)
nagios@fs:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +36.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +39.0°C (high = +80.0°C, crit = +100.0°C)
coretemp-isa-0003
Adapter: ISA adapter
Core 0: +35.0°C (high = +86.0°C, crit = +100.0°C)
Core 1: +34.0°C (high = +86.0°C, crit = +100.0°C)
плагин nagios парсит построчно и обстановку видит как:
nagios@fs:~$ /usr/lib/nagios/plugins/check_lm_sensors --list
found sensor Core 0 (36.0)
found sensor Core 1 (39.0)
found sensor Core 0 (35.0)
found sensor Core 1 (34.0)
а мониторит так:
nagios@fs:~$ /usr/lib/nagios/plugins/check_lm_sensors --high Core_0=50,60
LM_SENSORS OK - Core 0=36.0|Core 0=36.0;50;60;;
ну вы поняли =)
Как исправить:
nagios@fs:~$ cat /etc/sensors.d/coretemp.cfg
chip "coretemp-isa-0000"
label temp2 "P0_Core0"
label temp3 "P0_Core1"
chip "coretemp-isa-0003"
label temp2 "P1_Core0"
label temp3 "P1_Core1"
БЛЖАД! почему, почему у нулевого кора параметр temp2???
итого:
nagios@fs:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
P0_Core0: +36.0°C (high = +80.0°C, crit = +100.0°C)
P0_Core1: +39.0°C (high = +80.0°C, crit = +100.0°C)
coretemp-isa-0003
Adapter: ISA adapter
P1_Core0: +35.0°C (high = +86.0°C, crit = +100.0°C)
P1_Core1: +34.0°C (high = +86.0°C, crit = +100.0°C)
nagios@fs:~$ /usr/lib/nagios/plugins/check_lm_sensors --list
found sensor P0_Core0 (36.0)
found sensor P0_Core1 (39.0)
found sensor P1_Core0 (36.0)
found sensor P1_Core1 (35.0)
Комментариев нет:
Отправить комментарий