{"id":73,"date":"2012-07-09T14:35:51","date_gmt":"2012-07-09T18:35:51","guid":{"rendered":"http:\/\/steventully.com\/?p=73"},"modified":"2015-12-23T01:38:34","modified_gmt":"2015-12-23T06:38:34","slug":"enabling-snmp-on-esxi-5","status":"publish","type":"post","link":"https:\/\/steventully.com\/?p=73","title":{"rendered":"Enabling SNMP on ESXi 5"},"content":{"rendered":"<div>If you want to enable SNMP on ESXi 5 or ESXi 4, follow these steps:<\/div>\n<ol>\n<li>Connect to your vMA instance through Putty, SecureCRT or whatever app you use.<\/li>\n<li>Add the server: \u00a0<em>vifp addserver vs-esxi.yourdomain.com <\/em>(This is only needed if you haven\u2019t already added the target!)<em><br \/>\n<\/em><\/li>\n<li>Set your target: \u00a0<em>vifptarget -s vs-esxi.yourdomain.com<\/em><\/li>\n<li>Configure SNMP Community: \u00a0<em>vicfg-snmp \u2013communities vscomname<\/em><\/li>\n<li>Configure SNMP Trap Host: \u00a0<em>vicfg-snmp \u2013targets TrapHostIP@161\/vscomname<\/em><\/li>\n<li>Enable SNMP on the ESXi host: \u00a0<em>vicfg-snmp \u2013enable<\/em><\/li>\n<\/ol>\n<div>You can show the configuration by typing: \u00a0<em>vicfg-snmp \u2013show<\/em><\/div>\n<div>You can snmpwalk the host from the Trap host you configured by typing: \u00a0<em><\/em><\/div>\n<div><em>\u00a0 snmpwalk -v2c -cvscomname vs-esxi.yourdomain.com<\/em><\/div>\n<div>For information on how to configure this, check out VMware KB Article 1008065.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you want to enable SNMP on ESXi 5 or ESXi 4, follow these steps: Connect to your vMA instance through Putty, SecureCRT or whatever app you use. Add the server: \u00a0vifp addserver vs-esxi.yourdomain.com (This is only needed if you haven\u2019t already added the target!) Set your target: \u00a0vifptarget -s vs-esxi.yourdomain.com Configure SNMP Community: \u00a0vicfg-snmp [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-ubergeek"],"_links":{"self":[{"href":"https:\/\/steventully.com\/index.php?rest_route=\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steventully.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/steventully.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/steventully.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/steventully.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73"}],"version-history":[{"count":6,"href":"https:\/\/steventully.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions"}],"predecessor-version":[{"id":599,"href":"https:\/\/steventully.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions\/599"}],"wp:attachment":[{"href":"https:\/\/steventully.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/steventully.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/steventully.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}