{"id":37047,"date":"2019-10-31T22:15:29","date_gmt":"2019-10-31T19:15:29","guid":{"rendered":"https:\/\/prohoster.info\/blog\/monitoring-ibp-chast-vtoraya-avtomatiziruem-analitiku\/"},"modified":"2019-10-31T22:15:29","modified_gmt":"2019-10-31T19:15:29","slug":"monitoring-ibp-chast-vtoraya-avtomatiziruem-analitiku","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/monitoring-ibp-chast-vtoraya-avtomatiziruem-analitiku","title":{"rendered":"UPS Monitoring. Part Two \u2013 Automating Analytics","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Some time ago, I developed a system to evaluate the viability of office UPS units. The evaluation is based on long-term monitoring. As a result of my findings, I refined the system and learned a lot of interesting things, which I will share \u2013 welcome to the details.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/421039\/\">The first part<\/a><\/noindex><\/p>\n<p>Overall, the concept turned out to be correct. From a one-time request to the UPS, you can only learn that life is pain. Some parameters are only relevant when 220 V is disconnected, others turn out to be outright nonsense based on my analysis, and some need to be recalculated manually, cross-checking with reality.<\/p>\n<p>Looking ahead, I tried to incorporate these nuances into the system. After all, we are automators and not just counting by hand.<\/p>\n<p>For example, the parameter &#171;<b>battery charge in percent<\/b>&#171; as a single value conveys nothing and is usually equal to 100. What really matters is how quickly the battery discharges, how quickly it charges, and how many times it has been discharged to critical levels. Surprisingly, part of this work is done by the UPS itself, but based on very strange formulas; more on that below.<\/p>\n<p>The parameter &#171;<b>load on the UPS<\/b>&#187; is quite good and useful. But if you look at it dynamically, it turns out that sometimes it makes no sense, and at other times it provides interesting information about the connected equipment. <\/p>\n<p>&lt;&lt;<b>Battery voltage<\/b>&#171; is practically the Holy Grail, if it weren't for one thing: the vast majority of the time, the battery is on charge, and the parameter displays the charging voltage rather than the battery voltage. Wait, shouldn't this be handled by the self-test procedure? ..<\/p>\n<p>&lt;&lt;<b>Self-test<\/b>&#171; should, but its results are not displayed anywhere. If the self-test fails, the UPS will shut down and scream like crazy; this is the only available result. Plus, not all UPS systems report the fact that the self-test occurred.<\/p>\n<p>And \"nice try vendor\" \u2013 the most interesting of the available parameters is &#171;<b>battery runtime<\/b>&#171;. It is designed to predict how long the battery will last under the current load. Internal logic of the UPS is also tied to it. In fact, it shows rosy dreams, especially when fully charged.<\/p>\n<p>There are also organizational nuances to consider. <\/p>\n<p>For example, all the UPS devices I've encountered have information about the battery date (two fields, in fact). However, I could only record this data (after replacing the battery, of course) for products from APC, and even then it was a hassle. In Powercom, there's simply no way to input this information, at least not under Windows. <br \/>\nThe same Powercom distinguished itself with identical values in the 'serial number' field. It does not allow for any record. <\/p>\n<p>The calculation of &#171;<b>battery runtime<\/b>&#171; apparently includes values from the periods when 220 V is connected to the UPS, and therefore, the battery data is openly inaccurate. In fact, the battery runtime can safely be divided by 2, or even by 3. And even then, it will still remain a purely synthetic value. Moreover, it is based on \"battery load\", which also exhibits oddities: on some units, it takes a long time to reset after a high load, while on others, it tends towards zero.<\/p>\n<p>Despite such a mix, it is evident that all parameters are still subject to some form of algorithmization. Thus, it is possible not just to view the data (and certainly not to manually sift through all the existing records), but to input the entire array into an analyzer and base recommendations on them. This has been implemented in the new version of the software.<\/p>\n<p>The UPS information page will issue warnings and recommendations:<\/p>\n<ul>\n<li>at least one self-test failure has been logged (if the UPS provides such functionality)<\/li>\n<li>the need to replace the battery<\/li>\n<li>unusual load values on the UPS<\/li>\n<li>absence of battery data<\/li>\n<li>unusual input voltage values<\/li>\n<li>recommendations for data utilization and UPS maintenance<\/li>\n<\/ul>\n<p>\n(all possible options can be found in ups_additional.php)<br \/>\nA necessary condition for accurate analytics, of course, is the collection of data to the fullest extent possible.<\/p>\n<p>On the main page, you can immediately see the maximum and critical values as well as the adjusted prediction of runtime. <\/p>\n<p>Additionally: <\/p>\n<ul>\n<li>the maximum power outage time is now calculated correctly<\/li>\n<li>current information from the UPS is marked in green, outdated data in gray, and critical data in red and orange<\/li>\n<li>a procedure for optimizing the database has been added (manual activation with automatic backup creation)<\/li>\n<li>unnecessary information has been removed from the main screen, and useful content has been added \ud83d\ude42<\/li>\n<\/ul>\n<p>\n<img decoding=\"async\" alt=\"UPS Monitoring. Part Two \u2013 Automating Analytics\" src=\"\/wp-content\/uploads\/2019\/08\/c925c5b4a80716ed64de5e064b35ca80.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"UPS Monitoring. Part Two \u2013 Automating Analytics\" src=\"\/wp-content\/uploads\/2019\/08\/a8e557416fadf0cc611c0fbd7b767e07.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDisclaimer:<br \/>\nOf course, this is not really enterprise. Almost the entire setup is manual. There were not enough tests, and errors pop up here and there. Nevertheless, I find it useful and wish you the same.<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/automatize-it\/NUT_UPS_monitoring_webserver_for_Windows\">github.com\/automatize-it\/NUT_UPS_monitoring_webserver_for_Windows<\/a><\/noindex><\/p>\n<p>Thank you for your attention!<\/p>\n<p class=\"for_users_only_msg\">Only registered users can participate in the survey. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/auth\/login\/\">Please log in<\/a><\/noindex>, please.<\/p>\n<h2 class=\"default-block__polling-title\">Do we need to add anything else to the software?<\/h2>\n<ul class=\"content-list content-list_polling\">\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Polish it up to enterprise level!<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    It would be nice to have setups, so we don't have to do it manually.<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    No, this is fine.<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Burn the gasoline.<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    I need a bunch of things; I'll write them in the comments.<\/p>\n<\/li>\n<\/ul>\n<p>    34 users voted. 13 users abstained.<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/463127\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u043d\u0430\u0432\u0430\u044f\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043b\u044f \u043e\u0446\u0435\u043d\u043a\u0438 \u0436\u0438\u0437\u043d\u0435\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0444\u0438\u0441\u043d\u044b\u0445 UPS. \u041e\u0446\u0435\u043d\u043a\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0434\u043e\u043b\u0433\u043e\u0441\u0440\u043e\u0447\u043d\u043e\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0435. \u041f\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043e\u043f\u0438\u043b\u0438\u043b \u0438 \u0443\u0437\u043d\u0430\u043b \u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e, \u043e \u0447\u0451\u043c \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u2013 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442. \u041f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0412 \u0446\u0435\u043b\u043e\u043c \u0437\u0430\u0434\u0443\u043c\u043a\u0430 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0432\u0435\u0440\u043d\u043e\u0439. \u0418\u0437 \u0440\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043a UPS \u043c\u043e\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0440\u0430\u0437\u0432\u0435 \u0442\u043e\u043b\u044c\u043a\u043e, \u0447\u0442\u043e \u0436\u0438\u0437\u043d\u044c \u2013 \u0431\u043e\u043b\u044c. \u0427\u0430\u0441\u0442\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":27772,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-37047","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u043d\u0430\u0432\u0430\u044f\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043b\u044f \u043e\u0446\u0435\u043d\u043a\u0438 \u0436\u0438\u0437\u043d\u0435\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0444\u0438\u0441\u043d\u044b\u0445 UPS. \u041e\u0446\u0435\u043d\u043a\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0434\u043e\u043b\u0433\u043e\u0441\u0440\u043e\u0447\u043d\u043e\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0435.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/monitoring-ibp-chast-vtoraya-avtomatiziruem-analitiku\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0418\u0411\u041f. \u0427\u0430\u0441\u0442\u044c \u0432\u0442\u043e\u0440\u0430\u044f \u2013 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0443 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u043d\u0430\u0432\u0430\u044f\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043b\u044f \u043e\u0446\u0435\u043d\u043a\u0438 \u0436\u0438\u0437\u043d\u0435\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0444\u0438\u0441\u043d\u044b\u0445 UPS. \u041e\u0446\u0435\u043d\u043a\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0434\u043e\u043b\u0433\u043e\u0441\u0440\u043e\u0447\u043d\u043e\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0435.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/monitoring-ibp-chast-vtoraya-avtomatiziruem-analitiku\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:15:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:15:29+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47UPS Monitoring. Part Two \u2013 Automating Analytics | ProHoster","description":"Some time ago, I created a system to evaluate the viability of office UPSs. The assessment is based on long-term monitoring.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/monitoring-ibp-chast-vtoraya-avtomatiziruem-analitiku","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0418\u0411\u041f. \u0427\u0430\u0441\u0442\u044c \u0432\u0442\u043e\u0440\u0430\u044f \u2013 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0443 | ProHoster","og:description":"\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u043d\u0430\u0432\u0430\u044f\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043b\u044f \u043e\u0446\u0435\u043d\u043a\u0438 \u0436\u0438\u0437\u043d\u0435\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0444\u0438\u0441\u043d\u044b\u0445 UPS. \u041e\u0446\u0435\u043d\u043a\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0434\u043e\u043b\u0433\u043e\u0441\u0440\u043e\u0447\u043d\u043e\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0435.","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/monitoring-ibp-chast-vtoraya-avtomatiziruem-analitiku","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:15:29+00:00","article:modified_time":"2019-10-31T19:15:29+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"37047","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-22 05:50:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:34:25","updated":"2026-01-22 05:50:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/37047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=37047"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/37047\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/27772"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=37047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=37047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=37047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}