Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Raspberry Pi Temperature
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!
The actual code is managed in the following GitHub rebository - please use the Issue Tracker to ask questions, report problems or request enhancements.
https://github.com/acch/nagios-plugins
Reviews (2)
byjohnjore, October 9, 2020
Try running
usermod -aG video nagios
to give the nagios agent permissions to get the GPU temp information.
usermod -aG video nagios
to give the nagios agent permissions to get the GPU temp information.
byOmally01, July 10, 2020
This script saved my bacon! But as I was not very familiar with how custom scripts worked I thought I would contribute what I know now for the less informed. Just dump the script into the plugins folder of the REMOTE device you want to monitor. For me that was /user/lib/nagios/plugins/ and you want to make it owned by root "sudo chown root:root check_rpi_temp.sh" and then make it executable "sudo chmod +x check_rpi_temp.sh" Once you have done that you need to define the command - for me this was located at /etc/nagios/nrpe.cfg Once you are there find where the other commands are already listed and put "command[check_rpi_temp]=/usr/lib/nagios/plugins/check_rpi_temp.sh" Then on the nagios server side just define the service and refer to "check_rpi_temp" and you should be good to go.
Side note - it fails to provide actual data on the GPU for me - but since I was really only after the CPU temp this was good enough, though I'm sure it could be fixed by adjusting the plugin file.
Side note - it fails to provide actual data on the GPU for me - but since I was really only after the CPU temp this was good enough, though I'm sure it could be fixed by adjusting the plugin file.