Check lm sensors: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
 
Zeile 4: Zeile 4:
 
  nagios ALL=(root) NOPASSWD:/usr/sbin/hddtemp
 
  nagios ALL=(root) NOPASSWD:/usr/sbin/hddtemp
 
  nagios ALL=(root) NOPASSWD:/usr/lib/nagios/plugins/check_lm_sensors
 
  nagios ALL=(root) NOPASSWD:/usr/lib/nagios/plugins/check_lm_sensors
 +
=Checken=
 +
*sensors
 +
<pre>
 +
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)
 +
</pre>

Aktuelle Version vom 19. April 2017, 09:19 Uhr

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

  • sensors
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)