{"id":5776,"date":"2020-01-11T14:46:20","date_gmt":"2020-01-11T05:46:20","guid":{"rendered":"https:\/\/tsaitoh.net\/wp\/?p=5776"},"modified":"2020-01-29T00:03:06","modified_gmt":"2020-01-28T15:03:06","slug":"apcupsd-power-trouble","status":"publish","type":"post","link":"https:\/\/tsaitoh.net\/wp\/2020\/01\/11\/apcupsd-power-trouble\/","title":{"rendered":"\u30b5\u30fc\u30d0\u306e\u96fb\u6e90\u30c8\u30e9\u30d6\u30eb"},"content":{"rendered":"<p>\u671d\u3001UPS \u304c\u30d4\u30fc\u30d4\u30fc\u9cf4\u3063\u3066\u3001\u30b5\u30fc\u30d0\u306e\u96fb\u6e90\u304c\u843d\u3061\u305f\u3002<\/p>\n<p>\u96fb\u5b50\u30ec\u30f3\u30b8\u306b\u30b3\u30fc\u30d2\u30fc\u30b5\u30fc\u30d0\u304c\u91cd\u306a\u308b\u3068\u3001\u30d6\u30ec\u30fc\u30ab\u30fc\u304c\u843d\u3061\u308b\u524d\u306b UPS \u304c\u53cd\u5fdc\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/p>\n<p>\u6211\u304c\u5bb6\u3067\u306f\u3001\u30b5\u30fc\u30d0\u304c DHCP \u30b5\u30fc\u30d0\u3068\u306a\u3063\u3066\u3044\u308b\u304b\u3089\u3001\u30eb\u30fc\u30bf\u306a\u3069\u304c\u751f\u304d\u3066\u3044\u3066\u3082\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u4e00\u5207\u4f7f\u3048\u306a\u304f\u306a\u308b\u3002<\/p>\n<p>UPS \u306e\u52a3\u5316\u306a\u3069\u3092\u7591\u3046\u3051\u3069\u3001<a href=\"https:\/\/tsaitoh.net\/wp\/2017\/01\/08\/apcupsd\">\u66f4\u65b0\u306f2017\u5e741\u6708<\/a>\u306a\u306e\u3067\u3001\u30d0\u30c3\u30c6\u30ea\u30fc\u72b6\u614b\u3082\u6700\u60aa\u306a\u307b\u3069\u3067\u3082\u306a\u3044\u306f\u305a\u3002<\/p>\n<h3 class=\"my-header\">apcupsd\u306b\u3088\u308b\u96fb\u6e90\u505c\u6b62\u306f\u6b63\u3057\u304f\u52d5\u4f5c<\/h3>\n<p>UPS \u304c\u518d\u3073\u6b63\u5e38\u306b\u901a\u96fb\u3067\u304d\u308b\u307e\u3067\u3001\u5c11\u3057\u624b\u9593\u53d6\u3063\u305f\u3051\u3069\u3001\u5fa9\u65e7\u5f8c\u306b\u72b6\u614b\u3092\u78ba\u8a8d\u3002\u30b5\u30fc\u30d0\u304c\u6b7b\u306c\u524d\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3092\u958b\u59cb\u3057\u3001\u6b63\u5e38\u306b\u96fb\u6e90\u505c\u6b62\u304c\u51fa\u6765\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\"># grep apcupsd \/var\/log\/syslog\r\nJan 11 08:59:30 perrine apcupsd[823]: Power failure.\r\nJan 11 08:59:36 perrine apcupsd[823]: Running on UPS batteries.\r\nJan 11 08:59:42 perrine apcupsd[823]: Reached run time limit on batteries.\r\nJan 11 08:59:42 perrine apcupsd[823]: Initiating system shutdown!\r\nJan 11 08:59:42 perrine apcupsd[823]: apcupsd exiting, signal 15\r\n<\/pre>\n<h3 class=\"my-header\">apcupsd-cgi \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>UPS \u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b\u304c\u3001\u96fb\u6e90\u96fb\u5727\u304c\u671d\u306e\u8d77\u5e8a\u306b\u5408\u308f\u305b\u3066<span style=\"color: #ff0000;\"><strong>95[V]\u3092\u4e0b\u56de\u3063\u3066\u3044\u308b<\/strong><\/span>\u3002<\/p>\n<p><a href=\"https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-munin-status.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5777 aligncenter\" src=\"https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-munin-status-300x132.png\" alt=\"\" width=\"416\" height=\"183\" srcset=\"https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-munin-status-300x132.png 300w, https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-munin-status.png 481w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/a><\/p>\n<p>\u3057\u304b\u3057\u3001munin \u3067\u306f\u3001\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u611f\u899a\u304c5\u5206\u306a\u306e\u3067\u3001\u843d\u3061\u308b\u77ac\u9593\u306b\u3069\u3046\u3044\u3046\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u78ba\u8a8d\u3057\u305f\u3044\u3002\u3072\u3068\u307e\u305a\u3001apcupsd \u3092 CGI \u304b\u3089\u8868\u793a\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u51fa\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p><a href=\"https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-apcupsd-multimon-cgi.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5781 aligncenter\" src=\"https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-apcupsd-multimon-cgi-300x214.png\" alt=\"\" width=\"300\" height=\"214\" srcset=\"https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-apcupsd-multimon-cgi-300x214.png 300w, https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-apcupsd-multimon-cgi-768x547.png 768w, https:\/\/tsaitoh.net\/wp\/wp-content\/uploads\/2020\/01\/2020-01-11-apcupsd-multimon-cgi.png 805w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3 class=\"my-header\">apcupsd\/apccontrol<\/h3>\n<p>apcupsd \u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u3066\u3044\u308b\u3068\u3001\/etc\/apcupsd\/apccontrol \u3068\u3044\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u3001\u72b6\u614b\u306b\u5fdc\u3058\u3066\u69d8\u3005\u306a\u8b66\u544a\u304c\u51fa\u3066\u3044\u308b\u3002\u96fb\u6e90\u304c UPS \u306e\u96fb\u6e90\u306b\u5207\u308a\u66ff\u308f\u308b\u6642\u306b\u306f onbattery \u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u3001\u7ba1\u7406\u8005\u5b9b\u306b\u30e1\u30fc\u30eb\u3092\u51fa\u3057\u3066\u3044\u308b\u3002\u6539\u3081\u3066\u30e1\u30fc\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001<\/p>\n<pre class=\"moz-quote-pre EnlighterJSRAW\" data-enlighter-language=\"raw\">perrine UPS perrine Power Failure !!!\r\n \r\nDATE     : 2020-01-11 08:59:35 +0900  \r\nHOSTNAME : perrine\r\nVERSION  : 3.14.14 (31 May 2016) debian\r\nUPSNAME  : perrine\r\nCABLE    : USB Cable\r\nDRIVER   : USB UPS Driver\r\nUPSMODE  : Stand Alone\r\nSTARTTIME: 2019-12-30 16:18:32 +0900  \r\nMODEL    : APC ES 550G \r\nSTATUS   : ONBATT \r\nLINEV    : 88.0 Volts\r\nLOADPCT  : 23.0 Percent\r\nBCHARGE  : 100.0 Percent\r\nTIMELEFT : 19.7 Minutes\r\nMBATTCHG : 5 Percent\r\nMINTIMEL : 3 Minutes\r\nMAXTIME  : 5 Seconds\r\nSENSE    : Low\r\n<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>\u843d\u3061\u308b\u77ac\u9593\u306e\u96fb\u5727\u306f\u300188[V]<\/strong> <\/span>\u3002\u3061\u3087\u3046\u3069\u3001\u30de\u30de\u306e\u671d\u30c8\u30fc\u30b9\u30c8\u3068\u30d0\u30ea\u30b9\u30bf\u306e\u30b9\u30a4\u30c3\u30c1\u3092\u5165\u308c\u3066\u3044\u305f\u3042\u305f\u308a\u3060\u306a\u3002<\/p>\n<p>\u3069\u3061\u3089\u306b\u3057\u308d\u3001onbattery \u30b9\u30af\u30ea\u30d7\u30c8\u8d77\u52d5\u304b\u3089\u3001killpower \u958b\u59cb\u307e\u3067\u82e5\u5e72\u306e15\u79d2\u307b\u3069\u306e\u6642\u9593\u304c\u3042\u308b\u3057\u3001\u30e1\u30fc\u30eb\u3060\u3051\u3067\u306a\u304f google-home-notifier \u3092\u4f7f\u3063\u3066\u3001\u96fb\u6e90\u7570\u5e38\u3092\u558b\u3089\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u671d\u3001UPS \u304c\u30d4\u30fc\u30d4\u30fc\u9cf4\u3063\u3066\u3001\u30b5\u30fc\u30d0\u306e\u96fb\u6e90\u304c\u843d\u3061\u305f\u3002 \u96fb\u5b50\u30ec\u30f3\u30b8\u306b\u30b3\u30fc\u30d2\u30fc\u30b5\u30fc\u30d0\u304c\u91cd\u306a\u308b\u3068\u3001\u30d6\u30ec\u30fc\u30ab\u30fc\u304c\u843d\u3061\u308b\u524d\u306b UPS \u304c\u53cd\u5fdc\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002 \u6211\u304c\u5bb6\u3067\u306f\u3001\u30b5\u30fc\u30d0\u304c DHCP \u30b5\u30fc\u30d0\u3068\u306a\u3063\u3066\u3044\u308b\u304b\u3089\u3001\u30eb\u30fc\u30bf\u306a\u3069\u304c\u751f\u304d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,26,3,11],"tags":[122],"class_list":["post-5776","post","type-post","status-publish","format-standard","hentry","category-debian","category-linux","category-t-saitoh","category-computer","tag-ups"],"_links":{"self":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/5776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/comments?post=5776"}],"version-history":[{"count":0,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/5776\/revisions"}],"wp:attachment":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/media?parent=5776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/categories?post=5776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/tags?post=5776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}