Getting SNMP Rolling on XENSERVER 6

So I’ve been in need of getting SNMP installed on XenServer 6- its pretty simple:

login to box
vi /etc/sysconfig/iptables

Put in before your deny all clause
-A RH-Firewall-1-INPUT -m state –state NEW -m udp -p udp –dport 161 -j ACCEPT

service iptables restart

vi /etc/snmp/snmpd.conf
Modify this config to reflect what you need.

service snmpd restart
chkconfig snmpd on