{"action":"opened","issue":{"url":"https://api.github.com/repos/naparuba/shinken/issues/1580","labels_url":"https://api.github.com/repos/naparuba/shinken/issues/1580/labels{/name}","comments_url":"https://api.github.com/repos/naparuba/shinken/issues/1580/comments","events_url":"https://api.github.com/repos/naparuba/shinken/issues/1580/events","html_url":"https://github.com/naparuba/shinken/issues/1580","id":70059735,"number":1580,"title":"Feature request : enable/disable macros by module","user":{"login":"SLoeuillet","id":6066787,"avatar_url":"https://avatars.githubusercontent.com/u/6066787?v=3","gravatar_id":"","url":"https://api.github.com/users/SLoeuillet","html_url":"https://github.com/SLoeuillet","followers_url":"https://api.github.com/users/SLoeuillet/followers","following_url":"https://api.github.com/users/SLoeuillet/following{/other_user}","gists_url":"https://api.github.com/users/SLoeuillet/gists{/gist_id}","starred_url":"https://api.github.com/users/SLoeuillet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SLoeuillet/subscriptions","organizations_url":"https://api.github.com/users/SLoeuillet/orgs","repos_url":"https://api.github.com/users/SLoeuillet/repos","events_url":"https://api.github.com/users/SLoeuillet/events{/privacy}","received_events_url":"https://api.github.com/users/SLoeuillet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-22T08:33:22Z","updated_at":"2015-04-22T08:33:22Z","closed_at":null,"body":"In main /etc/shinken/shinken.cfg file, I've got this :\r\n# Disabling env macros is good for performances. If you really need it, enable it.\r\nenable_environment_macros=0\r\n\r\nI need them for reactioner (for notification script) but don't want to kill performance on poller which calls every checks and so forks a lot of shells\r\n\r\nCould this macro be moved to every module/daemon so that it could be enabled for one and not for another ?"}}