monit-general
[Top][All Lists]
Advanced

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

Re: [cpu temperature : graph]


From: LACROIX Jean Marc
Subject: Re: [cpu temperature : graph]
Date: Mon, 10 Jul 2017 16:29:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Hi,

Thanks for this good news.
I think that another good custom charts is the ability to monitor battery charge and discharge
Best regards

Le 06/07/2017 à 14:52, address@hidden a écrit :
Hi,

custom charts are currently not supported in M/Monit, we plan to add it.

Best regards,
Martin



On 6 Jul 2017, at 06:38, LACROIX Jean Marc <address@hidden> wrote:

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 --
   ---------------------------------------

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



--
--------------------------------------
 -- Jean-Marc LACROIX                 --
  -- mailto : address@hidden --
    ---------------------------------------



reply via email to

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