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


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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
Helpful? Yes  No 
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
Helpful? Yes  No 
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,337