â CPUã¨HDDãmuninã§ç£è¦ããè¨å®ã¡ã¢
ã稼åä¸ã®ãã·ã³ã®CPU温度ãHDDã®ç¶æ³ãmuninã§ç£è¦ããè¨å®ã®ã¡ã¢ã
â CPU温度ã®ç£è¦
ãäºåã«lm_sensorsè¨å®ãè¡ã£ã¦ãããã¨
ã»æå¹ãªè¨å®ã®ç¢ºèªããã
ã# /usr/share/munin/plugins/sensors_ suggest
ã»tempè¨å®ã追å ãã
ã# cd /etc/munin/plugins/
ã# ln -s /usr/share/munin/plugins/sensors_ sensors_temp
ã»åä½ç¢ºèª
ã# /usr/sbin/munin-run -servicedir /etc/munin/plugins sensors_temp
ã»è¨å®ãæå¹ã«ãã
ã# service munin-node restart
â HDDã®æ¸©åº¦åã³SMARTãã¼ã¿ã®ç£è¦
ãHDDãSMART対å¿ã®å¿
è¦ãããã®ã§æ³¨æ
ã»æ¸©åº¦ç£è¦ã追å
ã# cd /etc/munin/plugins/
ã# ln -s /usr/share/munin/plugins/hddtemp_smartctl hddtemp_smartctl
ã»SMARTãã¼ã¿ã®ç£è¦è¿½å
ã# ln -s /usr/share/munin/plugins/smart_ smart_sda
ã»è¨å®ãã¡ã¤ã«ãä½æãã¦è¨å®è¿½å
ã# vi /etc/munin/plugin-conf.d/hddtemp_smartctl
ã以ä¸ã追è¨
ãenv.drives sda
ãenv.type_sda ata
ã# vi /etc/munin/plugin-conf.d/smart_
ã以ä¸ã追è¨
ã[smart_*]
ãuser root
ã
ã[smart_sda]
ãenv.smartargs -d ata
ã»åä½ç¢ºèª
ã# /usr/sbin/munin-run -servicedir /etc/munin/plugins hddtemp_smartctl
ã# /usr/sbin/munin-run -servicedir /etc/munin/plugins smart_sda
ã以ä¸ã®ã¨ã©ã¼ãåºãå ´åã«ã¯ä¿®æ£ããã
ããTraceback (most recent call last):
ãã File “/etc/munin/plugins/smart_sda”, line 398, in ?
ãã exit(0)
ããTypeError: ‘str’ object is not callable
ã398è¡ç®ã® exit(0) â sys.exit(0) ã«ä¿®æ£
ã»è¨å®ãæå¹ã«ãã
ã# service munin-node restart
CPUã¨HDDãmuninã§ç£è¦ããè¨å®ã¡ã¢ http://t.co/MdPOluwz #munin #scientific #centos #coretemp