{"id":895,"date":"2016-06-29T17:13:58","date_gmt":"2016-06-29T15:13:58","guid":{"rendered":"http:\/\/dety.net.ua\/?p=895"},"modified":"2016-06-29T17:13:58","modified_gmt":"2016-06-29T15:13:58","slug":"zabbix-3-adding-vmware-hosts","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=895","title":{"rendered":"Zabbix 3 + Adding VMWare hosts"},"content":{"rendered":"<ol>\n<li>Create vSphere host<\/li>\n<li>Add 4 macros:<br \/>\n&#8211; {$USERNAME} &#8211; username which has an administrative privileges on VMware<br \/>\n&#8211; {$PASSWORD) &#8211; password for username<br \/>\n&#8211; {$URL} &#8211; https:\/\/10.10.10.10\/sdk (where 10.10.10.10 is the address of vSphere host, not VMware supervisor)<br \/>\n&#8211; {$UUID} &#8211; $UUID can be obtain by requesting the hypervisor webservices like https:\/\/hostname\/mob\/?moid=ha-host&amp;&#8230;are.systemInfo You will see data like uuid &#8220;320d4e35-b3fd-11e3-a216-6cae8b33fc28&#8221; where string between &#8220;&#8221; is the data to used in $UUID macro<\/li>\n<li>Add 3 templates to vSphere host:<br \/>\n&#8211; Template Virt VMware<br \/>\n&#8211; Template Virt VMware Guest<br \/>\n&#8211; Template Virt VMware Hypervisor<\/li>\n<li>Done. After some time you will see new hosts in &#8220;Hosts&#8221;.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Create vSphere host Add 4 macros: &#8211; {$USERNAME} &#8211; username which has an administrative privileges on VMware &#8211; {$PASSWORD) &#8211; password for username &#8211; {$URL} &#8211; https:\/\/10.10.10.10\/sdk (where 10.10.10.10 is the address of vSphere host, not VMware supervisor) &#8211; {$UUID} &#8211; $UUID can be obtain by requesting the hypervisor webservices like https:\/\/hostname\/mob\/?moid=ha-host&amp;&#8230;are.systemInfo You will see [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,16],"tags":[],"class_list":["post-895","post","type-post","status-publish","format-standard","hentry","category-novosti","category-zabbix"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=895"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/895\/revisions"}],"predecessor-version":[{"id":896,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/895\/revisions\/896"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}