iloire / watchmen

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

How use http-contain #74

Closed andrebassi closed 8 years ago

andrebassi commented 8 years ago

I need use string: 502 Bad Gateway

This error in nginx.

How monitoring this?

iloire commented 8 years ago

You can use the default https://www.npmjs.com/package/watchmen-ping-http-head and compare the status code to 502