{"action":"created","issue":{"url":"https://api.github.com/repos/loggly/install-script/issues/70","labels_url":"https://api.github.com/repos/loggly/install-script/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/loggly/install-script/issues/70/comments","events_url":"https://api.github.com/repos/loggly/install-script/issues/70/events","html_url":"https://github.com/loggly/install-script/issues/70","id":49022757,"number":70,"title":"Configure-Linux.sh fails with Azure Linux VMs","user":{"login":"Dgrafmyre","id":8039859,"avatar_url":"https://avatars.githubusercontent.com/u/8039859?v=3","gravatar_id":"","url":"https://api.github.com/users/Dgrafmyre","html_url":"https://github.com/Dgrafmyre","followers_url":"https://api.github.com/users/Dgrafmyre/followers","following_url":"https://api.github.com/users/Dgrafmyre/following{/other_user}","gists_url":"https://api.github.com/users/Dgrafmyre/gists{/gist_id}","starred_url":"https://api.github.com/users/Dgrafmyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dgrafmyre/subscriptions","organizations_url":"https://api.github.com/users/Dgrafmyre/orgs","repos_url":"https://api.github.com/users/Dgrafmyre/repos","events_url":"https://api.github.com/users/Dgrafmyre/events{/privacy}","received_events_url":"https://api.github.com/users/Dgrafmyre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-17T00:54:22Z","updated_at":"2015-05-07T21:10:32Z","closed_at":null,"body":"The below portion of the script will automatically fail on Azure Linux VMs. Azure does not allow ping to be used by default.\r\n\r\nI had to remove this check from the script to properly get the script to complete and have Loggly configured on the VM.\r\n\r\n#checks if all the various endpoints used for configuring loggly are accessible\r\ncheckIfLogglyServersAccessible()\r\n{\r\n\techo \"INFO: Checking if $LOGS_01_HOST is reachable.\"\r\n\tif [ $(ping -c 1 $LOGS_01_HOST | grep \"1 packets transmitted, 1 received, 0% packet loss\" | wc -l) == 1 ]; then\r\n\t\techo \"INFO: $LOGS_01_HOST is reachable.\"\r\n\telse\r\n\t\tlogMsgToConfigSysLog \"ERROR\" \"ERROR: $LOGS_01_HOST is not reachable. Please check your network and firewall settings.\"\r\n\t\texit 1"},"comment":{"url":"https://api.github.com/repos/loggly/install-script/issues/comments/100020412","html_url":"https://github.com/loggly/install-script/issues/70#issuecomment-100020412","issue_url":"https://api.github.com/repos/loggly/install-script/issues/70","id":100020412,"user":{"login":"mostlyjason","id":6370704,"avatar_url":"https://avatars.githubusercontent.com/u/6370704?v=3","gravatar_id":"","url":"https://api.github.com/users/mostlyjason","html_url":"https://github.com/mostlyjason","followers_url":"https://api.github.com/users/mostlyjason/followers","following_url":"https://api.github.com/users/mostlyjason/following{/other_user}","gists_url":"https://api.github.com/users/mostlyjason/gists{/gist_id}","starred_url":"https://api.github.com/users/mostlyjason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostlyjason/subscriptions","organizations_url":"https://api.github.com/users/mostlyjason/orgs","repos_url":"https://api.github.com/users/mostlyjason/repos","events_url":"https://api.github.com/users/mostlyjason/events{/privacy}","received_events_url":"https://api.github.com/users/mostlyjason/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T21:10:32Z","updated_at":"2015-05-07T21:10:32Z","body":"Hey sorry I just saw this. What is the error you get on an Azure VM? Command not found?"}}