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?
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.