{"action":"opened","issue":{"url":"https://api.github.com/repos/Icinga/icingaweb2-module-director/issues/1378","repository_url":"https://api.github.com/repos/Icinga/icingaweb2-module-director","labels_url":"https://api.github.com/repos/Icinga/icingaweb2-module-director/issues/1378/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icingaweb2-module-director/issues/1378/comments","events_url":"https://api.github.com/repos/Icinga/icingaweb2-module-director/issues/1378/events","html_url":"https://github.com/Icinga/icingaweb2-module-director/issues/1378","id":293447972,"number":1378,"title":"Allow to create deactivated Hosts via Self-Service-API","user":{"login":"widhalmt","id":504849,"avatar_url":"https://avatars1.githubusercontent.com/u/504849?v=4","gravatar_id":"","url":"https://api.github.com/users/widhalmt","html_url":"https://github.com/widhalmt","followers_url":"https://api.github.com/users/widhalmt/followers","following_url":"https://api.github.com/users/widhalmt/following{/other_user}","gists_url":"https://api.github.com/users/widhalmt/gists{/gist_id}","starred_url":"https://api.github.com/users/widhalmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widhalmt/subscriptions","organizations_url":"https://api.github.com/users/widhalmt/orgs","repos_url":"https://api.github.com/users/widhalmt/repos","events_url":"https://api.github.com/users/widhalmt/events{/privacy}","received_events_url":"https://api.github.com/users/widhalmt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-01T08:49:43Z","updated_at":"2018-02-01T08:49:43Z","closed_at":null,"author_association":"MEMBER","body":"Hi,\r\n\r\nA customer of mine is using staged setups for their windows hosts. They are deploying hosts and using the Icinga 2 Powershell Module to create the host objects in Director via Self Service API. The problem is that the hosts are not fully set up and would produce false alarms when Icinga 2 started monitoring right away after the setup (and deploy). This is mostly due to several reboots which won't be scheduled as downtimes.\r\n\r\nDue to the mass of special systems they are using they don't want to use many different Self Service API Keys but use a \"catchall\" key to add the key only to a very basic template and change the imports when setup is done.\r\n\r\nI opened Issue Icinga/icinga2-powershell-module#71 to allow the creation of disabled host objects via the Powershell Module but learned that the Self Service API won't allow adding disabled hosts.\r\n\r\nSo long story short: Could you add a way to add disabled (in Director) objects via the Self-Service API?\r\n\r\nCheers,\r\nThomas"}}
{"actor":{"display_login":"widhalmt"}}