Jump to content
Welcome to our new Citrix community!
  • 0

XenServer SNMP configuration and test

Slawomir Janiga




I'm looking into setting the SNMP for our XenServer hosts.

We use XenServer release 7.6.0 (xenenterprise) version.


I have followed a couple of discussions, tutorials on how to configure this but find some confusing i.e. which iptables rule is valis for this step.


What I have configured at this point is:



com2sec notConfigUser  myCommunityName

group   notConfigGroup v1notConfigUser
group   notConfigGroup v2cnotConfigUser


view    systemview    included   .
view    systemview    included   .
view    all                     included    .1


access  notConfigGroup ""      anynoauth    exact  all none none



I have added 2 entries here as we have 2 SCOM servers and those are also configured to catch events from our IPMI out-of-band interfaces and those work and I'm getting traps in SCOM for the events they generate.


-A RH-Firewall-1-INPUT -p udp -m multiport --dports 5404,5405 -j ACCEPT

-A RH-Firewall-1-INPUT -s -p udp --dport 161 -j ACCEPT

-A RH-Firewall-1-INPUT -s -p udp --dport 161 -j ACCEPT


Now is this like the way to go ?

How can this be tested now, as the host is empty I tried restarting it and I'm not getting anything in SCOM.

Please advise a bit on this, thanks in advance.

Link to comment

10 answers to this question

Recommended Posts

  • 0

Yeah, you can run all your SNMP query commands externally without the need to install any SNMP software directly on XenServer, which is nice as that doesn't void any support or warranty stuff. The newer kernel uses snmpd.xs.conf and indeed, it's hard to keep up with some of these changes as the kernel continues to change,



Link to comment
  • 0

Are these settings still relevant for XS 8.1? Has anything changed?


I've seen a few different posts on the web which are for older versions of XS explaining to clear out the snmpd.conf file and put in a specific SNMP listener IP address or put in a range.


Can both snmpd.conf and snmpd.xs.conf files be configured at the same time?



Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...