VMware Cloud Community
devboy_hyperic
Contributor
Contributor

Monitoring system via web services

Hi,

I have a bunch of servers that report metrics on themselves by exposing web services.

How would I use Hyperic to collect this data? Meaning is there a generic plugin that would query a web service? How would I build one of those (using which of the plugin implementation)?

thx
0 Kudos
1 Reply
deeboh
Enthusiast
Enthusiast

Depending on what you're trying to do you could write a small java WS client which would print your metrics out to standout. At that point it's (relatively) easy to create a Hyperic friendly wsmetrics-plugin.xml which would then behave like any other HQ Agent metrics gathering entity.

if not a java client, there is a really nice perl web services package which makes it really easy to make a client.

The Hyperic Documentation has many examples on how to create a scripted plugin. All you have to do is create the script. Pick your favorite language, I only say perl or java because i've done this in the past.

good luck
0 Kudos