[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cpu temperature : graph]
From: |
address@hidden |
Subject: |
Re: [cpu temperature : graph] |
Date: |
Thu, 6 Jul 2017 14:52:48 +0200 |
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