{"id":2074,"date":"2014-10-25T15:54:19","date_gmt":"2014-10-25T11:54:19","guid":{"rendered":"http:\/\/mkifiles.ru\/?p=2074"},"modified":"2022-12-07T17:40:25","modified_gmt":"2022-12-07T14:40:25","slug":"centralizovannyj-monitoring-c-munin","status":"publish","type":"post","link":"https:\/\/kmarchenko.ru\/blog\/2014\/10\/25\/centralizovannyj-monitoring-c-munin\/","title":{"rendered":"\u0426\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 c Munin"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kmarchenko.ru\/wp-content\/uploads\/2014\/10\/Selection_010.png\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"344\" src=\"http:\/\/kmarchenko.ru\/wp-content\/uploads\/2014\/10\/Selection_010.png\" alt=\"Selection_010\" class=\"wp-image-2157\" srcset=\"https:\/\/kmarchenko.ru\/blog\/wp-content\/uploads\/2014\/10\/Selection_010.png 566w, https:\/\/kmarchenko.ru\/blog\/wp-content\/uploads\/2014\/10\/Selection_010-300x182.png 300w\" sizes=\"(max-width: 566px) 100vw, 566px\" \/><\/a><\/figure>\n\n\n\n<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 c Munin.<\/p>\n\n\n\n<p>Munin \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430, \u043f\u0430\u043c\u044f\u0442\u044c, \u0440\u0430\u0431\u043e\u0442\u0443 \u0434\u0438\u0441\u043a\u0430, \u0441\u0435\u0442\u044c \u0438 \u0442.\u0434. \u0414\u043b\u044f \u043d\u0435\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0434\u043b\u044f postgresql, rabbitmq.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><strong>\u0421\u0442\u0430\u0432\u0438\u043c \u043c\u0443\u043d\u0438\u043d \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435<br><\/strong><\/p>\n\n\n\n<p>1. \u0421\u0442\u0430\u0432\u0438\u043c Munin \u0438 \u0434\u0435\u043c\u043e\u043d:<\/p>\n\n\n\n<p><code>apt-get install munin munin-node<br>\n<\/code><span id=\"more-68\"><\/span><\/p>\n\n\n\n<p>2. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c (\/etc\/munin\/munin.conf):<\/p>\n\n\n\n<p><code>[host.domain.com]<br>\naddress xxx.xxx.xxx.xxx<br>\nuse_node_name yes<br>\n<\/code><\/p>\n\n\n\n<p><em>\u0417\u0430\u043c\u0435\u043d\u044f\u0435\u043c host.domain.com \u043d\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430 \u0438 xxx.xxx.xxx.xxx \u043d\u0430 IP.<br>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433 \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c. \u0412\u0430\u0436\u043d\u043e: \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435.<br><\/em><\/p>\n\n\n\n<p>3. \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043d\u0430\u0448 \u0434\u0435\u043c\u043e\u043d:<\/p>\n\n\n\n<p><code>\/etc\/init.d\/munin-node restart<br>\n<\/code><\/p>\n\n\n\n<p><strong>\u041d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445<br><\/strong><\/p>\n\n\n\n<p>1. \u0421\u0442\u0430\u0432\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u043c\u043e\u043d:<\/p>\n\n\n\n<p><code>apt-get install munin-node<br>\n<\/code><\/p>\n\n\n\n<p>2. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c (\/etc\/munin\/munin-node.conf).<\/p>\n\n\n\n<p>\u0417\u0430\u0434\u0430\u0435\u043c \u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (\u0438\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u0441 \u0438\u043c\u0435\u043d\u0435\u043c, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0432 \/etc\/munin\/munin.conf):<\/p>\n\n\n\n<p><code>host_name host.domain.com<br>\n<\/code><\/p>\n\n\n\n<p>\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 :<\/p>\n\n\n\n<p><code>allow ^xxx\\.xxx\\.xxx\\.xxx$<br>\n<\/code><\/p>\n\n\n\n<p><em>\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c ^xxx\\.xxx\\.xxx\\.xxx$ \u043d\u0430 IP \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 IP \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 192.168.1.1, \u043c\u044b \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c: ^192\\.168\\.1\\.1$. \u0426\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u043f\u043e\u0440\u0442\u0443 4949, \u043d\u0443\u0436\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 \u043d\u0435 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d \u0444\u0430\u0439\u0440\u0432\u043e\u043b\u043e\u043c.<\/em><\/p>\n\n\n\n<p>3. \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0434\u0435\u043c\u043e\u043d\u0430:<\/p>\n\n\n\n<p><code>\/etc\/init.d\/munin-node restart<\/code><\/p>\n\n\n\n<p><strong>\u0416\u0434\u0435\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438 \u043d\u0430\u0441\u043b\u0430\u0436\u0434\u0430\u0435\u043c\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 c Munin. Munin \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430, \u043f\u0430\u043c\u044f\u0442\u044c, \u0440\u0430\u0431\u043e\u0442\u0443 \u0434\u0438\u0441\u043a\u0430, \u0441\u0435\u0442\u044c \u0438 \u0442.\u0434. \u0414\u043b\u044f \u043d\u0435\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0434\u043b\u044f postgresql, rabbitmq.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3],"tags":[72,15,78],"class_list":["post-2074","post","type-post","status-publish","format-standard","hentry","category-5","category-work","tag-munin","tag-ubuntu","tag-monitoring"],"_links":{"self":[{"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/posts\/2074"}],"collection":[{"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/comments?post=2074"}],"version-history":[{"count":6,"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/posts\/2074\/revisions"}],"predecessor-version":[{"id":2402,"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/posts\/2074\/revisions\/2402"}],"wp:attachment":[{"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/media?parent=2074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/categories?post=2074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kmarchenko.ru\/blog\/wp-json\/wp\/v2\/tags?post=2074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}