I love Cacti and use it all the time to monitor my system performance. Here are the few steps needed to turn SNMP on with in your Citrix XenServer hosts. This document assumes you already have Performance Monitoring Enhancements Pack for XenServer, SNMP, and Cacti already installed and functioning on your network.
- Edit: /etc/sysconfig/iptables
Add the following lines AFTER the line “-A RH-Firewall-1-INPUT -p udp –dport 5353 -d 126.96.36.199 -j ACCEPT”
-A RH-Firewall-1-INPUT -p udp --dport 161 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 162 -j ACCEPT
- Execute: service iptables restart
- Edit: /etc/snmp/snmpd.conf
Replace the community with your current SNMP community if you have one.
# sec.name source community
com2sec notConfigUser default public
- Execute: chkconfig snmpd on
- Execute: service snmpd restart
- Test from another host: snmpwalk -v 2c -c public xenserver.someplace.com
Note, replace public with your SNMP community!