{"id":1494,"date":"2020-12-15T09:56:06","date_gmt":"2020-12-15T15:56:06","guid":{"rendered":"https:\/\/it.thelibrarie.com\/weblog\/?p=1494"},"modified":"2020-12-15T09:56:06","modified_gmt":"2020-12-15T15:56:06","slug":"enable-snmp-on-esxi","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2020\/12\/enable-snmp-on-esxi\/","title":{"rendered":"Enable SNMP on ESXi"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Inheriting 3 different companies&#8217; worth of Virtual infrastructure is sometimes a giant PITA. This holds true especially when the 3 different companies all had multiple &#8220;admin&#8217;s&#8221; working at any given time without established standards for naming, setup, configuration, or even maintenance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some of the newly-installed VMWare equipment wasn&#8217;t showing up on my Nagios monitoring board. First step is to make sure that snmp is setup and actually running (hint, it was not).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I ended up at this auvik support site &#8211; and, if it wasn&#8217;t so expensive (our budget is about 1\/3 of what it &#8220;should be&#8221; &#8211; I would be running this for monitoring of our infrastructure. Think of it as cloud prtg. https:\/\/support.auvik.com\/hc\/en-us\/articles\/206311526-How-to-enable-SNMP-on-a-VMware-ESXi-hypervisor#topic_esx6<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since we&#8217;re running ESXi 6.5 and 6.7 currently:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>SSH to your ESXi box using the root account<\/li><li><code>esxcli system snmp set -r<\/code><\/li><li><code>esxcli system snmp set -c YOURCOMMUNITY<\/code><\/li><li><code>esxcli system snmp set -p 161<\/code><\/li><li><code>esxcli system snmp set -L \"City, State, Country\"<\/code><\/li><li><code>esxcli system snmp set -C noc@domain.tld<\/code><\/li><li><code>esxcli system snmp set -e yes<\/code><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Or, if you&#8217;re using ESXi 7:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>SSH to your ESXi box using the root account<\/li><li><code>esxcli system snmp set --communities YOURCOMMUNITY<\/code><\/li><li><code>esxcli system snmp set --enable true<\/code><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Inheriting 3 different companies&#8217; worth of Virtual infrastructure is sometimes a giant PITA. This holds true especially when the 3 different companies all had multiple &#8220;admin&#8217;s&#8221; working at any given time without established standards for naming, setup, configuration, or even maintenance. Some of the newly-installed VMWare equipment wasn&#8217;t showing up on my Nagios monitoring board. &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2020\/12\/enable-snmp-on-esxi\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Enable SNMP on ESXi<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1494","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1494"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1494\/revisions"}],"predecessor-version":[{"id":1495,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1494\/revisions\/1495"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}