{"action":"created","issue":{"url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/365","labels_url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/365/comments","events_url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/365/events","html_url":"https://github.com/shinken-monitoring/mod-webui/issues/365","id":108116739,"number":365,"title":"Worldmap - Hosts with GPS coordinates in template","user":{"login":"rhblind","id":1574295,"avatar_url":"https://avatars.githubusercontent.com/u/1574295?v=3","gravatar_id":"","url":"https://api.github.com/users/rhblind","html_url":"https://github.com/rhblind","followers_url":"https://api.github.com/users/rhblind/followers","following_url":"https://api.github.com/users/rhblind/following{/other_user}","gists_url":"https://api.github.com/users/rhblind/gists{/gist_id}","starred_url":"https://api.github.com/users/rhblind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhblind/subscriptions","organizations_url":"https://api.github.com/users/rhblind/orgs","repos_url":"https://api.github.com/users/rhblind/repos","events_url":"https://api.github.com/users/rhblind/events{/privacy}","received_events_url":"https://api.github.com/users/rhblind/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-24T11:59:55Z","updated_at":"2015-09-24T12:28:44Z","closed_at":"2015-09-24T12:17:21Z","body":"Hi,\r\n\r\nI'm trying to display my different EC2 hosts on the worldmap plugin and have created a few host templates like this.\r\n\r\n```\r\ndefine host {\r\n    name                eu-central-1a\r\n    alias               eu-central-1a\r\n    _LOC_LAT            51.739402\r\n    _LOC_LNG            9.514163\r\n    register            0\r\n}\r\n```\r\n\r\nNext in my host definition, I'll use the template like this:\r\n```\r\ndefine host {\r\n    host_name                  localhost\r\n    use                        generic-host,eu-west-1a\r\n    hostgroups                 linux\r\n    contact_groups             admins\r\n    ...\r\n```\r\nBut the map plugin does not seem to pick up the `_LOC_LAT`and `_LOC_LNG` from the host template. Is this expected behaviour, or have I missed something?\r\n\r\n(I tried adding the `_LOC_LAT` and `_LOC_LNG` directly in the host, but couldn't get it to load there either).\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/comments/142914484","html_url":"https://github.com/shinken-monitoring/mod-webui/issues/365#issuecomment-142914484","issue_url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/365","id":142914484,"user":{"login":"rhblind","id":1574295,"avatar_url":"https://avatars.githubusercontent.com/u/1574295?v=3","gravatar_id":"","url":"https://api.github.com/users/rhblind","html_url":"https://github.com/rhblind","followers_url":"https://api.github.com/users/rhblind/followers","following_url":"https://api.github.com/users/rhblind/following{/other_user}","gists_url":"https://api.github.com/users/rhblind/gists{/gist_id}","starred_url":"https://api.github.com/users/rhblind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhblind/subscriptions","organizations_url":"https://api.github.com/users/rhblind/orgs","repos_url":"https://api.github.com/users/rhblind/repos","events_url":"https://api.github.com/users/rhblind/events{/privacy}","received_events_url":"https://api.github.com/users/rhblind/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T12:28:44Z","updated_at":"2015-09-24T12:28:44Z","body":"Ops, FYI I just didn't rebuild my docker container properly. It works as it should now ;)"}}