iloire / watchmen

A simple node.js service monitor
MIT License
941 stars 195 forks source link

Enhance http ping service #25

Closed tcoupin closed 9 years ago

tcoupin commented 9 years ago

Ideas :

tcoupin commented 9 years ago

After looking the code, headers already seem to be supported. Can you confirm?

iloire commented 9 years ago

It doesn't check for headers at the moment. It checks for status code and response content

renderful commented 9 years ago

Another nice idea in this area might be to notify and log when certain content is on the page, such as error messages.

iloire commented 9 years ago

It will be soon possible to plug your own ping services, and one that does that should be quite simple to implement.

iloire commented 9 years ago

Since watchmen 3, please refer to

https://www.npmjs.com/package/watchmen-ping-http-head https://www.npmjs.com/package/watchmen-ping-http-contains