Munin Plugin updated for 8-core cpu temperature (tested on Supermicro A1SRi-2758F):
#!/bin/sh
# - copy this plugin script to /usr/local/share/munin/plugins/, make it executable
# - symlink it to /usr/local/etc/munin/plugins/
# - restart munin-service
case $1 in
config)
cat <<'EOM'
graph_title CPU Temperatures
graph_vlabel Degrees C
graph_category sensors
cpu_0.label Core 0
cpu_1.label Core 1
cpu_2.label Core 2
cpu_3.label Core 3
cpu_4.label Core 4
cpu_5.label Core 5
cpu_6.label Core 6
cpu_7.label Core 7
EOM
exit 0;;
esac
temps=$(/sbin/sysctl dev.cpu | grep temperature)
echo -n 'cpu_0.value '; printf "$temps" | awk 'NR==1{print $2; exit}' | awk '{gsub(/C/,"")};{print}'
echo -n 'cpu_1.value '; printf "$temps" | awk 'NR==2{print $2; exit}' | awk '{gsub(/C/,"")};{print}'
echo -n 'cpu_2.value '; printf "$temps" | awk 'NR==3{print $2; exit}' | awk '{gsub(/C/,"")};{print}'
echo -n 'cpu_3.value '; printf "$temps" | awk 'NR==4{print $2; exit}' | awk '{gsub(/C/,"")};{print}'
echo -n 'cpu_4.value '; printf "$temps" | awk 'NR==5{print $2; exit}' | awk '{gsub(/C/,"")};{print}'
echo -n 'cpu_5.value '; printf "$temps" | awk 'NR==6{print $2; exit}' | awk '{gsub(/C/,"")};{print}'
echo -n 'cpu_6.value '; printf "$temps" | awk 'NR==7{print $2; exit}' | awk '{gsub(/C/,"")};{print}'
echo -n 'cpu_7.value '; printf "$temps" | awk 'NR==8{print $2; exit}' | awk '{gsub(/C/,"")};{print}'