VMware Cloud Community
pmsumner
Contributor
Contributor

Using Hyperic to measure the response time to an HTTP Post?

Can you let me know - is it possible to use Hyperic to measure the response time, and check the response to, an HTTP post request?  I'm looking to check that a web service is running correctly and the method they've provided is to send an XML document as an HTTP post... I can't see any reference to this being possible looking at the docs, and my Google-fu is failing me.

If it is possible, can you also point to me a document giving some idea of how it's done?

Thanks,

Phil

0 Kudos
3 Replies
hqpso
Enthusiast
Enthusiast

Since the HTTP Platform Service only supports a GET/HEAD request, you will need to write a custom script using a tool such as 'curl' that can execute a POST operation.

The script service will then need to parse the response (the output) from 'curl' to glean the response code and feed it back to the script executor in the agent.

Since 'curl' doesn't have a very friendly way of getting response time, you could check the time at the beginning and end of the command or 'awk' a response using something like 'time curl.....'. Won't be millisecond accurate but reasonable.

There is a good tutorial about how to write a Script Service Plugin here: http://support.hyperic.com/display/DOCS46/Facts+About+Script+Plugins

pmsumner
Contributor
Contributor

Thanks!  That was the answer I was hoping wouldn't come... writing plugins doesn't seem to be as simple as I'd hope it could be, but hey, it's a learning experience 🙂

0 Kudos
admin
Immortal
Immortal

Hello Phil,

APM 5.0 is coming out soon.  This Hyperic and AppInsight integration should give you the performance monitoring you need.

Here's a link to the product page if you want to learn more.

http://www.vmware.com/products/application-platform/vfabric-application-performance-manager/overview...

Thanks,

-Ed

0 Kudos