Install
- apt-get install lm-sensors nagios-plugins-contrib
Visudo
nagios ALL=(root) NOPASSWD:/usr/sbin/hddtemp
nagios ALL=(root) NOPASSWD:/usr/lib/nagios/plugins/check_lm_sensors
Checken
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +106.0°C)
temp2: +29.8°C (crit = +106.0°C)
asus-isa-0000
Adapter: ISA adapter
cpu_fan: 0 RPM
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +45.0°C (high = +85.0°C, crit = +105.0°C)
Core 0: +39.0°C (high = +85.0°C, crit = +105.0°C)
Core 1: +45.0°C (high = +85.0°C, crit = +105.0°C)
Core 2: +42.0°C (high = +85.0°C, crit = +105.0°C)
Core 3: +45.0°C (high = +85.0°C, crit = +105.0°C)