New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


SSH Script - Raspberry Pi CPU Temp Monitor

Votes:

0

Your Vote:

Up

Down

I've written the following script to monitor the temperature of my Raspberry PI CPU:

tempc=$(vcgencmd measure_temp | egrep -o '[0-9]*\.[0-9]*') tempf=$(echo "scale=2; 1.8 *$tempc + 32" | bc) printf 0:"$tempf":message sleep 1

However it continues to return the error:

PRTG could not run the script or the output could not be parsed (122.54:message ). (code: PE129)

I've tried removing the "Message" part and it gives me the following error:

Response not well-formed: "0:121.64 " (code: PE132)

What am I doing wrong?

pe129 pe132 prtg rpi3 script ssh

Created on Mar 3, 2020 12:00:08 AM by  logandirks (0) 1



Replies

Nobody has replied yet

Why not be the first?

Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.