Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Monitor HTTP content

$
0
0

Hi,

 

How can you monitor the HTML content of a response from a HTTP service? In HQ (4.6.6, open source), I created a HTTP service to fetch the HTML (which is dynamically created by python).

 

  • The HTML specificies the service' status. If one of its components is malfunctioning it will put the text 'ERROR' into the html.
  • The service will always return a HTTP 200, so the status code cannot be used for monitoring.

 

The HTTP service is configured as follows:
  • GET Method
  • Pattern field: empty
  • service.log_track.enable: true
  • service.log_track.level: ERROR         (Is this relevant? It's not a log file but an unstructured html)

 

The alert definition:

  • If condition: Events/logs Level ANY and match substring ERROR

 

It's unclear if the log settings in the HTTP service and alert definition also apply to filtering HTTP content. I tried several combinations but none seem to work.

 

Egon


Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>