Enable SNMP on Citrix Xenserver 5.5 and 5.6
This in turn with then enable this XenServer to be monitored
1. Open /etc/sysconfig/iptables in an editor
2. After the line
Code:
-A RH-Firewall-1-INPUT –p udp –dport 5353… :
insert the following
Code:
-A RH-Firewall-1-INPUT -p udp –dport 161 -j ACCEPT
This allows access to port 161 (SNMP)
3. restart the firewall using
service iptables restart
4. To turn on the snmp service
chkconfig snmpd on
5. To start the snmp service
service snmpd start
6. Now we need to edit the snmp service, so open up /etc/snmp/snmpd.conf in an editor of your choosing
7. if you use a non “public” snmp string, which I’m guessing you will, edit this line
Change line:
com2sec notConfigUser   default   publicTo:
com2sec notConfigUser   default   anything_you_need
8. Save you file and restart the snmpd service with
service snmpd restart
ALL DONE
N.B – within the snmpd.conf file you can control what snmp information is sent out. If you want to see more information, than what is currently sent out, edit the conf file accordingly.
See http://support.citrix.com/article/CTX122337
for details on how to see ALL events.
Enjoy
JK