{"id":250,"date":"2016-12-13T11:27:31","date_gmt":"2016-12-13T13:27:31","guid":{"rendered":"http:\/\/portal.venidera.com\/kb\/?p=250"},"modified":"2016-12-13T11:29:58","modified_gmt":"2016-12-13T13:29:58","slug":"english-ups-maintenance-and-retrieving-information","status":"publish","type":"post","link":"https:\/\/portal.venidera.com\/kb\/2016\/12\/13\/english-ups-maintenance-and-retrieving-information\/","title":{"rendered":"(English) UPS: Maintenance and retrieving information"},"content":{"rendered":"<p class=\"qtranxs-available-languages-message qtranxs-available-languages-message-pb\">Desculpe-nos, mas este texto est\u00e1 apenas dispon\u00edvel em <a href=\"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/posts\/250?lang=en\" class=\"qtranxs-available-language-link qtranxs-available-language-link-en\" title=\"English\">English<\/a>. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.<\/p><p><\/p>\n<h1>Maintenance<\/h1>\n<p>UPS init scripts are the following:<\/p>\n<p><strong>\/etc\/init.d\/upsdrv<\/strong> (initialize the driver infraestructure)<br \/>\n<strong>\/etc\/init.d\/upsd<\/strong> (ups daemon)<br \/>\n<strong>\/etc\/init.d\/upsmon<\/strong> (ups monitoring utility &#8211; programmed to shut down the system when battery is critically low and power is unplugged)<\/p>\n<h1>Retrieving UPS info (all):<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nupsc myups@localhost\r\n<\/pre>\n<p>This command can also be executed in user mode (does not need admin privileges)<\/p>\n<h1>Fixing communication issues:<\/h1>\n<ul>\n<li>Disconnect usb (either physically or through kernel interface)<\/li>\n<li>Restart init scripts:<\/li>\n<\/ul>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\/etc\/init.d\/upsdrv restart\r\n\/etc\/init.d\/upsd restart\r\n\/etc\/init.d\/upsmon restart\r\n<\/pre>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Desculpe-nos, mas este texto est\u00e1 apenas dispon\u00edvel em English. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language. Maintenance UPS init scripts are the following: \/etc\/init.d\/upsdrv (initialize the driver infraestructure) \/etc\/init.d\/upsd (ups daemon) \/etc\/init.d\/upsmon (ups monitoring utility &#8211; programmed  [&#8230;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,8],"tags":[],"class_list":["post-250","post","type-post","status-publish","format-standard","hentry","category-development","category-reminders"],"_links":{"self":[{"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/comments?post=250"}],"version-history":[{"count":2,"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/posts\/250\/revisions"}],"predecessor-version":[{"id":252,"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/posts\/250\/revisions\/252"}],"wp:attachment":[{"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/media?parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/categories?post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portal.venidera.com\/kb\/wp-json\/wp\/v2\/tags?post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}