{"action":"created","issue":{"url":"https://api.github.com/repos/HenriWahl/Nagstamon/issues/202","repository_url":"https://api.github.com/repos/HenriWahl/Nagstamon","labels_url":"https://api.github.com/repos/HenriWahl/Nagstamon/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/HenriWahl/Nagstamon/issues/202/comments","events_url":"https://api.github.com/repos/HenriWahl/Nagstamon/issues/202/events","html_url":"https://github.com/HenriWahl/Nagstamon/pull/202","id":136913967,"number":202,"title":"Initial implementation for IcingaWeb2 server class","user":{"login":"minibbjd","id":4116602,"avatar_url":"https://avatars.githubusercontent.com/u/4116602?v=3","gravatar_id":"","url":"https://api.github.com/users/minibbjd","html_url":"https://github.com/minibbjd","followers_url":"https://api.github.com/users/minibbjd/followers","following_url":"https://api.github.com/users/minibbjd/following{/other_user}","gists_url":"https://api.github.com/users/minibbjd/gists{/gist_id}","starred_url":"https://api.github.com/users/minibbjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minibbjd/subscriptions","organizations_url":"https://api.github.com/users/minibbjd/orgs","repos_url":"https://api.github.com/users/minibbjd/repos","events_url":"https://api.github.com/users/minibbjd/events{/privacy}","received_events_url":"https://api.github.com/users/minibbjd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":49,"created_at":"2016-02-27T12:37:30Z","updated_at":"2016-03-02T19:48:43Z","closed_at":"2016-02-29T09:31:37Z","pull_request":{"url":"https://api.github.com/repos/HenriWahl/Nagstamon/pulls/202","html_url":"https://github.com/HenriWahl/Nagstamon/pull/202","diff_url":"https://github.com/HenriWahl/Nagstamon/pull/202.diff","patch_url":"https://github.com/HenriWahl/Nagstamon/pull/202.patch"},"body":"The IcingaWeb2 REST API is not (fully) implemented yet, so currently this implementation is limited to \"view only\". Once https://dev.icinga.org/issues/9606 and/or https://dev.icinga.org/issues/7300 get implemented, the action part(schedule downtime, acknowledge, etc.) can be implemented in this class.\r\n\r\nMost changes are in the new server class file Nagstamon/Servers/IcingaWeb2.py.\r\n\r\nI've also changed  Nagstamon/QUI/__init__.py so that it only the context menu elements are shown that are set in server.MENU_ACTIONS. This might need checking if the variable is set correctly in all other server classes.\r\n"},"comment":{"url":"https://api.github.com/repos/HenriWahl/Nagstamon/issues/comments/191396412","html_url":"https://github.com/HenriWahl/Nagstamon/pull/202#issuecomment-191396412","issue_url":"https://api.github.com/repos/HenriWahl/Nagstamon/issues/202","id":191396412,"user":{"login":"HenriWahl","id":2835065,"avatar_url":"https://avatars.githubusercontent.com/u/2835065?v=3","gravatar_id":"","url":"https://api.github.com/users/HenriWahl","html_url":"https://github.com/HenriWahl","followers_url":"https://api.github.com/users/HenriWahl/followers","following_url":"https://api.github.com/users/HenriWahl/following{/other_user}","gists_url":"https://api.github.com/users/HenriWahl/gists{/gist_id}","starred_url":"https://api.github.com/users/HenriWahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HenriWahl/subscriptions","organizations_url":"https://api.github.com/users/HenriWahl/orgs","repos_url":"https://api.github.com/users/HenriWahl/repos","events_url":"https://api.github.com/users/HenriWahl/events{/privacy}","received_events_url":"https://api.github.com/users/HenriWahl/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T19:48:43Z","updated_at":"2016-03-02T19:48:43Z","body":"OK I'll do the typecasting.\r\nFor the filter let's, see, I would like to make the basics of Icinga work first. There was somewhen a feature request about server-specific filters, maybe this would be a good place then.\r\nDid you try to trigger some action when logged in? Did not work for me :-("}}