{"id":801,"date":"2021-08-15T15:15:54","date_gmt":"2021-08-15T07:15:54","guid":{"rendered":"https:\/\/cychien.tw\/wordpress\/?p=801"},"modified":"2022-02-02T01:36:38","modified_gmt":"2022-02-01T17:36:38","slug":"esxi-%e9%80%8f%e9%81%8e-nut-client-%e9%80%a3%e6%8e%a5-synology-%e7%b6%b2%e8%b7%af%e4%b8%8d%e6%96%b7%e9%9b%bb%e7%b3%bb%e7%b5%b1%e4%bc%ba%e6%9c%8d%e5%99%a8","status":"publish","type":"post","link":"https:\/\/cychien.tw\/wordpress\/2021\/08\/15\/esxi-%e9%80%8f%e9%81%8e-nut-client-%e9%80%a3%e6%8e%a5-synology-%e7%b6%b2%e8%b7%af%e4%b8%8d%e6%96%b7%e9%9b%bb%e7%b3%bb%e7%b5%b1%e4%bc%ba%e6%9c%8d%e5%99%a8\/","title":{"rendered":"ESXi \u900f\u904e NUT Client \u9023\u63a5 Synology \u7db2\u8def\u4e0d\u65b7\u96fb\u7cfb\u7d71\u4f3a\u670d\u5668"},"content":{"rendered":"\r\n<p>\u81ea\u5f9e\u8cb7\u4e86\u7b2c\u4e00\u53f0\u7684 NAS (Synology DS1511+) \u4e4b\u5f8c\uff0c\u70ba\u4e86\u78ba\u4fdd\u5e02\u96fb\u65b7\u96fb\u6642 NAS \u80fd\u5920\u7a69\u5b9a\u6b63\u5e38\u7684\u95dc\u6a5f\uff0c\u7576\u6642\u5c31\u6dfb\u8cfc\u4e86\u4fd7\u7a31 UPS \u7684\u4e0d\u65b7\u96fb\u7cfb\u7d71 (APC BV650-TW)\uff0c\u53ef\u4ee5\u63d0\u4f9b 3 \u500b\u5099\u63f4\u4f9b\u96fb\u63d2\u5ea7\uff0c\u4ee5\u53ca 3 \u500b\u7a69\u58d3\u63d2\u5ea7\u3002NAS \u4e0a\u7684\u786c\u789f\u900f\u904e UPS \u7684\u4fdd\u8b77\uff0c\u7684\u78ba\u7a69\u5b9a\u7a0b\u5ea6\u597d\u5f88\u591a\uff0c\u7576\u6642\u6709\u90e8\u5206\u7684 2TB \u786c\u789f\u5230\u73fe\u5728\u4ecd\u7136\u7e7c\u7e8c\u5b58\u6d3b\u8457\u7a69\u5b9a\u5de5\u4f5c\u3002\u4e0d\u904e\u96a8\u8457\u6dfb\u8cfc\u7684\u8a2d\u5099\u8d8a\u4f86\u8d8a\u591a\uff0c\u539f\u4f86\u7684 UPS \u5df2\u7d93\u4e0d\u6577\u4f7f\u7528\uff0c\u6240\u4ee5\u5728\u53bb\u5e74\u516b\u6708\u6642\u5c31\u66f4\u63db\u4e86\u5bb9\u91cf\u9054\u5230 1500VA\uff0c\u4ee5\u53ca\u66f4\u591a\u96fb\u6e90\u63d2\u5ea7\u7684 CyperPower CP1500PFCLCD\uff0c\u900f\u904e LCD \u87a2\u5e55\u9084\u53ef\u4ee5\u986f\u793a\u76ee\u524d\u96fb\u6c60\u5b58\u91cf\uff0c\u4ee5\u53ca\u7e3d\u8017\u96fb\u91cf\u7b49\u8cc7\u8a0a\uff0c\u76ee\u524d\u9019\u53f0 UPS \u4e00\u5171\u4f9b\u61c9\u4e86\u4e09\u53f0 NAS \/ MacMini \/ HPE. Microserver Gen10+ \u4ee5\u53ca\u91cd\u8981\u7684 Switch \u8a2d\u5099\u7b49\u7b49\u3002\u4e0a\u9762\u63a5\u4e86\u9019\u9ebc\u591a\u8a2d\u5099\uff0c\u5f9e UPS LCD \u7684\u8cc7\u8a0a\u4e2d\u986f\u793a\u96fb\u6c60\u4ecd\u53ef\u4f9b\u61c9 24 \u5206\u9418\u624d\u6703\u5b8c\u5168\u6c92\u96fb\uff0c\u5c0d\u65bc\u5c07\u8a2d\u5099\u5b89\u5168\u7684\u95dc\u6a5f\u4f86\u8aaa\u61c9\u8a72\u662f\u7dbd\u7dbd\u6709\u9918\u4e86\u3002<br \/><img decoding=\"async\" width=\"300\" height=\"300\" class=\"wp-image-804 lazyload\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/300;width: 300px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/00.1PA-0000301-00G_3D_01_WS_E.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.1PA-0000301-00G_3D_01_WS_E.png 600w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.1PA-0000301-00G_3D_01_WS_E-300x300.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.1PA-0000301-00G_3D_01_WS_E-150x150.png 150w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n<p><!--more--><\/p>\r\n\r\n<p>\u4e0d\u904e\u56e0\u70ba UPS \u53ea\u80fd\u900f\u904e USB \u63a5\u7dda\u5b89\u88dd\u5728\u4e00\u53f0 NAS \u4e0a\uff0c\u5176\u9918\u7684\u8a2d\u5099\u5982\u4f55\u5075\u6e2c\u5230 UPS \u5e02\u96fb\u65b7\u96fb\u7684\u8a0a\u865f\u800c\u914d\u5408\u9032\u884c\u95dc\u6a5f\u5462\uff1f\u7531\u65bc\u5bb6\u88e1\u7684 NAS \u90fd\u662f Synology \u7684\u8a2d\u5099\uff0c\u6240\u4ee5\u53ef\u4ee5\u900f\u904e Synology \u672c\u8eab\u7684\u7db2\u8def\u4e0d\u65b7\u96fb\u7cfb\u7d71\u4f3a\u670d\u5668\u4f86\u9023\u63a5\uff0c\u53ea\u9700\u8981\u5c07\u9060\u7aef\u7684 NAS IP \u8a2d\u5b9a\u4e0a\u53bb\u5373\u53ef\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u8ca0\u8cac\u9023\u63a5 UPS \u7684 NAS\uff0c\u53ef\u4ee5\u5230\u63a7\u5236\u53f0 &gt; \u786c\u9ad4 \uff06 \u96fb\u6e90 &gt; \u4e0d\u65b7\u96fb\u7cfb\u7d71\uff0c\u555f\u52d5\u7db2\u8def\u4e0d\u65b7\u96fb\u7cfb\u7d71\u4f3a\u670d\u5668\uff0c\u7136\u5f8c\u5c07\u9060\u7aef\u9700\u8981\u63a5\u6536 UPS \u8a0a\u865f\u7684\u7db2\u8def\u8a2d\u5099 IP \u52a0\u5165\u5373\u53ef\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"297\" class=\"wp-image-803 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/297;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/00.Synology.Network.UPS_.Server.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.Synology.Network.UPS_.Server.png 774w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.Synology.Network.UPS_.Server-300x148.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.Synology.Network.UPS_.Server-768x380.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u5176\u4ed6\u7684 Synology NAS \u5c31\u4e00\u6a23\u5230\u63a7\u5236\u53f0 &gt; \u786c\u9ad4 \uff06 \u96fb\u6e90 &gt; \u4e0d\u65b7\u96fb\u7cfb\u7d71 \u8a2d\u5b9a\u4e2d\uff0c\u5c07\u4e0d\u65b7\u96fb\u7cfb\u7d71\u985e\u578b\u6539\u70ba\u300cSynology \u4e0d\u65b7\u96fb\u7cfb\u7d71\u4f3a\u670d\u5668\u300d\uff0c\u7136\u5f8c\u8a2d\u5b9a\u9060\u7aef\u63d0\u4f9b UPS \u8a0a\u865f\u7684 Synology NAS IP \u5373\u53ef\u3002\u5982\u6b64\u4e00\u4f86\u9023\u63a5 UPS \u7684 NAS \u5075\u6e2c\u5230\u5e02\u96fb\u65b7\u96fb\u8a0a\u865f\uff0c\u5c31\u6703\u901a\u77e5\u6240\u6709\u9060\u7aef\u7684 NAS \u4e00\u8d77\u9032\u5165\u5b89\u5168\u6a21\u5f0f\uff0c\u85c9\u4ee5\u4fdd\u8b77\u786c\u789f\u4e0a\u7684\u8cc7\u6599\u4ee5\u53ca\u5404\u9805\u904b\u4f5c\u7684\u670d\u52d9\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"241\" class=\"wp-image-806 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/241;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/00.2.Remote.NAS_.UPS_.Setting.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.2.Remote.NAS_.UPS_.Setting.png 985w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.2.Remote.NAS_.UPS_.Setting-300x121.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/00.2.Remote.NAS_.UPS_.Setting-768x309.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u4f46\u662f\u5176\u4ed6\u975e Synology NAS \u7684\u8a2d\u5099\uff0c\u50cf\u662f\u6211\u7684 HPE Microver Gen10+ \u5b89\u88dd\u4e86 ESXi \u4e4b\u5f8c\u662f\u5426\u4e5f\u6709\u8fa6\u6cd5\u900f\u904e\u985e\u4f3c\u7684\u65b9\u5f0f\u4f86\u63a5\u6536 Synology NAS \u6240\u63d0\u4f9b\u7684\u8a0a\u865f\u4f86\u9032\u884c\u95dc\u6a5f\u5462\uff1f\u7814\u7a76\u4e86\u4e00\u4e0b\uff0c\u5176\u5be6 Synology NAS \u6240\u63d0\u4f9b\u7684\u7db2\u8def\u4e0d\u65b7\u96fb\u7cfb\u7d71\u4f3a\u670d\u5668\u5176\u5be6\u5c31\u662f\u6a19\u6e96\u7684\u958b\u6e90\u8edf\u9ad4 <a href=\"https:\/\/networkupstools.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Network UPS Tools (NUT)<\/a>\uff0c\u53ea\u8981\u5728 ESXi \u4e0a\u5b89\u88dd NUT \u5957\u4ef6\u5f8c\uff0c\u900f\u904e\u9069\u7576\u7684\u8a2d\u5b9a\u5c31\u53ef\u4ee5\u6b63\u78ba\u5730\u63a5\u6536 Synology \u7684\u7db2\u8def\u4e0d\u65b7\u96fb\u7cfb\u7d71\u4f3a\u670d\u5668\u8a0a\u865f\u4f86\u9032\u884c\u95dc\u6a5f\u3002\u4e0b\u9762\u5c31\u662f\u6211\u5b89\u88dd\u8a2d\u5b9a\u904e\u7a0b\u7684\u7b46\u8a18\u3002<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>\u4e0b\u8f09\u7de8\u8b6f\u597d\u7684 NUT Client ESXi \u5957\u4ef6<\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u9019\u4e16\u754c\u4e0a\u771f\u7684\u6709\u5f88\u591a\u597d\u5fc3\u4eba\uff0c\u9664\u4e86\u5beb\u4e86\u5f88\u591a\u514d\u8cbb\u7684\u958b\u6e90\u8edf\u9ad4\uff08\u958b\u6e90\u842c\u6b72\uff09\uff0c\u9084\u5e6b\u4f60\u7de8\u8b6f\u6210\u70ba\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u7684\u57f7\u884c\u6a94\uff0c\u50cf ESXi \u4e0a\u7684\u5957\u4ef6\u5c31\u53ef\u4ee5\u5728\u9019\u88e1 (<a href=\"http:\/\/rene.margar.fr\/2012\/05\/client-nut-pour-esxi-5-0\/\">http:\/\/rene.margar.fr\/2012\/05\/client-nut-pour-esxi-5-0\/<\/a>) \u627e\u5230\u7de8\u8b6f\u597d\u7684\u4e8c\u9032\u4f4d\u57f7\u884c\u6a94\uff0c\u7576\u7136\u6211\u662f\u770b\u4e0d\u61c2\u6cd5\u6587\u5566\uff0c\u4e0d\u904e\u5e78\u597d\u6709\u842c\u80fd\u7684 Google Translate \u4f86\u5e6b\u5fd9\u7ffb\u8b6f\u6210\u4e2d\u6587\uff0c\u5728\u8a72\u7bc7\u6587\u7ae0\u4e2d\u4f5c\u8005\u8aaa\u4ed6\u6e2c\u8a66\u4f7f\u7528 ESXi 5.0~7.0.0 \u90fd\u53ef\u6b63\u5e38\u4f7f\u7528\uff0c\u800c\u6211\u81ea\u5df1\u7528 ESXi 7.0.2 \u4e5f\u662f\u53ef\u4ee5\u5b8c\u7f8e\u642d\u914d\uff0c\u6240\u4ee5\u8acb\u5b89\u5fc3\u670d\u7528\u3002\u5982\u679c\u4e0a\u8ff0\u4e0b\u8f09\u9023\u7d50\u4e0d\u5e78\u907a\u5931\u4e86\uff0c\u4e5f\u53ef\u4ee5\u5f9e <a href=\"\/wordpress\/wp-content\/uploads\/2021\/08\/NutClient-ESXi-2.1.1.i386.tar.gz\" target=\"_blank\" rel=\"noreferrer noopener\">\u9019\u5152 <\/a>\u4f86\u4e0b\u8f09\u3002<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>\u5c07 NUT Client \u5957\u4ef6\u4e0a\u50b3\u5230 ESXi<\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u7576\u7136\u8981\u5c07 NUT Client \u4e0a\u50b3\u5230 ESXi \u624d\u80fd\u57f7\u884c\uff0c\u9664\u4e86\u900f\u904e\u539f\u672c ESXi \u7ba1\u7406\u4ecb\u9762\u7684\u8cc7\u6599\u5b58\u653e\u5340\u6a94\u6848\u7e3d\u7ba1\u4f86\u4e0a\u50b3\u4e4b\u5916\uff0c\u56e0\u70ba\u5f8c\u7e8c\u90fd\u8981\u900f\u904e SSH \u7d42\u7aef\u4ecb\u9762 CLI \u6307\u4ee4\u65b9\u5f0f\u9032\u884c\u5b89\u88dd\uff0c\u6240\u4ee5\u6211\u9078\u64c7\u4f7f\u7528 scp \u6307\u4ee4\u5c07 NUT Client \u4e0a\u50b3\u5230 ESXi \u7684 \/tmp\/NutClient \u76ee\u9304\u4e0b\u89e3\u958b\u3002<\/p>\r\n\r\n<pre class=\"wp-block-preformatted\">\r\nscp NutClient-ESXi-X.X.X.i386.tar.gz esxiuser@[esxi-host-name]:\/tmp\/NutClient\r\nssh esxiuser@[esxi-host-name]\r\ncd \/tmp\/NutClient\r\ntar zxvf NutClient-ESXi-X.X.X.i386.tar.gz\r\n<\/pre>\r\n\r\n<p>\r\n<img decoding=\"async\" width=\"600\" height=\"317\" class=\"wp-image-811 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/317;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/01.Scp_.to_.Exsi_.and_.Untar_.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/01.Scp_.to_.Exsi_.and_.Untar_.png 979w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/01.Scp_.to_.Exsi_.and_.Untar_-300x158.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/01.Scp_.to_.Exsi_.and_.Untar_-768x406.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/>\r\n<\/p>\r\n\r\n\r\n\r\n<p>\u89e3\u958b\u4e4b\u5f8c\u6703\u6709\u4e94\u500b\u6a94\u6848\uff0c\u9664\u4e86 readme \u8aaa\u660e\u6a94\u53ca ESXi vib \u5957\u4ef6\u6a94\u4ee5\u5916\uff0c\u5c31\u662f \u5b89\u88dd \/ \u79fb\u9664 \/ \u66f4\u65b0 \u4e09\u500b shell script\uff0c\u671b\u6587\u751f\u7fa9\uff0c\u6240\u4ee5\u5c31\u4e0d\u518d\u52a0\u4ee5\u8aaa\u660e\u3002<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>\u8abf\u6574 ESXi \u5957\u4ef6\u6a21\u5f0f\u70ba CommunitySupported<\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u76f4\u63a5\u57f7\u884c .\/upsmon-install.sh \u4f86\u9032\u884c\u5b89\u88dd\uff0c\u4f46\u5b89\u88dd\u6642\u51fa\u73fe\u8b66\u793a\u8a0a\u606f\u63d0\u793a\uff0c\u76ee\u524d\u7684\u5957\u4ef6\u6a21\u5f0f\u70ba PartnerSupported\uff0c\u8acb\u8abf\u6574\u70ba CommunitySupported \u6a21\u5f0f\u624d\u80fd\u9032\u884c\u5b89\u88dd\u793e\u7fa4\u6240\u63d0\u4f9b\u7684\u958b\u6e90\u5957\u4ef6\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"90\" class=\"wp-image-814 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/90;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/02.Install.and_.Package.Level_.Warning.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/02.Install.and_.Package.Level_.Warning.png 979w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/02.Install.and_.Package.Level_.Warning-300x45.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/02.Install.and_.Package.Level_.Warning-768x115.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u53ef\u4ee5\u900f\u904e\u6307\u4ee4 esxcli software acceptance set &#8211;level=CommunitySupported \u4f86\u4fee\u6539\u5b89\u88dd\u6a21\u5f0f\u3002\u4fee\u6539\u5b8c\u7562\u5f8c\u518d\u900f\u904e esxcli software acceptance get \u6307\u4ee4\u4f86\u67e5\u95b1\u76ee\u524d\u5b89\u88dd\u5957\u4ef6\u7684\u6a21\u5f0f\u662f\u5426\u5df2\u6b63\u78ba\u8abf\u6574\u70ba CommunitySupported\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"186\" class=\"wp-image-815 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/186;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/03.Set_.Package.Level_.Community.Supported.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/03.Set_.Package.Level_.Community.Supported.png 979w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/03.Set_.Package.Level_.Community.Supported-300x93.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/03.Set_.Package.Level_.Community.Supported-768x238.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>\u5b89\u88dd NUT Client \u5957\u4ef6<\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u518d\u6b21\u57f7\u884c .\/upsmon-install.sh \u4f86\u5b89\u88dd NUT Client \u5957\u4ef6\uff0c\u9019\u6b21\u5c31\u986f\u793a\u5b89\u88dd\u6210\u529f\u3002\u5b89\u88dd\u6210\u529f\u5f8c\uff0cESXi \u4e3b\u6a5f\u9700\u91cd\u65b0\u958b\u6a5f\u4ee5\u4fbf\u8b93 NUT Client \u5957\u4ef6\u751f\u6548\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"170\" class=\"wp-image-816 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/170;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/04.ReInstall.and_.Success.Reboot.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/04.ReInstall.and_.Success.Reboot.png 979w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/04.ReInstall.and_.Success.Reboot-300x85.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/04.ReInstall.and_.Success.Reboot-768x217.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>\u8a2d\u5b9a ESXi NUT \u5957\u4ef6\u53c3\u6578<\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>NUT Client \u5957\u4ef6\u751f\u6548\u4e4b\u5f8c\uff0c\u5728 ESXi \u7684\u7ba1\u7406\u4ecb\u9762 (\u5c0e\u89bd\u5668 &gt; \u7ba1\u7406 &gt; \u670d\u52d9) \u4e2d\u5c31\u53ef\u4ee5\u627e\u5230 NutClient \u9019\u500b\u5957\u4ef6\uff0c\u53ea\u662f\u76ee\u524d\u72c0\u614b\u70ba\u300c<span class=\"has-inline-color has-vivid-red-color\">\u5df2\u505c\u6b62<\/span>\u300d\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"240\" class=\"wp-image-820 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/240;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/05.1.NUT-Client-Package.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.1.NUT-Client-Package.png 1505w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.1.NUT-Client-Package-300x120.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.1.NUT-Client-Package-1024x410.png 1024w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.1.NUT-Client-Package-768x308.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u4e0d\u904e\u5728\u555f\u52d5\u4e4b\u524d\uff0c\u9700\u8981\u8a2d\u5b9a\u76f8\u95dc\u9060\u7aef Synology \u7db2\u8def\u4e0d\u65b7\u96fb\u7cfb\u7d71\u4f3a\u670d\u5668\u76f8\u95dc\u53c3\u6578\uff0c\u53ef\u4ee5\u5728\u5c0e\u89bd\u5668 &gt; \u7ba1\u7406 &gt; \u7cfb\u7d71 &gt; \u9032\u968e\u8a2d\u5b9a \u4e2d\u627e\u5230 NUT Client \u7684\u76f8\u95dc\u53c3\u6578\uff0c\u5206\u5225\u8aaa\u660e\u5982\u4e0b<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">UserVars.NutFinalDelay: \u63a5\u6536\u5230\u9060\u7aef\u65b7\u96fb\u5f8c\u57f7\u884c\u95dc\u6a5f\u7684\u79d2\u6578(seconds)\r\nUserVars.NutMailTo: \u8a2d\u5b9a\u96fb\u5b50\u90f5\u4ef6\u9032\u884c\u901a\u77e5\r\nUserVars.NutPassword: \u9023\u63a5\u5bc6\u78bc\uff0cSynology \u9810\u8a2d\u70ba secret\r\nUserVars.NutSendMail: \u8a2d\u5b9a\u662f\u5426\u8981\u4ee5\u96fb\u5b50\u90f5\u4ef6\u901a\u77e5 (1=\u8981\u901a\u77e5,0=\u4e0d\u901a\u77e5)\r\nUserVars.NutUpsName: \u683c\u5f0f\u70ba &lt;upsname@NAS_IP&gt;\uff0cname \u9810\u8a2d\u70ba ups\r\nUserVars.NutUser: \u9023\u63a5\u5e33\u865f\uff0cSynology \u9810\u8a2d\u70ba monuser<\/pre>\r\n\r\n\r\n\r\n<p><img decoding=\"async\" width=\"600\" height=\"203\" class=\"wp-image-819 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/203;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/05.2.UserVars.NUT_.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.2.UserVars.NUT_.png 1796w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.2.UserVars.NUT_-300x101.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.2.UserVars.NUT_-1024x346.png 1024w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.2.UserVars.NUT_-768x260.png 768w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/05.2.UserVars.NUT_-1536x519.png 1536w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>\u555f\u52d5 NUT Client<\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u8a2d\u5b9a\u597d\u53c3\u6578\u5f8c\u5c31\u53ef\u4ee5\u518d (\u56de\u5230 \u5c0e\u89bd\u5668 &gt; \u7ba1\u7406 &gt; \u670d\u52d9) \u5617\u8a66\u555f\u52d5 NutClient \uff0c\u9078\u64c7 NutClient \u5f8c\u6309\u5de6\u4e0a\u89d2\u300c\u555f\u52d5\u300d\u6309\u9215\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"266\" class=\"wp-image-821 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/266;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/06.Start_.UpsMon.Daemon.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/06.Start_.UpsMon.Daemon.png 1132w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/06.Start_.UpsMon.Daemon-300x133.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/06.Start_.UpsMon.Daemon-1024x453.png 1024w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/06.Start_.UpsMon.Daemon-768x340.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u555f\u52d5\u6210\u529f\u7684\u8a71\uff0cNutClient \u72c0\u614b\u61c9\u8a72\u6703\u986f\u793a\u70ba\u300c<span class=\"has-inline-color has-vivid-green-cyan-color\">\u57f7\u884c\u4e2d<\/span>\u300d\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"217\" class=\"wp-image-822 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/217;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/06.UpsMon.Started.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/06.UpsMon.Started.png 1255w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/06.UpsMon.Started-300x109.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/06.UpsMon.Started-1024x370.png 1024w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/06.UpsMon.Started-768x278.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u82e5\u555f\u52d5\u5931\u6557\uff0c\u5247\u53ef\u4ee5\u6aa2\u67e5 \/var\/log\/syslog.log \u770b\u770b NUT Client (upsmon daemon) \u555f\u52d5\u662f\u5426\u6709\u767c\u751f\u932f\u8aa4\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"289\" class=\"wp-image-823 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/289;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/07.Check_.Syslog.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/07.Check_.Syslog.png 822w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/07.Check_.Syslog-300x145.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/07.Check_.Syslog-768x370.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<p>\u78ba\u8a8d\u555f\u52d5\u6210\u529f\u5f8c\uff0c\u5c31\u53ef\u4ee5\u4fee\u6539\u5957\u4ef6\u555f\u52d5\u7684\u9078\u9805\uff0c\u5c07 NUT Client \u5957\u4ef6\u6539\u70ba\u958b\u6a5f\u5f8c\u81ea\u52d5\u555f\u52d5\uff0c\u4e5f\u5c31\u662f\u300c\u96a8\u4e3b\u6a5f\u4e00\u8d77\u555f\u52d5\u548c\u505c\u6b62\u300d\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"269\" class=\"wp-image-824 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/269;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/08.Startup.Service.with_.Host_.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/08.Startup.Service.with_.Host_.png 1144w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/08.Startup.Service.with_.Host_-300x134.png 300w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/08.Startup.Service.with_.Host_-1024x458.png 1024w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/08.Startup.Service.with_.Host_-768x344.png 768w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>\u78ba\u8a8d\u6709\u6b63\u78ba\u63a5\u6536\u9060\u7aef\u7684 UPS \u8cc7\u8a0a<\/strong><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u6700\u5f8c\u53ef\u4ee5\u4f86\u78ba\u8a8d\u4e00\u4e0b\u662f\u4e0d\u662f\u6709\u6b63\u78ba\u63a5\u6536\u5230\u9060\u7aef UPS \u7684\u76f8\u95dc\u8cc7\u8a0a\u3002NUT Client \u9810\u8a2d\u5b89\u88dd\u5728 ESXi \u4e3b\u6a5f \/opt\/nut \u76ee\u9304\u4e2d\uff0c\u53ef\u4ee5\u900f\u904e \/opt\/nut\/bin\/upsc \u6307\u4ee4\u4f86\u6e2c\u8a66\u662f\u5426\u6709\u6b63\u78ba\u53d6\u5f97\u9060\u7aef UPS \u7684\u76f8\u95dc\u8cc7\u8a0a\u3002\u6307\u4ee4\u683c\u5f0f\u5982\u4e0b<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">\/opt\/nut\/bin\/upsc &lt;upsname&gt;@&lt;nas_ip&gt;<\/pre>\r\n\r\n\r\n\r\n<p>\u53ef\u4ee5\u770b\u5230 ESXi \u9019\u908a\u4e5f\u53ef\u4ee5\u53d6\u5f97\u6b63\u78ba\u7684 UPS \u76f8\u95dc\u8cc7\u8a0a\u4e86\u3002<br \/><img decoding=\"async\" width=\"600\" height=\"620\" class=\"wp-image-826 lazyload\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/620;width: 600px;\" data-src=\"\/wordpress\/wp-content\/uploads\/2021\/08\/09.Using_.Upsc_.Tool_.to_.Show_.Remote.Ups_.Device.Info_.png\" alt=\"\" data-srcset=\"https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/09.Using_.Upsc_.Tool_.to_.Show_.Remote.Ups_.Device.Info_.png 760w, https:\/\/cychien.tw\/wordpress\/wp-content\/uploads\/2021\/08\/09.Using_.Upsc_.Tool_.to_.Show_.Remote.Ups_.Device.Info_-290x300.png 290w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5f9e\u8cb7\u4e86\u7b2c\u4e00\u53f0\u7684 NAS (Synology DS1511+) \u4e4b\u5f8c\uff0c\u70ba\u4e86\u78ba\u4fdd\u5e02\u96fb\u65b7\u96fb\u6642 NAS \u80fd\u5920\u7a69\u5b9a\u6b63\u5e38 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":804,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,118,119],"tags":[93,43,86,91,92,41,94,85],"class_list":["post-801","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ittech-nas","category-ittech-vm","category-ittech-vm-vmware","tag-communitysupported","tag-dsm","tag-esxi","tag-network-ups-tools","tag-nut","tag-synology","tag-upsmon","tag-vmware"],"_links":{"self":[{"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/posts\/801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/comments?post=801"}],"version-history":[{"count":14,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/posts\/801\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/posts\/801\/revisions\/841"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/media\/804"}],"wp:attachment":[{"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/media?parent=801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/categories?post=801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cychien.tw\/wordpress\/wp-json\/wp\/v2\/tags?post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}