{"id":1980,"date":"2016-01-02T19:53:06","date_gmt":"2016-01-02T10:53:06","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=1980"},"modified":"2016-01-02T19:53:06","modified_gmt":"2016-01-02T10:53:06","slug":"post-1980","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2016\/01\/02\/post-1980.html","title":{"rendered":"OPI\u306bFAN \u3092\u3064\u3051\u308b\u3068\u6e29\u5ea6\u306f\u3069\u306e\u304f\u3089\u3044\u4e0b\u304c\u308b\u304b\uff1f"},"content":{"rendered":"

aliexpress \u304b\u3089FAN \u3068\u71b1\u30b7\u30fc\u30eb\u304c\u5c4a\u304d\u307e\u3057\u305f\u306e\u3067\u3001OPI \u306b\u53d6\u308a\u4ed8\u3051\u307e\u3057\u305f\u3002<\/p>\n

 <\/p>\n

\"1\"<\/a> <\/p>\n

FAN \u306f2\u500b\u5165\u308a\u30013M \u306e\u71b1\u4f1d\u9053\u30b7\u30fc\u30eb\u306f3\u679a\u306714\uff4d\uff4d\u306b\u30ab\u30c3\u30c8\u3057\u3066\u3042\u308a\u307e\u3059\u30021\u679a\u306b\uff15\uff58\uff17\u306735\u679a\u3067\u3057\u305f\u3002<\/p>\n

\"2\" <\/p>\n

CPU \u3068\u30e1\u30e2\u30ea\u90e8\u5206\u306b\u30b7\u30fc\u30eb\u3092\u53d6\u308a\u4ed8\u3051\u3001\u7c21\u6613\u7684\u306b\u30d5\u30a1\u30f3\u3082\u30b7\u30fc\u30eb\u3067\u8cbc\u308a\u4ed8\u3051\u3002<\/p>\n

\"3\" <\/p>\n

\u5b89\u3044\u5272\u308a\u306b\u306f\u3001\u8584\u3044\u306e\u3067\u3053\u308c\u3067\u5341\u5206\u3067\u3059\u306d\u3002\u5b9f\u6e2c\u3067\u30016.87mm \u3067\u3059\u3002<\/p>\n

\u30d5\u30a1\u30f3\u3092\u56de\u3059\u524d\u3068\u3001\u56de\u3055\u306a\u3044\u524d\u3067CPU \u6e29\u5ea6\u3092munin \u3067\u53d6\u5f97\u3057\u3088\u3046\u3068\u4ee5\u4e0b\u3092\u8a2d\u5b9a\u3002<\/p>\n

[root@opi 19:43:22 plugins]# pwd\n\/etc\/munin\/plugins\n[root@opi 19:43:23 plugins]# cat h3_temp \n#!\/bin\/sh\n\n#%# family=auto\n#%# capabilities=autoconf\n\nGETNUM=`\/bin\/cat \/sys\/class\/thermal\/thermal_zone0\/temp`\n\nif [ "$1" = "autoconf" ]; then\n        if [ -n ${GETNUM} ] ; then\n                echo yes\n                exit 0\n        else\n                echo no\n                exit 0\n        fi\nfi\n\nif [ "$1" = "config" ]; then\n        echo 'graph_title CPU Temp'\n        echo 'graph_args -r --lower-limit 0'\n        echo 'graph_vlabel Temp'\n        echo 'graph_category Apps'\n        echo 'total.label CPU0 Temp'\n        echo 'total.min 0'\n        echo 'total.draw AREA'\n        echo 'total.type GAUGE'\n        exit 0\nfi\n\necho "total.value $GETNUM";<\/pre>\n

\u78ba\u8a8d\u306f\u4ee5\u4e0b\u3092\u5b9f\u884c\u3002<\/p>\n

[root@opi 19:46:32 plugins]# .\/h3_temp autoconf\nyes\n[root@opi 19:46:37 plugins]# .\/h3_temp config\ngraph_title CPU Temp\ngraph_args -r --lower-limit 0\ngraph_vlabel Temp\ngraph_category Apps\ntotal.label CPU0 Temp\ntotal.min 0\ntotal.draw AREA\ntotal.type GAUGE\n[root@opi 19:46:44 plugins]# .\/h3_temp \ntotal.value 57\n[root@opi 19:46:52 plugins]# <\/pre>\n

\u3067\u3001munin-node \u3092\u518d\u8d77\u52d5<\/p>\n

\n

# systemctl restart munin-node<\/p>\n<\/blockquote>\n

\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306a\u611f\u3058\u3067\u30b0\u30e9\u30d5\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n

\"h3_temp-day\" <\/p>\n

\u30d5\u30a1\u30f3\u3092\u3064\u3051\u308b\u524d\u306e\u30c7\u30fc\u30bf\u3092\u3068\u308a\u3042\u3048\u305a\u8a18\u9332\u3059\u308b\u305f\u3081\u3001\u307e\u3060\u56de\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u7d50\u69cb\u71b1\u305d\u3046\u3067\u3059\u306d\u300270 \u5ea6\u304f\u3089\u3044\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n

\u3057\u3070\u3089\u304f\u3001\u3053\u306e\u307e\u307e\u8a18\u9332\u3092\u3068\u3063\u3066\u304b\u3089\u30d5\u30a1\u30f3\u3092\u56de\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u6700\u521d\u3001\u30c6\u30b9\u30c8\u3067\u56de\u3057\u3066\u3044\u305f\u3068\u304d\u306f\u3001\u4e0a\u306e\u30b0\u30e9\u30d5\u306e\u6700\u521d\u306e\u90e8\u5206\u306740 \u5ea6\u304f\u3089\u3044\u3067\u3057\u305f\u3002\u52b9\u679c\u306f\u304b\u306a\u308a\u671f\u5f85\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n

 <\/p>\n

\u53c2\u8003<\/p>\n

\n

munin\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210
\n
https:\/\/www.seeds-std.co.jp\/seedsblog\/671.html<\/a><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

aliexpress \u304b\u3089FAN \u3068\u71b1\u30b7\u30fc\u30eb\u304c\u5c4a\u304d\u307e\u3057\u305f\u306e\u3067\u3001OPI \u306b\u53d6\u308a\u4ed8\u3051\u307e\u3057\u305f\u3002   FAN \u306f2\u500b\u5165\u308a\u30013M \u306e\u71b1\u4f1d\u9053\u30b7\u30fc\u30eb\u306f3\u679a\u306714\uff4d\uff4d\u306b\u30ab\u30c3\u30c8\u3057\u3066\u3042\u308a\u307e\u3059\u30021\u679a\u306b\uff15\uff58\uff17\u306735\u679a\u3067\u3057\u305f\u3002 CPU […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[6,47,57,60,63],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":0,"uagb_excerpt":"aliexpress \u304b\u3089FAN \u3068\u71b1\u30b7\u30fc\u30eb\u304c\u5c4a\u304d\u307e\u3057\u305f\u306e\u3067\u3001OPI \u306b\u53d6\u308a\u4ed8\u3051\u307e\u3057\u305f\u3002   FAN…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/1980"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=1980"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/1980\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=1980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=1980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=1980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}