What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

SSH Script - Raspberry Pi CPU Temp Monitor

Votes:

0

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



Replies

Nobody has replied yet


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.