{"id":415935,"date":"2024-06-30T00:39:23","date_gmt":"2024-06-30T00:39:23","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=415935"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=415935","title":{"rendered":"<span>\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0421\u0423\u0411\u0414 VMware Cloud Director \u0438 vCenter Server Appliance \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Zabbix<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u041d\u0430 \u0441\u0432\u044f\u0437\u0438 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u0412\u043e\u0440\u043e\u043d\u0446\u043e\u0432, \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Cloud4Y. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0432 Zabbix \u043c\u0435\u0442\u0440\u0438\u043a \u0421\u0423\u0411\u0414 PostgreSQL, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u0432 VMware Cloud Director \u0438 vCenter Server Appliance.<\/p>\n<p>\u041a\u043e\u0435-\u0447\u0442\u043e \u0432\u044b \u0443\u0436\u0435 \u043c\u043e\u0433\u043b\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/321572\/\">\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u0425\u0430\u0431\u0440\u0435<\/a>. \u042f \u0445\u043e\u0447\u0443 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.<\/p>\n<p>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f vCenter \u0438 Cloud Director \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430\u044f, \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u0432 \u0434\u0435\u0442\u0430\u043b\u044f\u0445.<\/p>\n<h4>\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0443 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435:<\/h4>\n<ul>\n<li>\n<p>vCenter Server Appliance 6.7 U3 (Photon OS 1.0)<\/p>\n<\/li>\n<li>\n<p>VMware Cloud Director 10.2 (Photon OS 2.0)<\/p>\n<\/li>\n<li>\n<p>Zabbix 5.0 LTS<\/p>\n<\/li>\n<li>\n<p>Zabbix Agent (<em>\u043d\u0435 Zabbix Agent 2<\/em>)<\/p>\n<\/li>\n<li>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 <a href=\"https:\/\/www.zabbix.com\/ru\/integrations\/postgresql\">\u0448\u0430\u0431\u043b\u043e\u043d \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 <\/a>PostgreSQL <\/p>\n<\/li>\n<\/ul>\n<h2>\u0414\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 Zabbix Agent \u0434\u043b\u044f PhotonOS<\/h2>\n<p>Zabbix Agent \u0434\u043b\u044f PhotonOS \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432, \u043d\u043e \u043c\u044b \u0432\u043e\u0437\u044c\u043c\u0451\u043c \u0443\u0436\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 &#171;<a href=\"https:\/\/github.com\/myusufe\/vcenter-applience-zabbix-agent\">\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432<\/a>&#187;  (\u0432\u043e\u043f\u0440\u043e\u0441 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0443\u0436\u0438\u0445 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432 \u0441 \u0433\u0438\u0442\u0445\u0430\u0431\u0430 \u043e\u0431\u043e\u0439\u0434\u0443 \u0441\u0442\u043e\u0440\u043e\u043d\u043e\u0439. \u041a\u0430\u043a \u044f \u0443\u0436\u0435 \u0441\u043a\u0430\u0437\u0430\u043b, \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u0441\u0430\u043c\u043e\u043c\u0443).<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Zabbix Agent<\/h2>\n<p>\u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\n<p>zabbix_agentd<\/p>\n<\/li>\n<li>\n<p>zabbix_get<\/p>\n<\/li>\n<li>\n<p>zabbix_sender<\/p>\n<\/li>\n<li>\n<p>zabbix_agentd.conf<\/p>\n<\/li>\n<\/ul>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438:<\/p>\n<ul>\n<li>\n<p>\/etc\/zabbix<\/p>\n<\/li>\n<li>\n<p>\/etc\/zabbix\/zabbix_agent.d.d <\/p>\n<\/li>\n<li>\n<p>\/var\/log\/zabbix<\/p>\n<\/li>\n<\/ul>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, WinSCP, \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 <em>\/usr\/bin<\/em>, \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432 <strong>\/etc\/zabbix. <\/strong>\u0424\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c &#171;\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c&#187;. <\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: <\/strong>vCenter \u0438 Cloud Director \u0431\u0443\u0434\u0443\u0442 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 <em>\/var\/run\/zabbix<\/em> \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 PID \u0444\u0430\u0439\u043b \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <em>\/tmp\/zabbix.pid<\/em><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c System.d Unit \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b Zabbix Agent \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430:<\/p>\n<p>Unit \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u043f\u043e \u043f\u0443\u0442\u0438 <strong>\/usr\/lib\/systemd\/system\/zabbix-agent.service<\/strong>, \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<\/p>\n<pre><code>#\/usr\/lib\/systemd\/system\/zabbix-agent.service [Unit] Description=Zabbix Agent Documentation=man:zabbix_agentd After=network.target   [Service] Type=simple ExecStart=\/usr\/bin\/zabbix_agentd -f -c \/etc\/zabbix\/zabbix_agentd.conf Restart=always RestartSec=5s   [Install] WantedBy=multi-user.target<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 Zabbix Agent \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c:<\/p>\n<p><code>systemctl daemon-reload<\/code><strong> <\/strong><\/p>\n<p><code>systemctl enable zabbix-agent<\/code><strong> <\/strong><\/p>\n<p><code>systemctl restart zabbix-agent<\/code><\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Firewall<\/h2>\n<h4>\u0414\u043b\u044f Cloud Director<\/h4>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <strong>\/etc\/systemd\/scripts\/ip4save-vmw<\/strong><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0444\u0430\u0439\u043b\u0430<\/p>\n<p><code>-A INPUT -p tcp -m state --state NEW -m tcp --dport 10050 -j ACCEPT<\/code><\/p>\n<h4>\u0414\u043b\u044f vCenter Server Appliance<\/h4>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <strong>\/etc\/vmware\/appliance\/services.conf<\/strong><\/p>\n<p>\u0412 \u043a\u043e\u043d\u0446\u0435 \u0444\u0430\u0439\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0441\u0442\u0430\u0432\u043a\u0443 \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438, \u043d\u0435 \u043b\u043e\u043c\u0430\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435:<\/p>\n<pre><code> \"zabbix-agent\": {     \"firewall\": {       \"enable\": true,       \"rules\": [         {            \"direction\": \"inbound\",            \"protocol\": \"tcp\",            \"porttype\": \"dst\",            \"port\": \"10050\",            \"portoffset\": 0         }       ]     }   }<\/code><\/pre>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9a8\/c3f\/b8c\/9a8c3fb8cf657c24f70d32e916ebae71.png\" width=\"822\" height=\"733\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9a8\/c3f\/b8c\/9a8c3fb8cf657c24f70d32e916ebae71.png\"\/><figcaption><\/figcaption><\/figure>\n<\/div>\n<\/details>\n<h2>\u041a\u0430\u043a \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f Zabbix \u043a PostgreSQL<\/h2>\n<p>\u0411\u0443\u0434\u0435\u043c \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/www.zabbix.com\/ru\/integrations\/postgresql\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u043c\u0430\u043d\u0443\u0430\u043b\u0443<\/a> \u0434\u043b\u044f Zabbix Agent (<em>\u043d\u0435 Zabbix Agent 2<\/em>). \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043c\u0430\u043d\u0443\u0430\u043b \u044f \u043d\u0435 \u0431\u0443\u0434\u0443, \u043d\u043e \u043f\u0440\u043e\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u044e \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b:<\/p>\n<p>\u041d\u0430 \u0448\u0430\u0433\u0435 1: vCenter \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u044e PostgreSQL 9.6.20, Cloud Director \u2014 \u0432\u0435\u0440\u0441\u0438\u044e 10.12. \u0414\u043b\u044f \u043d\u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <em>zbx_monitor<\/em>.<\/p>\n<p>\u041d\u0430 \u0448\u0430\u0433\u0435 4: \u041d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c <em>pg_hba.conf<\/em> \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 Zabbix Agent \u043a PostgreSQL, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0441\u0442\u0440\u043e\u043a\u0443 <code>host all zbx_monitor 127.0.0.1\/32 trust<\/code>  \u0432\u0432\u0435\u0440\u0445\u0443 \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u0440\u0430\u0432\u0438\u043b <strong>IPv4 local connections:<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/46b\/053\/f40\/46b053f4056a877eef237b12e16dd1c1.png\" alt=\"pg_hba.conf\" title=\"pg_hba.conf\" width=\"724\" height=\"219\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/46b\/053\/f40\/46b053f4056a877eef237b12e16dd1c1.png\"\/><figcaption>pg_hba.conf<\/figcaption><\/figure>\n<h4>\u0414\u043b\u044f Cloud Director<\/h4>\n<p>\u041d\u0443\u0436\u043d\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 <em>\/opt\/vmware\/appliance\/etc\/base_pg_hba.conf<\/em>.<\/p>\n<h4>\u0414\u043b\u044f vCenter Server Appliance<\/h4>\n<p>\u041d\u0443\u0436\u043d\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 <em>\/storage\/db\/vpostgres\/pg_hba.conf.<\/em><\/p>\n<p>\u041d\u0430 \u0448\u0430\u0433\u0435 6: \u041d\u0438\u0447\u0435\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f Zabbix Agent \u0438 PostgreSQL \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0445\u043e\u0441\u0442\u0435 (\u043a\u0430\u043a \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435).<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e \u043c\u0430\u043d\u0443\u0430\u043b\u0443, <strong>\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 VMware Cloud Director \u0438 vCenter Server Appliance <\/strong>\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c Zabbix Agent \u0438\u0437 Zabbix.<\/p>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h2>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f32\/27b\/f70\/f3227bf701d382bf2a7f339938bba385.png\" alt=\"\u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0441 VMware Cloud Director\" title=\"\u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0441 VMware Cloud Director\" width=\"1328\" height=\"652\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f32\/27b\/f70\/f3227bf701d382bf2a7f339938bba385.png\"\/><figcaption>\u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0441 VMware Cloud Director<\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8e3\/fb2\/341\/8e3fb2341641bdd8f5973dc382d72ee8.png\" alt=\"\u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0441 vCenter Server Appliance\" title=\"\u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0441 vCenter Server Appliance\" width=\"1312\" height=\"649\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8e3\/fb2\/341\/8e3fb2341641bdd8f5973dc382d72ee8.png\"\/><figcaption>\u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0441 vCenter Server Appliance<\/figcaption><\/figure>\n<h3>\u0414\u0435\u0431\u0430\u0433<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0442\u043e \u0432\u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<p><strong>\u041d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f Zabbix Agent:<\/strong><\/p>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 <code>systemctl status zabbix-agent<\/code>. \u0415\u0441\u043b\u0438 \u0430\u0433\u0435\u043d\u0442 \u043d\u0435 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439  <code>\/usr\/bin\/zabbix_agentd -f -c \/etc\/zabbix\/zabbix_agentd.conf<\/code><strong>, <\/strong>\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0443 \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d.<\/p>\n<p><strong>Zabbix Agent \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u0441\u0435\u0442\u0438:<\/strong><\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0441\u043b\u0443\u0448\u0430\u0435\u0442 \u043b\u0438 \u0430\u0433\u0435\u043d\u0442 \u043f\u043e\u0440\u0442 10050\/tcp : <code>netstat -tulpn | grep zabbix<\/code><\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u043f\u043e\u0440\u0442 10050\/tcp \u043e\u0442\u043a\u0440\u044b\u0442 \u043d\u0430 Firewall: <code>iptables -L<\/code><\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 <em>INPUT<\/em><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f2c\/c92\/0e2\/f2cc920e2863c125a1ad533248a24978.png\" width=\"947\" height=\"285\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f2c\/c92\/0e2\/f2cc920e2863c125a1ad533248a24978.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! <\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/572198\/\"> https:\/\/habr.com\/ru\/articles\/572198\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u041d\u0430 \u0441\u0432\u044f\u0437\u0438 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u0412\u043e\u0440\u043e\u043d\u0446\u043e\u0432, \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Cloud4Y. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0432 Zabbix \u043c\u0435\u0442\u0440\u0438\u043a \u0421\u0423\u0411\u0414 PostgreSQL, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u0432 VMware Cloud Director \u0438 vCenter Server Appliance.<\/p>\n<p>\u041a\u043e\u0435-\u0447\u0442\u043e \u0432\u044b \u0443\u0436\u0435 \u043c\u043e\u0433\u043b\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/321572\/\">\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u0425\u0430\u0431\u0440\u0435<\/a>. \u042f \u0445\u043e\u0447\u0443 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.<\/p>\n<p>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f vCenter \u0438 Cloud Director \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430\u044f, \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u0432 \u0434\u0435\u0442\u0430\u043b\u044f\u0445.<\/p>\n<h4>\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0443 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435:<\/h4>\n<ul>\n<li>\n<p>vCenter Server Appliance 6.7 U3 (Photon OS 1.0)<\/p>\n<\/li>\n<li>\n<p>VMware Cloud Director 10.2 (Photon OS 2.0)<\/p>\n<\/li>\n<li>\n<p>Zabbix 5.0 LTS<\/p>\n<\/li>\n<li>\n<p>Zabbix Agent (<em>\u043d\u0435 Zabbix Agent 2<\/em>)<\/p>\n<\/li>\n<li>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 <a href=\"https:\/\/www.zabbix.com\/ru\/integrations\/postgresql\">\u0448\u0430\u0431\u043b\u043e\u043d \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 <\/a>PostgreSQL <\/p>\n<\/li>\n<\/ul>\n<h2>\u0414\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 Zabbix Agent \u0434\u043b\u044f PhotonOS<\/h2>\n<p>Zabbix Agent \u0434\u043b\u044f PhotonOS \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432, \u043d\u043e \u043c\u044b \u0432\u043e\u0437\u044c\u043c\u0451\u043c \u0443\u0436\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 &#171;<a href=\"https:\/\/github.com\/myusufe\/vcenter-applience-zabbix-agent\">\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432<\/a>&#187;  (\u0432\u043e\u043f\u0440\u043e\u0441 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0443\u0436\u0438\u0445 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432 \u0441 \u0433\u0438\u0442\u0445\u0430\u0431\u0430 \u043e\u0431\u043e\u0439\u0434\u0443 \u0441\u0442\u043e\u0440\u043e\u043d\u043e\u0439. \u041a\u0430\u043a \u044f \u0443\u0436\u0435 \u0441\u043a\u0430\u0437\u0430\u043b, \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u0441\u0430\u043c\u043e\u043c\u0443).<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Zabbix Agent<\/h2>\n<p>\u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\n<p>zabbix_agentd<\/p>\n<\/li>\n<li>\n<p>zabbix_get<\/p>\n<\/li>\n<li>\n<p>zabbix_sender<\/p>\n<\/li>\n<li>\n<p>zabbix_agentd.conf<\/p>\n<\/li>\n<\/ul>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438:<\/p>\n<ul>\n<li>\n<p>\/etc\/zabbix<\/p>\n<\/li>\n<li>\n<p>\/etc\/zabbix\/zabbix_agent.d.d <\/p>\n<\/li>\n<li>\n<p>\/var\/log\/zabbix<\/p>\n<\/li>\n<\/ul>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, WinSCP, \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 <em>\/usr\/bin<\/em>, \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432 <strong>\/etc\/zabbix. <\/strong>\u0424\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c &#171;\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c&#187;. <\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: <\/strong>vCenter \u0438 Cloud Director \u0431\u0443\u0434\u0443\u0442 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 <em>\/var\/run\/zabbix<\/em> \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 PID \u0444\u0430\u0439\u043b \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <em>\/tmp\/zabbix.pid<\/em><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c System.d Unit \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b Zabbix Agent \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430:<\/p>\n<p>Unit \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u043f\u043e \u043f\u0443\u0442\u0438 <strong>\/usr\/lib\/systemd\/system\/zabbix-agent.service<\/strong>, \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<\/p>\n<pre><code>#\/usr\/lib\/systemd\/system\/zabbix-agent.service [Unit] Description=Zabbix Agent Documentation=man:zabbix_agentd After=network.target   [Service] Type=simple ExecStart=\/usr\/bin\/zabbix_agentd -f -c \/etc\/zabbix\/zabbix_agentd.conf Restart=always RestartSec=5s   [Install] WantedBy=multi-user.target<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 Zabbix Agent \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c:<\/p>\n<p><code>systemctl daemon-reload<\/code><strong> <\/strong><\/p>\n<p><code>systemctl enable zabbix-agent<\/code><strong> <\/strong><\/p>\n<p><code>systemctl restart zabbix-agent<\/code><\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Firewall<\/h2>\n<h4>\u0414\u043b\u044f Cloud Director<\/h4>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <strong>\/etc\/systemd\/scripts\/ip4save-vmw<\/strong><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0444\u0430\u0439\u043b\u0430<\/p>\n<p><code>-A INPUT -p tcp -m state --state NEW -m tcp --dport 10050 -j ACCEPT<\/code><\/p>\n<h4>\u0414\u043b\u044f vCenter Server Appliance<\/h4>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <strong>\/etc\/vmware\/appliance\/services.conf<\/strong><\/p>\n<p>\u0412 \u043a\u043e\u043d\u0446\u0435 \u0444\u0430\u0439\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0441\u0442\u0430\u0432\u043a\u0443 \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438, \u043d\u0435 \u043b\u043e\u043c\u0430\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435:<\/p>\n<pre><code> \"zabbix-agent\": {     \"firewall\": {       \"enable\": true,       \"rules\": [         {            \"direction\": \"inbound\",            \"protocol\": \"tcp\",            \"porttype\": \"dst\",            \"port\": \"10050\",            \"portoffset\": 0         }       ]     }   }<\/code><\/pre>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<\/div>\n<\/details>\n<h2>\u041a\u0430\u043a \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f Zabbix \u043a PostgreSQL<\/h2>\n<p>\u0411\u0443\u0434\u0435\u043c \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/www.zabbix.com\/ru\/integrations\/postgresql\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u043c\u0430\u043d\u0443\u0430\u043b\u0443<\/a> \u0434\u043b\u044f Zabbix Agent (<em>\u043d\u0435 Zabbix Agent 2<\/em>). \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043c\u0430\u043d\u0443\u0430\u043b \u044f \u043d\u0435 \u0431\u0443\u0434\u0443, \u043d\u043e \u043f\u0440\u043e\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u044e \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b:<\/p>\n<p>\u041d\u0430 \u0448\u0430\u0433\u0435 1: vCenter \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u044e PostgreSQL 9.6.20, Cloud Director \u2014 \u0432\u0435\u0440\u0441\u0438\u044e 10.12. \u0414\u043b\u044f \u043d\u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <em>zbx_monitor<\/em>.<\/p>\n<p>\u041d\u0430 \u0448\u0430\u0433\u0435 4: \u041d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c <em>pg_hba.conf<\/em> \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 Zabbix Agent \u043a PostgreSQL, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0441\u0442\u0440\u043e\u043a\u0443 <code>host all zbx_monitor 127.0.0.1\/32 trust<\/code>  \u0432\u0432\u0435\u0440\u0445\u0443 \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u0440\u0430\u0432\u0438\u043b <strong>IPv4 local connections:<\/strong><\/p>\n<figure class=\"full-width\"><figcaption>pg_hba.conf<\/figcaption><\/figure>\n<h4>\u0414\u043b\u044f Cloud Director<\/h4>\n<p>\u041d\u0443\u0436\u043d\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 <em>\/opt\/vmware\/appliance\/etc\/base_pg_hba.conf<\/em>.<\/p>\n<h4>\u0414\u043b\u044f vCenter Server Appliance<\/h4>\n<p>\u041d\u0443\u0436\u043d\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 <em>\/storage\/db\/vpostgres\/pg_hba.conf.<\/em><\/p>\n<p>\u041d\u0430 \u0448\u0430\u0433\u0435 6: \u041d\u0438\u0447\u0435\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f Zabbix Agent \u0438 PostgreSQL \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0445\u043e\u0441\u0442\u0435 (\u043a\u0430\u043a \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435).<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e \u043c\u0430\u043d\u0443\u0430\u043b\u0443, <strong>\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 VMware Cloud Director \u0438 vCenter Server Appliance <\/strong>\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c Zabbix Agent \u0438\u0437 Zabbix.<\/p>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h2>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435:<\/p>\n<figure class=\"full-width\"><figcaption>\u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0441 VMware Cloud Director<\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption>\u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0441 vCenter Server Appliance<\/figcaption><\/figure>\n<h3>\u0414\u0435\u0431\u0430\u0433<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0442\u043e \u0432\u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<p><strong>\u041d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f Zabbix Agent:<\/strong><\/p>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 <code>systemctl status zabbix-agent<\/code>. \u0415\u0441\u043b\u0438 \u0430\u0433\u0435\u043d\u0442 \u043d\u0435 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439  <code>\/usr\/bin\/zabbix_agentd -f -c \/etc\/zabbix\/zabbix_agentd.conf<\/code><strong>, <\/strong>\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0443 \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d.<\/p>\n<p><strong>Zabbix Agent \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u0441\u0435\u0442\u0438:<\/strong><\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0441\u043b\u0443\u0448\u0430\u0435\u0442 \u043b\u0438 \u0430\u0433\u0435\u043d\u0442 \u043f\u043e\u0440\u0442 10050\/tcp : <code>netstat -tulpn | grep zabbix<\/code><\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u043f\u043e\u0440\u0442 10050\/tcp \u043e\u0442\u043a\u0440\u044b\u0442 \u043d\u0430 Firewall: <code>iptables -L<\/code><\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 <em>INPUT<\/em><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! <\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/572198\/\"> https:\/\/habr.com\/ru\/articles\/572198\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-415935","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=415935"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415935\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=415935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=415935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=415935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}