- HTTP service
- Ping service
- Port service
|Import a Net Service on a managed platform|
HTTP service monitors availability of an HTTP URL endpoint. By default the endpoint is reported up if a GET request to its URL gives any response. It can be configured to validate response code and response content (with a regular expression).
If you validate the response content, bear in mind that it will be entirely loaded in memory. So for efficiency and reliability don't use this option with large sized responses.
The HTTP service defines a "contentLength" metric. This metric is filled with the HTTP response content length header. When the response does not contain this header, the metric will have a default value of -1. You may want to disable this particular metric in this case.
Ping service lets you know if a remote IP is reachable. The internal mechanism involved may vary upon JVM implementation but will typically be an ICMP echo request or a TCP request to port 7 (echo service).
Port servicePort service monitors availability of a remote port for TCP connection. This can be useful to check if a remote service you cannot manage with an RHQ agent is listening to your connections.
Would you like to see other type of services in this plugin? Come and tell us in the forum.