{"id":382,"date":"2016-04-10T01:27:32","date_gmt":"2016-04-10T06:27:32","guid":{"rendered":"http:\/\/jtkdev.com\/wp\/?p=382"},"modified":"2020-04-02T12:23:41","modified_gmt":"2020-04-02T17:23:41","slug":"nut-for-windows","status":"publish","type":"post","link":"https:\/\/jtkdev.com\/wp\/2016\/04\/10\/nut-for-windows\/","title":{"rendered":"NUT for Windows"},"content":{"rendered":"<p>I use <a href=\"http:\/\/networkupstools.org\/\">NUT<\/a> for all of my UPS on Linux machines. There is a beta Windows port available. I have it working for two Windows 7 Pro 64 bit boxes.<\/p>\n<p>Documentation on getting it working under Windows is sparse.<\/p>\n<p>Downloaded NUT Windows <a href=\"http:\/\/www.networkupstools.org\/package\/windows\/NUT-Installer-2.6.5-6.msi\">MSI installer 2.6.5-6<\/a>. Installed.<\/p>\n<p>Copy libgcc_s_dw2-1.dll from bin to sbin. it is required for upsmon to run.<\/p>\n<p>Grabbed a copy of libeay32.dll and ssleay32.dll from my Nmap install and copied these to the bin and sbin folders. Without these two files upsc, upsd and upsmon  throw error (0xc000007b).<\/p>\n<p>Downloaded <a href=\"https:\/\/sourceforge.net\/projects\/libusb-win32\/files\/latest\/download?source=files\">libusb-win32-bin-1.2.6.0.zip<\/a> from SourceForge.<\/p>\n<p>Used usb-lib bin\/inf_wizard.exe to create the proper .inf file for the UPS and installed.<\/p>\n<p>You can use bin\/nut-scanner.exe to see is the UPS is detected.<\/p>\n<p>Edit the config files: nut.conf, ups.conf, upsd,conf, uspd.users and upsmon.conf.<\/p>\n<p>To fully integrate into the network, I edited(on the appropriate systems):<br \/>\n\/etc\/nut\/host.conf to add the new system to the list displayed in the web status display.<br \/>\n\/etc\/nut\/upsmon.conf to add the system to the list monitored for status with email\/text warnings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use NUT for all of my UPS on Linux machines. There is a beta Windows port available. I have it working for two Windows 7 Pro 64 bit boxes. Documentation on getting it working under Windows is sparse. Downloaded NUT Windows MSI installer 2.6.5-6. Installed. Copy libgcc_s_dw2-1.dll from bin to sbin. it is required [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,5],"tags":[],"class_list":["post-382","post","type-post","status-publish","format-standard","hentry","category-general","category-gateway"],"_links":{"self":[{"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/posts\/382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/comments?post=382"}],"version-history":[{"count":5,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":387,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/posts\/382\/revisions\/387"}],"wp:attachment":[{"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/media?parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/categories?post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/tags?post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}