{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/pm2/issues/2197","repository_url":"https://api.github.com/repos/Unitech/pm2","labels_url":"https://api.github.com/repos/Unitech/pm2/issues/2197/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/pm2/issues/2197/comments","events_url":"https://api.github.com/repos/Unitech/pm2/issues/2197/events","html_url":"https://github.com/Unitech/pm2/issues/2197","id":157500039,"number":2197,"title":"Health check question","user":{"login":"mhaamann","id":1766107,"avatar_url":"https://avatars.githubusercontent.com/u/1766107?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaamann","html_url":"https://github.com/mhaamann","followers_url":"https://api.github.com/users/mhaamann/followers","following_url":"https://api.github.com/users/mhaamann/following{/other_user}","gists_url":"https://api.github.com/users/mhaamann/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaamann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaamann/subscriptions","organizations_url":"https://api.github.com/users/mhaamann/orgs","repos_url":"https://api.github.com/users/mhaamann/repos","events_url":"https://api.github.com/users/mhaamann/events{/privacy}","received_events_url":"https://api.github.com/users/mhaamann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-05-30T13:10:20Z","updated_at":"2016-09-12T14:04:20Z","closed_at":null,"body":"Hi,\r\n\r\nIs it possible to restart a process managed by pm2 if it fails a health check?\r\n\r\nCan I connect directly to a process managed to pm2? At the moment i can only access the process through pm2 which means it is random which process I will actually hit. Mainly for debugging purposes.\r\n\r\nThe reason for asking is that we today found two processes (out of 5) that was failing the health check the haproxy was using. This lead to the server with pm2 running was being taken down every 5 minutes.\r\n\r\nThanks,\r\n"},"comment":{"url":"https://api.github.com/repos/Unitech/pm2/issues/comments/246357285","html_url":"https://github.com/Unitech/pm2/issues/2197#issuecomment-246357285","issue_url":"https://api.github.com/repos/Unitech/pm2/issues/2197","id":246357285,"user":{"login":"JamesBewley","id":4125674,"avatar_url":"https://avatars.githubusercontent.com/u/4125674?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesBewley","html_url":"https://github.com/JamesBewley","followers_url":"https://api.github.com/users/JamesBewley/followers","following_url":"https://api.github.com/users/JamesBewley/following{/other_user}","gists_url":"https://api.github.com/users/JamesBewley/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesBewley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesBewley/subscriptions","organizations_url":"https://api.github.com/users/JamesBewley/orgs","repos_url":"https://api.github.com/users/JamesBewley/repos","events_url":"https://api.github.com/users/JamesBewley/events{/privacy}","received_events_url":"https://api.github.com/users/JamesBewley/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T14:04:20Z","updated_at":"2016-09-12T14:04:20Z","body":"Ok, thank for the information.  I can see the module and API being very useful.\r\n\r\nIn terms of health checking frozen processes I would suggest this should probably an official module if it isn't already.  I imagine lots of people would use this."}}
{"actor":{"display_login":"JamesBewley"}}