{"action":"created","issue":{"url":"https://api.github.com/repos/naparuba/shinken/issues/1700","labels_url":"https://api.github.com/repos/naparuba/shinken/issues/1700/labels{/name}","comments_url":"https://api.github.com/repos/naparuba/shinken/issues/1700/comments","events_url":"https://api.github.com/repos/naparuba/shinken/issues/1700/events","html_url":"https://github.com/naparuba/shinken/issues/1700","id":102885240,"number":1700,"title":"$KEY$ not replaced in thruk","user":{"login":"h4wkmoon","id":1503194,"avatar_url":"https://avatars.githubusercontent.com/u/1503194?v=3","gravatar_id":"","url":"https://api.github.com/users/h4wkmoon","html_url":"https://github.com/h4wkmoon","followers_url":"https://api.github.com/users/h4wkmoon/followers","following_url":"https://api.github.com/users/h4wkmoon/following{/other_user}","gists_url":"https://api.github.com/users/h4wkmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/h4wkmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h4wkmoon/subscriptions","organizations_url":"https://api.github.com/users/h4wkmoon/orgs","repos_url":"https://api.github.com/users/h4wkmoon/repos","events_url":"https://api.github.com/users/h4wkmoon/events{/privacy}","received_events_url":"https://api.github.com/users/h4wkmoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-24T20:33:39Z","updated_at":"2015-08-24T20:39:21Z","closed_at":null,"body":"Hi, \r\n\r\nI'm using thruk 2, with shinken 2.4.\r\nI have a service definied like this : \r\n\r\ndefine service{\r\n\t        process_perf_data        0\r\n                icon_image 171px-Logo_der_Software_collectd.svg.png\r\n\r\n\r\n   service_description    PROC $KEY$\r\n   use            \t  generic-service\r\n   register       \t  0\r\n   host_name\t  \t  collectd\r\n   check_command          check_process_collectd_list!$KEY$\r\n   duplicate_foreach\t  _processes\r\n}\r\n\r\nIn the \"services\" view in Thruk, I can still see $KEY$ instead of the values.\r\nIt becomes even weirder when I check the configuration view. In this view, every thing is fine. The $KEY$ are replaced by the values.\r\n\r\nI don't think this is a thruk issue because only asks the livestatus module for info. It's not supposed to know that the service is an exploded version of the \"duplicate_foreach\" template.\r\n\r\nI'll have a look into the module to see if I find something.\r\n\r\nThis is somehow a regression. I'm sure it worked correctly a few months ago, with shinken 2.1."},"comment":{"url":"https://api.github.com/repos/naparuba/shinken/issues/comments/134373005","html_url":"https://github.com/naparuba/shinken/issues/1700#issuecomment-134373005","issue_url":"https://api.github.com/repos/naparuba/shinken/issues/1700","id":134373005,"user":{"login":"h4wkmoon","id":1503194,"avatar_url":"https://avatars.githubusercontent.com/u/1503194?v=3","gravatar_id":"","url":"https://api.github.com/users/h4wkmoon","html_url":"https://github.com/h4wkmoon","followers_url":"https://api.github.com/users/h4wkmoon/followers","following_url":"https://api.github.com/users/h4wkmoon/following{/other_user}","gists_url":"https://api.github.com/users/h4wkmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/h4wkmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h4wkmoon/subscriptions","organizations_url":"https://api.github.com/users/h4wkmoon/orgs","repos_url":"https://api.github.com/users/h4wkmoon/repos","events_url":"https://api.github.com/users/h4wkmoon/events{/privacy}","received_events_url":"https://api.github.com/users/h4wkmoon/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T20:39:20Z","updated_at":"2015-08-24T20:39:20Z","body":"Found it.\r\nThis issue is that Thruk displays the display_name.\r\nThis prop is not handled by duplicate_for_each.\r\nI'm about to make a PR."}}