monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cpu temperature : graph]


From: LACROIX Jean Marc
Subject: [cpu temperature : graph]
Date: Thu, 6 Jul 2017 06:38:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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 : address@hidden --
    ---------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]