{"action":"closed","issue":{"url":"https://api.github.com/repos/Icinga/icingaweb2-module-graphite/issues/125","repository_url":"https://api.github.com/repos/Icinga/icingaweb2-module-graphite","labels_url":"https://api.github.com/repos/Icinga/icingaweb2-module-graphite/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icingaweb2-module-graphite/issues/125/comments","events_url":"https://api.github.com/repos/Icinga/icingaweb2-module-graphite/issues/125/events","html_url":"https://github.com/Icinga/icingaweb2-module-graphite/issues/125","id":293491487,"number":125,"title":"Inserts -dummy in URL - and scaling of graph","user":{"login":"avik78","id":31733582,"avatar_url":"https://avatars1.githubusercontent.com/u/31733582?v=4","gravatar_id":"","url":"https://api.github.com/users/avik78","html_url":"https://github.com/avik78","followers_url":"https://api.github.com/users/avik78/followers","following_url":"https://api.github.com/users/avik78/following{/other_user}","gists_url":"https://api.github.com/users/avik78/gists{/gist_id}","starred_url":"https://api.github.com/users/avik78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avik78/subscriptions","organizations_url":"https://api.github.com/users/avik78/orgs","repos_url":"https://api.github.com/users/avik78/repos","events_url":"https://api.github.com/users/avik78/events{/privacy}","received_events_url":"https://api.github.com/users/avik78/received_events","type":"User","site_admin":false},"labels":[{"id":743481032,"url":"https://api.github.com/repos/Icinga/icingaweb2-module-graphite/labels/feedback","name":"feedback","color":"cfdb64","default":false}],"state":"closed","locked":false,"assignee":{"login":"avik78","id":31733582,"avatar_url":"https://avatars1.githubusercontent.com/u/31733582?v=4","gravatar_id":"","url":"https://api.github.com/users/avik78","html_url":"https://github.com/avik78","followers_url":"https://api.github.com/users/avik78/followers","following_url":"https://api.github.com/users/avik78/following{/other_user}","gists_url":"https://api.github.com/users/avik78/gists{/gist_id}","starred_url":"https://api.github.com/users/avik78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avik78/subscriptions","organizations_url":"https://api.github.com/users/avik78/orgs","repos_url":"https://api.github.com/users/avik78/repos","events_url":"https://api.github.com/users/avik78/events{/privacy}","received_events_url":"https://api.github.com/users/avik78/received_events","type":"User","site_admin":false},"assignees":[{"login":"avik78","id":31733582,"avatar_url":"https://avatars1.githubusercontent.com/u/31733582?v=4","gravatar_id":"","url":"https://api.github.com/users/avik78","html_url":"https://github.com/avik78","followers_url":"https://api.github.com/users/avik78/followers","following_url":"https://api.github.com/users/avik78/following{/other_user}","gists_url":"https://api.github.com/users/avik78/gists{/gist_id}","starred_url":"https://api.github.com/users/avik78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avik78/subscriptions","organizations_url":"https://api.github.com/users/avik78/orgs","repos_url":"https://api.github.com/users/avik78/repos","events_url":"https://api.github.com/users/avik78/events{/privacy}","received_events_url":"https://api.github.com/users/avik78/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-02-01T11:14:19Z","updated_at":"2018-02-07T13:23:47Z","closed_at":"2018-02-07T13:23:47Z","author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n<!-- Formatting tips:\r\n\r\nGitHub supports Markdown: https://guides.github.com/features/mastering-markdown/\r\nMulti-line code blocks either with three back ticks, or four space indent.\r\n\r\n```\r\nStacktrace ...\r\n<line>\r\n<line>\r\n```\r\n-->\r\n\r\n## Expected Behavior\r\nI have set this in config.ini\r\n\r\n[graphite]\r\nurl = \"http://myhostname:8000/\"\r\n\r\nAnd I would expect it to show the graph normally\r\n\r\n\r\n## Current Behavior\r\nBut it inserts a \"graph-dummy\" in the URL, so the picture is empty \r\n\r\nhttp://myhostname/icingaweb2/graphite/graph-dummy/\r\n\r\nIf I edit /usr/share/icingaweb2/modules/graphite/library/Graphite/Web/Widget/Graphs/Service.php\r\n\r\nAnd change the function protected function getDummyImageBaseUrl()\r\nfrom\r\n        return Url::fromPath('graphite/graph-dummy/service');\r\n\r\nto:\r\n        return Url::fromPath('graphite/graph/service');\r\n\r\nit looks good, but I have no idea what the purpose of the -dummy is.\r\n\r\nAlso - when I remove \"-dummy\", the graph comes up, but it tries to scale the photo, so when using a wide screen, the letters/numbers gets a bit messed up.\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the problem in -->\r\n* Module version (System - About): 0.9.0\r\n* Icinga Web 2 version and modules (System - About): 2.5.1\r\n* Icinga 2 version (`icinga2 --version`): r2.8.1-1\r\n* Operating System and version: Ubuntu 16.04\r\n* Webserver, PHP versions: apache2-2.4.18-2ubuntu3.5/PHP7.1\r\n\r\n"}}
{"actor":{"display_login":"bobapple"}}