gtrianta1965 / ServiceWatcher

Standalone java application for Service Monitoring
0 stars 0 forks source link

searchString value #40

Open androklis opened 7 years ago

androklis commented 7 years ago

searchString value must contain either plain text or a regular expresion.

This could be useful in scenarios that we want to monitor a service that checks other services adn returns the output in a more complex format.

gtrianta1965 commented 7 years ago

It sounds good. Can you give me a couple of examples?

androklis commented 7 years ago

AIOLOS in LAB: HTTP service that checks the health of the UPS. The response is in HTML format and more than one rows in a table must be checked.

With regex we can find the matching text that starts from n line and ends to k line, and so on. String comparison will be easier and faster.