Hi,

Im am  monitoring the CPU temperature with success with following code :

cat /usr/local/bin/read_temperature_cpu_0.sh

# extract temperature as one 'int number' in order to exit with this value
TEMP=`/usr/bin/sensors |grep "Core 0:" |awk '{print $3}' |awk '{printf "%d",$1}'`
exit $TEMP


and ....

cat /etc/monit/conf.d/monit_check_cpu_temperature

check program temp_cpu_0_thread_0_1 path /usr/local/bin/read_temperature_cpu_0.sh
    if status > 60 then alert
    group temperature_CPU


Is it possible to graph the temperature with report/analytic button in M/monit, and if yes , how ?

Thanks in advance for your help

Regards
--
--------------------------------------
 -- Jean-Marc LACROIX                 --
  -- mailto : [email protected] --
    ---------------------------------------

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to