Enable SNMP on Citrix Xenserver 5.5 and 5.6

 In XenServer

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

Code:
service iptables restart

4. To turn on the snmp service

Code:
chkconfig snmpd on

5. To start the snmp service

Code:
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

Code:
Change line:
com2sec notConfigUser     default     public

To:
com2sec notConfigUser     default     anything_you_need

8. Save you file and restart the snmpd service with

Code:
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

Recent Posts

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search