{"id":469,"date":"2019-02-10T20:25:12","date_gmt":"2019-02-10T18:25:12","guid":{"rendered":"http:\/\/www.maxx.net.ua\/?p=469"},"modified":"2019-02-11T11:18:06","modified_gmt":"2019-02-11T09:18:06","slug":"openhab-on-freebsd-influxdbgrafana-persistence-and-graphing","status":"publish","type":"post","link":"https:\/\/www.maxx.net.ua\/?p=469","title":{"rendered":"Openhab on FreeBSD:  InfluxDB+Grafana persistence and graphing"},"content":{"rendered":"\r\n<p>\u0414\u043b\u044f \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0434\u043e\u043c\u0430\u0448\u043d\u0456\u043c\u0438 \u043f\u0440\u0438\u043b\u0430\u0434\u0430\u043c\u0438 \u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e Openhab \u043a\u043e\u0442\u0440\u0438\u0439 \u0456\u043d\u0441\u0442\u0430\u043b\u044c\u043e\u0432\u0430\u043d\u043e \u043d\u0430 FreeBSD. \u042f\u043a \u0432\u0456\u0434\u043e\u043c\u043e, <strong>FreeBSD<\/strong> \u0434\u0443\u0436\u0435 \u0433\u0430\u0440\u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430, \u0430\u043b\u0435 \u0454 \u0434\u0435\u044f\u043a\u0438 \u043d\u044c\u044e\u0430\u043d\u0441\u0438 \u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u0438\u043c \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f\u043c. \u0417 openhab \u043d\u0456\u044f\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u043c\u0430\u0454, \u0430\u043b\u0435 \u043a\u043e\u043b\u0438 \u044f \u0441\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0432 \u043c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u0433\u0440\u0430\u0444\u0456\u043a\u0438 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e <a href=\"https:\/\/grafana.com\/\">Grafana<\/a> \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0438\u043d\u0438\u043a\u043b\u0430. \u0421\u0430\u043c\u0430 \u0456\u043dc\u0442\u0440\u0443\u043a\u0446\u0456\u044f \u043f\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044e InfluxDb \u0442\u0430 Grafana \u0454 <a href=\"https:\/\/community.openhab.org\/t\/influxdb-grafana-persistence-and-graphing\/13761\">\u0442\u0443\u0442<\/a><\/p>\r\n\r\n\r\n\r\n<p>\u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u0456 \u0446\u0456\u0454\u0457 \u0441\u0442\u0430\u0442\u0442\u0456 \u043d\u0435 \u0432\u0438\u043d\u0438\u043a\u043b\u043e \u0436\u043e\u0434\u043d\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0437 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f\u043c InfluxDb \u0442\u0430 Grafana \u043d\u0430 FreeBSD (\u0443\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0443 \u0432\u0438\u0433\u043b\u044f\u0434\u0456 \u043f\u0430\u043a\u0435\u0442\u0456\u0432 \u0442\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u0442\u044c\u0441\u044f \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e 2-\u0445 \u043a\u043e\u043c\u0430\u043d\u0434). \u041d\u0430\u0432\u0456\u0442\u044c \u043d\u0456\u044f\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0437 \u043f\u043e\u0431\u0443\u0434\u043e\u0432\u043e\u044e \u0433\u0440\u0430\u0444\u0456\u043a\u0430 \u0443 grafana. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0438\u043d\u0438\u043a\u043b\u0430 \u0443 \u0442\u043e\u0439 \u0447\u0430\u0441, \u043a\u043e\u043b\u0438 \u0442\u0440\u0435\u0431\u0430 \u0431\u0443\u043b\u043e \u0433\u0440\u0430\u0444\u0456\u043a \u0432\u0456\u0434 grafana \u0434\u043e\u0434\u0430\u0442\u0438 \u043d\u0430 \u0434\u0430\u0448\u0431\u043e\u0430\u0440\u0434 \u043e\u043f\u0435\u043d\u0445\u0430\u0431\u0430. Grafana \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u0435\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0433\u0440\u0430\u0444\u0456\u043a\u0438 \u0443 \u0432\u0438\u0433\u043b\u044f\u0434\u0456 \u043c\u0430\u043b\u044e\u043d\u043a\u0443 \u0437 \u043f\u0440\u044f\u043c\u0438\u043c \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f\u043c, \u0430 \u043e\u043f\u0435\u043d\u0445\u0430\u0431 \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u0438 \u043c\u0430\u043b\u044e\u043d\u043a\u0438 \u043d\u0430 \u0434\u0430\u0448\u0431\u043e\u0430\u0440\u0434. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u043e\u043b\u044f\u0433\u044f\u043b\u0430 \u0443 \u0442\u043e\u043c\u0443, \u0449\u043e grafana \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 phantomjs \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043c\u0430\u043b\u044e\u043d\u043a\u0443, \u0430 \u0443 \u043f\u0430\u043a\u0435\u0442\u0430\u0445 \u0446\u044c\u043e\u0433\u043e \u0434\u043e\u0434\u0430\u0442\u043a\u0430 \u043d\u0435 \u0431\u0443\u043b\u043e. \u041d\u0430 \u0441\u043f\u0440\u043e\u0431\u0443 \u0435\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0438 \u043c\u0430\u043b\u044e\u043d\u043e\u043a \u0437\u0430 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f\u043c \u043e\u0442\u0440\u0438\u043c\u0443\u0454\u043c\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443:<\/p>\r\n<p><span style=\"color: #ff6600;\"><strong>\r\n\r\n<\/strong><\/span><\/p>\r\n<p><span style=\"color: #ff6600;\"><strong>Rendering failed &#8211; PhantomJS isn&#8217;t installed correctly<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n\r\n\r\n<p>\u041f\u0435\u0440\u0448\u0430 \u0441\u043f\u0440\u043e\u0431\u0430 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0437 \u043f\u043e\u0440\u0442\u0456\u0432 \u0437\u0430\u043a\u0456\u043d\u0447\u0438\u043b\u0430\u0441\u044c \u043d\u0435\u0432\u0434\u0430\u043b\u043e &#8211; \u043f\u043e\u043c\u0438\u043b\u043a\u0430 \u043a\u043e\u043c\u043f\u0456\u043b\u044f\u0446\u0456\u0457. \u042f\u043a \u0437&#8217;\u044f\u0441\u0443\u0432\u0430\u043b\u043e\u0441\u044c &#8211; \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0431\u0443\u043b\u0430 \u0443 \u0432\u0435\u0440\u0441\u0456\u0457 <strong>openssl<\/strong>, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0438\u0440\u0456\u0448\u0438\u043b\u0430\u0441\u044c \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f\u043c \u043e\u0441\u0442\u0430\u043d\u043d\u044c\u043e\u0457 \u0432\u0435\u0440\u0441\u0456\u0457 <strong>openssl<\/strong> \u0437 \u043f\u0430\u043a\u0435\u0442\u0456\u0432. \u041f\u0456\u0441\u043b\u044f \u043a\u043e\u043c\u043f\u0456\u043b\u044f\u0446\u0456\u0457 \u0442\u0430 \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f <strong>phantomjs<\/strong> \u0443 \u043f\u0430\u043f\u043a\u0443, <strong>grafana<\/strong> \u0437\u043c\u0456\u043d\u0438\u043b\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0443 \u043d\u0430:<\/p>\r\n\r\n\r\n\r\n<pre class=\"toolbar:2 toolbar-overlay:false nums:false nums-toggle:false lang:diff decode:true wp-block-preformatted\">t=2019-02-09T15:18:25+0200 lvl=info msg=Rendering logger=rendering path=\"d-solo\/Ita8FKXmk\/heat-dashboard?orgId=1&amp;from=1549707668905&amp;to=1549718468906&amp;panelId=2&amp;width=1000&amp;height=500&amp;tz=Europe%2FKiev\"\r\nt=2019-02-09T15:18:25+0200 lvl=eror msg=\"Phantomjs exited with non zero exit code\" logger=rendering error=\"exit status 255\"\r\nt=2019-02-09T15:18:25+0200 lvl=eror msg=\"Rendering failed.\" logger=context userId=1 orgId=1 uname=admin error=\"exit status 255\"<\/pre>\r\n\r\n\r\n\r\n<p>\u042f\u043a \u0437&#8217;\u044f\u0441\u0443\u0432\u0430\u043b\u043e\u0441\u044c &#8211; \u043d\u0435 \u0432\u0438\u0441\u0442\u0430\u0447\u0430\u043b\u043e \u0444\u0430\u0439\u043b\u0430 <strong>render.js<\/strong>. \u0417\u043d\u0430\u0439\u0442\u0438 \u0439\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u0430 \u0437\u0430 <a href=\"https:\/\/github.com\/grafana\/grafana\/blob\/master\/tools\/phantomjs\/render.js\">\u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f\u043c<\/a><\/p>\r\n\r\n\r\n\r\n<p>\u041f\u0456\u0441\u043b\u044f \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0446\u044c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0434\u043e \u0442\u0435\u043a\u0438 <strong>\/usr\/local\/share\/grafana\/tools\/phantomjs\/<\/strong> \u0443\u0441\u0435 \u0437\u0430\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043b\u043e \u044f\u043a \u0442\u0440\u0435\u0431\u0430.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"1024\" height=\"469\" class=\"wp-image-470\" src=\"http:\/\/www.maxx.net.ua\/wp-content\/uploads\/2019\/02\/openhab-grafana-1024x469.jpg\" alt=\"\" srcset=\"https:\/\/www.maxx.net.ua\/wp-content\/uploads\/2019\/02\/openhab-grafana-1024x469.jpg 1024w, https:\/\/www.maxx.net.ua\/wp-content\/uploads\/2019\/02\/openhab-grafana-300x138.jpg 300w, https:\/\/www.maxx.net.ua\/wp-content\/uploads\/2019\/02\/openhab-grafana-768x352.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0434\u043e\u043c\u0430\u0448\u043d\u0456\u043c\u0438 \u043f\u0440\u0438\u043b\u0430\u0434\u0430\u043c\u0438 \u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e Openhab \u043a\u043e\u0442\u0440\u0438\u0439 \u0456\u043d\u0441\u0442\u0430\u043b\u044c\u043e\u0432\u0430\u043d\u043e \u043d\u0430 FreeBSD. \u042f\u043a \u0432\u0456\u0434\u043e\u043c\u043e, FreeBSD \u0434\u0443\u0436\u0435 \u0433\u0430\u0440\u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430, \u0430\u043b\u0435 \u0454 \u0434\u0435\u044f\u043a\u0438 \u043d\u044c\u044e\u0430\u043d\u0441\u0438 \u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u0438\u043c \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f\u043c. \u0417 openhab \u043d\u0456\u044f\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u043c\u0430\u0454, \u0430\u043b\u0435 \u043a\u043e\u043b\u0438 \u044f \u0441\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0432 \u043c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u0433\u0440\u0430\u0444\u0456\u043a\u0438 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e Grafana \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0438\u043d\u0438\u043a\u043b\u0430. \u0421\u0430\u043c\u0430 \u0456\u043dc\u0442\u0440\u0443\u043a\u0446\u0456\u044f \u043f\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044e InfluxDb \u0442\u0430 Grafana \u0454 \u0442\u0443\u0442 \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u0456 \u0446\u0456\u0454\u0457 \u0441\u0442\u0430\u0442\u0442\u0456 \u043d\u0435 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/469"}],"collection":[{"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=469"}],"version-history":[{"count":4,"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/469\/revisions"}],"predecessor-version":[{"id":474,"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/469\/revisions\/474"}],"wp:attachment":[{"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.maxx.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}