{"action":"closed","issue":{"url":"https://api.github.com/repos/go-hermes/go-hermes/issues/29","repository_url":"https://api.github.com/repos/go-hermes/go-hermes","labels_url":"https://api.github.com/repos/go-hermes/go-hermes/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/go-hermes/go-hermes/issues/29/comments","events_url":"https://api.github.com/repos/go-hermes/go-hermes/issues/29/events","html_url":"https://github.com/go-hermes/go-hermes/issues/29","id":186093657,"number":29,"title":"Should agents be able to be configured remotely?","user":{"login":"ggirtsou","id":15324838,"avatar_url":"https://avatars.githubusercontent.com/u/15324838?v=3","gravatar_id":"","url":"https://api.github.com/users/ggirtsou","html_url":"https://github.com/ggirtsou","followers_url":"https://api.github.com/users/ggirtsou/followers","following_url":"https://api.github.com/users/ggirtsou/following{/other_user}","gists_url":"https://api.github.com/users/ggirtsou/gists{/gist_id}","starred_url":"https://api.github.com/users/ggirtsou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggirtsou/subscriptions","organizations_url":"https://api.github.com/users/ggirtsou/orgs","repos_url":"https://api.github.com/users/ggirtsou/repos","events_url":"https://api.github.com/users/ggirtsou/events{/privacy}","received_events_url":"https://api.github.com/users/ggirtsou/received_events","type":"User","site_admin":false},"labels":[{"id":471275908,"url":"https://api.github.com/repos/go-hermes/go-hermes/labels/agent","name":"agent","color":"1d76db","default":false},{"id":471256468,"url":"https://api.github.com/repos/go-hermes/go-hermes/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-29T18:33:39Z","updated_at":"2016-11-01T08:20:04Z","closed_at":"2016-11-01T08:20:04Z","body":"Consider the following example: User installs an agent on remote host, sets an `interval` value of `10` seconds and then through our dashboard wants to increase the `interval` for that specific server to `20` seconds.\n\nThat can be achieved in two ways:\n- Have agent query our API to download new configuration value for interval every 5 minutes, or any other values that might be needed in the future, or\n- Have our endpoint try to connect to 3rd party host and try to connect on a special port.\n\nHmm, option 2 is not viable at all as there are many issues:\n- 3rd party host might have that port blocked\n- We're exposing a 3rd party host and someone could take advantage of it and change the configuration if not properly secured.\n- 3rd party host might be behind a private subnet, and bastion host won't understand the request and configuration will never be updated.\n"}}
{"actor":{"display_login":"ggirtsou"}}