Check the CPU (or M/B) temperature with lm-sensorshttps://github.com/jackbenny/check_temp
A small Bash script that checks the CPU (or M/B) temperature with lm-sensors. Default is to check the CPU temperature but this can be changed to for example the motherboard temperature with a "--sensor" argument.
The plugin complies with the guidelines, for example uses -w -c -v arguments etc. It also does some basic sanity checks and has an exit 3 catchall.