{"id":98,"date":"2021-01-06T13:22:00","date_gmt":"2021-01-06T12:22:00","guid":{"rendered":"https:\/\/192.168.100.14\/?p=98"},"modified":"2021-01-06T13:22:00","modified_gmt":"2021-01-06T12:22:00","slug":"citrix-xenserver-7-2-snmp","status":"publish","type":"post","link":"https:\/\/sztab.eu\/?p=98","title":{"rendered":"Citrix XenServer 7.2 + SNMP"},"content":{"rendered":"\n<p>Edit: \/etc\/sysconfig\/iptables<br>Add the following lines AFTER the line \u201c# dlm\u201d<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>-A RH-Firewall-1-INPUT -p udp --dport 161 -j ACCEPT\n-A RH-Firewall-1-INPUT -p udp --dport 162 -j ACCEPT<\/code><\/pre><\/div>\n\n\n\n<p>Execute:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>systemctl restart iptables.service\nsystemctl enable snmpd.service\nsystemctl restart snmpd.service<\/code><\/pre><\/div>\n\n\n\n<p>Test localhost:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>snmpwalk -v 2c -c public 127.0.0.1<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Edit: \/etc\/sysconfig\/iptablesAdd the following lines AFTER the line \u201c# dlm\u201d Execute: Test localhost:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-bash","category-linux"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sztab.eu\/index.php?rest_route=\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sztab.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sztab.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sztab.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sztab.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98"}],"version-history":[{"count":1,"href":"https:\/\/sztab.eu\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":99,"href":"https:\/\/sztab.eu\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions\/99"}],"wp:attachment":[{"href":"https:\/\/sztab.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sztab.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sztab.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}