On 18/11/2015 14:47:39, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Hi All,_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Sorry to take your time with this question but I am sure you can help me with that. On Script section of Observium UNIX agetn I found this script for lm sensor#!/bin/bashlmsensors=`which sensors`if [ $? -eq 0 ]thenecho '<<<lmsensors>>>'$lmsensorsfi
On my environment the command for getting CPU temp is "sensor"root@banana:~# sensorsfam15h_power-pci-00c4Adapter: PCI adapterpower1: 0.00 W (crit = 25.00 W)nct6776-isa-0290Adapter: ISA adapterVcore: +1.03 V (min = +0.00 V, max = +1.74 V)in1: +1.89 V (min = +0.00 V, max = +0.00 V) ALARMAVCC: +3.33 V (min = +0.00 V, max = +0.00 V) ALARM+3.3V: +3.34 V (min = +0.00 V, max = +0.00 V) ALARMin4: +0.73 V (min = +0.00 V, max = +0.00 V) ALARMin5: +1.71 V (min = +0.00 V, max = +0.00 V) ALARM3VSB: +3.44 V (min = +0.00 V, max = +0.00 V) ALARMVbat: +3.28 V (min = +0.00 V, max = +0.00 V) ALARMfan1: 0 RPM (min = 0 RPM) ALARMfan2: 1234 RPM (min = 0 RPM) ALARMfan3: 0 RPM (min = 0 RPM) ALARMfan4: 0 RPM (min = 0 RPM) ALARMfan5: 0 RPM (min = 0 RPM) ALARMSYSTIN: +40.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistorCPUTIN: +42.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistorAUXTIN: +47.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistorcpu0_vid: +0.000 Vintrusion0: OKintrusion1: ALARM
In order to plot some nice graphs in observiu, how can I integrate that command in that script ?
Thanks