I spent an hour this afternoon cleaning up our OpManager install, making sure the new servers in the NZ office are monitored correctly.
And then I realised that we don’t have SNMP enabled on the XenServer hosts over there.
Turns out it’s not too hard though:
Edit /etc/sysconfig/iptables
Add in amongst the other allows:
-A RH-Firewall-1-INPUT -m state –state NEW -m udp -p udp –dport 161 -j ACCEPT
# service iptables restart
Edit /etc/snmp/snmpd.conf (aka change public to something more secure)
# service snmpd restart
# chkconfig snmpd on
Yup, that was easy 🙂