{"action":"opened","issue":{"url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/293","repository_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure","labels_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/293/comments","events_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/293/events","html_url":"https://github.com/Metaswitch/clearwater-infrastructure/issues/293","id":138220504,"number":293,"title":"check-uptime giving spurious errors","user":{"login":"eleanor-merry","id":5425325,"avatar_url":"https://avatars.githubusercontent.com/u/5425325?v=3","gravatar_id":"","url":"https://api.github.com/users/eleanor-merry","html_url":"https://github.com/eleanor-merry","followers_url":"https://api.github.com/users/eleanor-merry/followers","following_url":"https://api.github.com/users/eleanor-merry/following{/other_user}","gists_url":"https://api.github.com/users/eleanor-merry/gists{/gist_id}","starred_url":"https://api.github.com/users/eleanor-merry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eleanor-merry/subscriptions","organizations_url":"https://api.github.com/users/eleanor-merry/orgs","repos_url":"https://api.github.com/users/eleanor-merry/repos","events_url":"https://api.github.com/users/eleanor-merry/events{/privacy}","received_events_url":"https://api.github.com/users/eleanor-merry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"chris-elford-metaswitch","id":2103471,"avatar_url":"https://avatars.githubusercontent.com/u/2103471?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-elford-metaswitch","html_url":"https://github.com/chris-elford-metaswitch","followers_url":"https://api.github.com/users/chris-elford-metaswitch/followers","following_url":"https://api.github.com/users/chris-elford-metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/chris-elford-metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-elford-metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-elford-metaswitch/subscriptions","organizations_url":"https://api.github.com/users/chris-elford-metaswitch/orgs","repos_url":"https://api.github.com/users/chris-elford-metaswitch/repos","events_url":"https://api.github.com/users/chris-elford-metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/chris-elford-metaswitch/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-03-03T16:07:35Z","updated_at":"2016-03-03T16:07:35Z","closed_at":null,"body":"I've seen the new monit check_uptime script fail when it shouldn't, e.g.:\r\n\r\n```\r\nProcess 'ntp_process'               Running\r\nSystem 'node-ec2-54-87-0-91.compute-1.amazonaws.com' Running\r\nProcess 'nginx_process'             Running\r\nProgram 'nginx_uptime'              Status failed\r\nProcess 'homestead_process'         Running\r\nProgram 'poll_homestead'            Status ok\r\nProcess 'homestead-prov_process'    Running\r\nProgram 'poll_homestead-prov'       Status ok\r\nProcess 'clearwater_queue_manager_process' Running\r\nProgram 'clearwater_queue_manager_uptime' Status failed\r\nProcess 'etcd_process'              Running\r\nProgram 'etcd_uptime'               Status failed\r\nProgram 'poll_etcd_cluster'         Status ok\r\nProgram 'poll_etcd'                 Status ok\r\nProcess 'clearwater_diags_monitor_process' Running\r\nProcess 'clearwater_config_manager' Running\r\nProcess 'clearwater_cluster_manager' Running\r\nProcess 'cassandra_process'         Running\r\nProgram 'cassandra_uptime'          Status failed\r\nProgram 'poll_cassandra'            Status ok\r\n```\r\n\r\nOutput in monit.log is `'etcd_uptime' '/usr/share/clearwater/bin/check-uptime' failed with exit status (0) -- no output from program`"}}