MichaelRios
Contributor
Contributor

cannot configure to monitor XenServer 5.0

I am not sure if this is a XenServer problem or a Hyperic problem, so my apologizes in advance if I'm posting in the wrong location.

I have Hyperic 4.1.1 monitoring our environment quite happily, with the exception of a test hypervisor running XenServer 5.0 update 3 (named xen-test). I've installed the latest XenServer plug-in as recommended by Hyperic; I've verified that I can connect to the hypervisor's XAPI through both http://xen-test:80 and https://xen-test:443 by running a simple VM provisioning script.

However, when I try to configure the Hyperic XenServer plug-in (http://support.hyperic.com/display/hypcomm/Citrix+XenServer) I receive a:

The configuration has not been set for this resource due to : Invalid configuration: Error reported by Agent @ XXX.XXX.XXX.XXX:2144: Unauthorized

The logs show:

2009-10-30 14:03:49,622 WARN [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.MeasurementManagerEJBImpl@1430] Error turning on default metrics, configuration ({platform.id=13435, platform.ip=146.139.115.111, platform.name=xen-migrate1.it.anl.gov, platform.fqdn=xen-migrate1.it.anl.gov, platform.type=Xen Host}) couldn't be validated
org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Error reported by Agent @ 130.202.172.6:2144: Unauthorized
at org.hyperic.hq.measurement.server.session.MeasurementManagerEJBImpl.checkConfiguration(MeasurementManagerEJBImpl.java:1355)
.
.
.

and so on.

I see the "Unauthorized" error, but it's the same user/password I used to get the provisioning script running. What might be going on here?

mike.
0 Kudos
4 Replies
bclark_hyperic
Enthusiast
Enthusiast

I had no problems monitoring my XenServer 5.0 update 3 servers with Hyperic HQ.

Are you sure that the agent you are using to monitor your XenServer has network access to the XenServer on port 443? (ie. there isn't a firewall blocking this traffic?)

Aside from the userid/password check, I don't really know what else to check.

Brian
0 Kudos
bclark_hyperic
Enthusiast
Enthusiast

You should check this out too. Maybe this is related to your problem?

http://jira.hyperic.com/browse/HHQ-3243

Brian
0 Kudos
MichaelRios
Contributor
Contributor

Yup...as a test, we dropped the firewall on both sides. No dice.

It's an odd one, and I'm not sure where to go short of writing my own python plugin and getting the job done that way. I'd like to avoid that. 🙂
0 Kudos
MichaelRios
Contributor
Contributor

Interesting...I don't know. That looks perhaps like a problem I'll have when once I get connected. I'll ponder that and see if any of the logs I generate support that.

Thanks for your input!
0 Kudos