{"action":"created","issue":{"url":"https://api.github.com/repos/ffnord/ffnord-puppet-gateway/issues/99","labels_url":"https://api.github.com/repos/ffnord/ffnord-puppet-gateway/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/ffnord/ffnord-puppet-gateway/issues/99/comments","events_url":"https://api.github.com/repos/ffnord/ffnord-puppet-gateway/issues/99/events","html_url":"https://github.com/ffnord/ffnord-puppet-gateway/issues/99","id":59564751,"number":99,"title":"Add script to test gateway status when finished","user":{"login":"rubo77","id":1591563,"avatar_url":"https://avatars.githubusercontent.com/u/1591563?v=3","gravatar_id":"","url":"https://api.github.com/users/rubo77","html_url":"https://github.com/rubo77","followers_url":"https://api.github.com/users/rubo77/followers","following_url":"https://api.github.com/users/rubo77/following{/other_user}","gists_url":"https://api.github.com/users/rubo77/gists{/gist_id}","starred_url":"https://api.github.com/users/rubo77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubo77/subscriptions","organizations_url":"https://api.github.com/users/rubo77/orgs","repos_url":"https://api.github.com/users/rubo77/repos","events_url":"https://api.github.com/users/rubo77/events{/privacy}","received_events_url":"https://api.github.com/users/rubo77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-02T22:47:57Z","updated_at":"2015-03-04T10:37:05Z","closed_at":null,"body":"There should be added a script, that shows a status of the gateway when you are logged in via SSH, with:\r\n\r\n - all services that should run\r\n - an analysis of all configurations \r\n - if everything is set up correctly.\r\n - ...\r\n\r\nThis could look like this:\r\n\r\n```\r\n#!/bin/bash\r\nset -x\r\n\r\nmaintenance status\r\nbatctl-ffki gw\r\nservice openvpn status\r\nping -I tun-anonvpn 8.8.8.8\r\nbatctl-ffki gw\r\nservice --status-all 2>&1 | egrep '(bird6|openvpn|fastd|alfred|bat)'\r\n```"},"comment":{"url":"https://api.github.com/repos/ffnord/ffnord-puppet-gateway/issues/comments/77132651","html_url":"https://github.com/ffnord/ffnord-puppet-gateway/issues/99#issuecomment-77132651","issue_url":"https://api.github.com/repos/ffnord/ffnord-puppet-gateway/issues/99","id":77132651,"user":{"login":"sargon","id":178904,"avatar_url":"https://avatars.githubusercontent.com/u/178904?v=3","gravatar_id":"","url":"https://api.github.com/users/sargon","html_url":"https://github.com/sargon","followers_url":"https://api.github.com/users/sargon/followers","following_url":"https://api.github.com/users/sargon/following{/other_user}","gists_url":"https://api.github.com/users/sargon/gists{/gist_id}","starred_url":"https://api.github.com/users/sargon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sargon/subscriptions","organizations_url":"https://api.github.com/users/sargon/orgs","repos_url":"https://api.github.com/users/sargon/repos","events_url":"https://api.github.com/users/sargon/events{/privacy}","received_events_url":"https://api.github.com/users/sargon/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T10:37:05Z","updated_at":"2015-03-04T10:37:05Z","body":"My opinion on this is that we should carefully check if the puppet script is raising all the services on first apply. For everything else we have monitoring systems, that is what they do. \r\n\r\nWhen we have anything which is not nicely monitor-able, create a new check for that.  "}}