We have an app in node.js , we are using startup for starting and stoping. but we want to implement monit for monitoring the app. so what i have done is
Installed Monit. Changed configure file .
here is my config file .
check host statupprogramwith address 22.214.171.124 start "/sbin/start statupprogram" stop "/sbin/stop statupprogram" if failed port 8002 protocol HTTP request / with timeout 5 seconds then restart
I am following http://wellconsidered.be/nodejs-with-upstart-and-monit
why this message is not coming when i stop
why this message is not coming
Remote Host 'startupprogram' status Connection failed monitoring status monitored port response time -1.000s to 126.96.36.199:8124/ [HTTP via TCP] data collected Fri Mar 25 19:01:55 2011