VMware Cloud Community
Morten_hyperic
Contributor
Contributor

Monitoring web services

Is it possible to invoke a web service using the http plugin (or some other plugin). The idea is to sort of ping the service to make sure it is up and running and can service "real" requests. I could write a script that invokes a web service and have the script hooked up to the schdeuler, not sure how the response SOAP envelope can be interrogated for certain return values and interpreted a "available" in the monitor portlet
0 Kudos
1 Reply
dougm_hyperic
VMware Employee
VMware Employee

If you already have a script, this would be very easy to integrate
using a custom plugin, see:
http://support.hyperic.com/confluence/display/DOCSHQ27/Script+Plugin

The other option would be to write a plugin in Java, but if your
language of choice is something else, using a script is the way to go.
It would be up to your script to decide how to interpret the response
as available or otherwise, then just use the exit code to communicate
that value to HQ.

On Nov 13, 2006, at 7:42 PM, Morten wrote:

> Is it possible to invoke a web service using the http plugin (or
> some other plugin). The idea is to sort of ping the service to
> make sure it is up and running and can service "real" requests. I
> could write a script that invokes a web service and have the script
> hooked up to the schdeuler, not sure how the response SOAP envelope
> can be interrogated for certain return values and interpreted a
> "available" in the monitor portlet


0 Kudos