{"id":24,"date":"2008-03-01T04:50:46","date_gmt":"2008-02-29T19:50:46","guid":{"rendered":"https:\/\/hiro7216.mydns.jp\/blog\/?p=24"},"modified":"2024-01-30T23:39:14","modified_gmt":"2024-01-30T14:39:14","slug":"ups%e3%81%ae%e7%8a%b6%e6%85%8b%e3%82%92mrtg%e3%81%a7%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/hiro7216.mydns.jp\/blog\/?p=24","title":{"rendered":"UPS\u306e\u72b6\u614b\u3092MRTG\u3067\u8868\u793a\u3059\u308b\uff01"},"content":{"rendered":"\n<p>\u307e\u3060UPS\u306e\u30b1\u30fc\u30d6\u30eb\u306f\u5c4a\u3044\u3066\u307e\u305b\u3093\u30fb\u30fb\u30fb<br>\u3057\u304b\u3057\u5148\u306b\u8a2d\u5b9a\u3057\u3061\u3083\u3044\u307e\u3059\uff08\u7b11\uff09<\/p>\n\n\n\n<p>\u3068\u308a\u3042\u3048\u305aUPS\u76e3\u8996\u306b\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306fapcupsd\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br>apt-get install apcupsd<br>apt-get install acpupsd-cgi<br>\u4e8c\u3064\u76ee\u306e\u5974\u306fUPS\u306e\u72b6\u614b\u3092CGI\u3067\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<br>debian\u3067\u306fapache2\u306eCGI\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3046\u307e\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>apcupsd\u306e\u8a2d\u5b9a\u306f\u6ca2\u5c71\u30b5\u30a4\u30c8\u304c\u3042\u308b\u306e\u3067\u305d\u308c\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3082\u3089\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066MRTG\u306e\u8a2d\u5b9a\u306b\u5165\u308a\u307e\u3059\u3002<br>\u3053\u3061\u3089\u3082\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<br>\u5b9f\u969b\u306bMRTG\u306e\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u307e\u3060UPS\u3068\u30b1\u30fc\u30d6\u30eb\u3067\u7e4b\u304c\u3063\u3066\u3044\u306a\u3044\u306e\u3067<br>\u5f53\u7136\u306a\u304c\u3089\u5168\u3066\uff10\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u30fb\u30fb\u30fb<br>\u3042\u3068\u306fUPS\u306e\u30b1\u30fc\u30d6\u30eb\u304c\u5c4a\u304f\u306e\u3092\u5f85\u3064\u3070\u304b\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br># \uff35\uff30\uff33\u6e29\u5ea6\u3001\u5bb9\u91cf<br>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br>Target[upsTemperature_Charge]: `\/sbin\/apcaccess status | awk &#8216;\/^ITEMP\/ {print $3*10} \/^BCHARGE\/ {print $3*10}&#8217; &amp;&amp; uname -n`<br>MaxBytes[upsTemperature_Charge]: 1200<br>Options[upsTemperature_Charge]: gauge, growright, absolute, nopercent, noinfo, unknaszero<br>YTicsFactor[upsTemperature_Charge]: 0.1<br>Factor[upsTemperature_Charge]: 0.1<br>YLegend[upsTemperature_Charge]: UPS Capa.&amp;Char.<br>ShortLegend[upsTemperature_Charge]:<br>LegendI[upsTemperature_Charge]: \u5bb9\u91cf(%)<br>LegendO[upsTemperature_Charge]: \u6e29\u5ea6(deg.)<br>Legend1[upsTemperature_Charge]: \u30d0\u30c3\u30c6\u30ea\u30a3\u5bb9\u91cf [BCHARGE]<br>Legend2[upsTemperature_Charge]: \u6e29\u5ea6 [ITEMP]<br>Title[upsTemperature_Charge]: \uff35\uff30\uff33\u6e29\u5ea6\u3001\u5bb9\u91cf<br>PageTop[upsTemperature_Charge]:<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\uff35\uff30\uff33\u6e29\u5ea6\u3001\u5bb9\u91cf for SmartUPS 700J<\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>System:<\/td><td>APC SmartUPS 700J<\/td><\/tr><tr><td>Maintainer:<\/td><td>Root<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br># \uff35\uff30\uff33\u5165\uff64\u51fa\u529b\u96fb\u5727<br>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br>Target[upsVoltage]: `\/sbin\/apcaccess status | awk &#8216;\/^LINEV\/ {print $3*10} \/^OUTPUTV\/ {print $3*10}&#8217; &amp;&amp; uname -n`<br>Maxbytes[upsVoltage]: 1200<br>Options[upsVoltage]: gauge, growright, absolute, nopercent, noinfo, unknaszero<br>YTicsFactor[upsVoltage]: 0.1<br>Factor[upsVoltage]: 0.1<br>YLegend[upsVoltage]: UPS Voltage(v)<br>ShortLegend[upsVoltage]: V<br>LegendI[upsVoltage]: IN<br>LegendO[upsVoltage]: OUT<br>Legend1[upsVoltage]: \u5165\u529b\u96fb\u5727 [LINEV]<br>Legend2[upsVoltage]: \u51fa\u529b\u96fb\u5727 [OUTPUTV]<br>Title[upsVoltage]: \uff35\uff30\uff33\u5165\uff64\u51fa\u529b\u96fb\u5727<br>PageTop[upsVoltage]:<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\uff35\uff30\uff33\u5165\uff64\u51fa\u529b\u96fb\u5727 for SmartUPS 700J<\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>System:<\/td><td>APC SmartUPS 700J<\/td><\/tr><tr><td>Maintainer:<\/td><td>Root<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u307e\u3060UPS\u306e\u30b1\u30fc\u30d6\u30eb\u306f\u5c4a\u3044\u3066\u307e\u305b\u3093\u30fb\u30fb\u30fb\u3057\u304b\u3057\u5148\u306b\u8a2d\u5b9a\u3057\u3061\u3083\u3044\u307e\u3059\uff08\u7b11\uff09 \u3068\u308a\u3042\u3048\u305aUPS\u76e3\u8996\u306b\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u4eca\u56de\u306fapcupsd\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002apt-get install apcupsdapt &hellip; <a href=\"https:\/\/hiro7216.mydns.jp\/blog\/?p=24\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">UPS\u306e\u72b6\u614b\u3092MRTG\u3067\u8868\u793a\u3059\u308b\uff01<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,287],"tags":[166],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-linkstation","category-nas","tag-linkstation"],"_links":{"self":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24"}],"version-history":[{"count":0,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}