{"id":372,"date":"2017-12-13T11:57:21","date_gmt":"2017-12-13T11:57:21","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=372"},"modified":"2017-12-13T11:59:04","modified_gmt":"2017-12-13T11:59:04","slug":"ups-monitoring","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/ups-monitoring\/","title":{"rendered":"UPS monitoring"},"content":{"rendered":"<p>UPS Monitor Program via serial interface (upsd) of Linux and other systems.<\/p>\n<h2>Module data<\/h2>\n<pre>module_begin\r\nmodule_name UPS_Power\r\nmodule_type generic_proc\r\nmodule_exec apcaccess | grep STATUS | grep ONLINE | wc -l\r\nmodule_end<\/pre>\n<pre>module_begin\r\nmodule_name UPS_Charge\r\nmodule_type generic_data\r\nmodule_exec apcaccess | grep BCHARGE | awk '{ print $3 }'\r\nmodule_end<\/pre>\n<pre>module_begin\r\nmodule_name UPS_TimeLeft\r\nmodule_type generic_data\r\nmodule_exec apcaccess | grep TIMELEFT | awk '{ print $3 }'\r\nmodule_end<\/pre>\n<pre>module_begin\r\nmodule_name UPS_Temp\r\nmodule_type generic_data\r\nmodule_exec apcaccess | grep ITEMP | awk '{ print $3 }'\r\nmodule_end<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>UPS Monitor Program via serial interface (upsd) of Linux and other systems. Module data module_begin module_name UPS_Power module_type generic_proc module_exec apcaccess | grep STATUS | grep ONLINE | wc -l module_end module_begin module_name UPS_Charge module_type generic_data module_exec apcaccess | grep BCHARGE | awk &#8216;{ print $3 }&#8217; module_end module_begin module_name UPS_TimeLeft module_type generic_data module_exec apcaccess [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4],"tags":[75],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/372"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}