Others

check_rpi_temp

Description:

Shows Raspberry PI CPU temperature with perfdata so it can be graphed.

The plugin does not currently contain warn/crit thresholds, just reporting.

This plugin gets its data from /sys/class/thermal instead of /opt/vc.

Requirements:
“bc” must be installed.

Current Version

1.0

Last Release Date

2013-12-12

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Notes
I wrote this plugin as a way to monitor the CPU temperature of an RPI I have outside in my garage. Where I live it can reach -40c in the winter and +40c in the summer.
Reviews (2) Add a Review
Works great
by jonathanpisarczyk, September 30, 2018

Thanks. I'm running on remote PI. On the remote Pi you install NRPE: apt-get install nagios-nrpe-server Configure NRPE like so: vi /etc/nagios/nrpe.cfg ... allowed_hosts= ... command[check_temp]=/path/to/check_rpi_temp.sh -w 60 -c 70 ... On the Nagios server configure the check like so: check_command check_nrpe!check_temp



banana pis too
by treii28, October 31, 2017

Works great. As a side note for anyone with a banana pi, you can modify this script to do the same thing by using /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input in place of the /sys/class/thermal/thermal_zone0/temp



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (2)
Favorites
1
Views
31,321