{"action":"created","issue":{"url":"https://api.github.com/repos/jjethwa/icinga2/issues/41","repository_url":"https://api.github.com/repos/jjethwa/icinga2","labels_url":"https://api.github.com/repos/jjethwa/icinga2/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/jjethwa/icinga2/issues/41/comments","events_url":"https://api.github.com/repos/jjethwa/icinga2/issues/41/events","html_url":"https://github.com/jjethwa/icinga2/issues/41","id":164534267,"number":41,"title":"Encoding in the last version of Icinga","user":{"login":"Quentinvarquet","id":7962157,"avatar_url":"https://avatars.githubusercontent.com/u/7962157?v=3","gravatar_id":"","url":"https://api.github.com/users/Quentinvarquet","html_url":"https://github.com/Quentinvarquet","followers_url":"https://api.github.com/users/Quentinvarquet/followers","following_url":"https://api.github.com/users/Quentinvarquet/following{/other_user}","gists_url":"https://api.github.com/users/Quentinvarquet/gists{/gist_id}","starred_url":"https://api.github.com/users/Quentinvarquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quentinvarquet/subscriptions","organizations_url":"https://api.github.com/users/Quentinvarquet/orgs","repos_url":"https://api.github.com/users/Quentinvarquet/repos","events_url":"https://api.github.com/users/Quentinvarquet/events{/privacy}","received_events_url":"https://api.github.com/users/Quentinvarquet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-08T13:45:43Z","updated_at":"2016-07-11T14:07:49Z","closed_at":null,"body":"Hello ! :-) \r\n\r\nI updated all my icinga2 production container.\r\n\r\nBut do you know if someting changed with the encoding ? I have many problems because of this.\r\n\r\nFor example, my icinga container has some services  and they check files.\r\n\r\nFor example my service will do \"rm /data/dump/my-file.conf\"\r\n\r\nIcinga2 is telling me the file doesn't exist but I if I do the command by myself it works.\r\n\r\nSo I checked the command from Icinga. The command is exactly the same as I did manually.\r\n\r\n**manually :** rm /data/dump/my-file.conf     -> It work's\r\n**Icinga2 :** rm /data/dump/my-file.conf     -> my-file.conf  No such file or directory\r\n\r\nSo I just did a echo **my-file.conf | od -x -c** and here is what I got.\r\n\r\nFor my manually command, the out put is :  \r\n\r\n\r\n```\r\necho my-file.conf | od -x -c\r\n0000000    796d    662d    6c69    2e65    6f63    666e    000a\r\n          m   y   -   f   i   l   e   .   c   o   n   f  \\n\r\n0000015\r\n```\r\n\r\nSo it's fine.\r\n\r\nFrom the Icinga2 command \r\n\r\n```\r\necho my-file.conf | od -x -c\r\n0000000    796d    e22d    8b80    6966    656c    e22e    8b80    6f63\r\n          m   y   - 342 200 213   f   i   l   e   . 342 200 213   c   o\r\n0000020    666e    000a\r\n          n   f  \\n\r\n0000023\r\n\r\n```\r\n\r\nWe can see I have a big problem with the command from Icinga, the encoding is not good at all.\r\n\r\nDo you have any information about this ? Someting changed with the last version ? \r\n\r\nAlso, everything are working with the command \" by_ssh \". And it look like the encoding problem is from this command...\r\n\r\nThank you ! \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jjethwa/icinga2/issues/comments/231744838","html_url":"https://github.com/jjethwa/icinga2/issues/41#issuecomment-231744838","issue_url":"https://api.github.com/repos/jjethwa/icinga2/issues/41","id":231744838,"user":{"login":"lippser","id":1894563,"avatar_url":"https://avatars.githubusercontent.com/u/1894563?v=3","gravatar_id":"","url":"https://api.github.com/users/lippser","html_url":"https://github.com/lippser","followers_url":"https://api.github.com/users/lippser/followers","following_url":"https://api.github.com/users/lippser/following{/other_user}","gists_url":"https://api.github.com/users/lippser/gists{/gist_id}","starred_url":"https://api.github.com/users/lippser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lippser/subscriptions","organizations_url":"https://api.github.com/users/lippser/orgs","repos_url":"https://api.github.com/users/lippser/repos","events_url":"https://api.github.com/users/lippser/events{/privacy}","received_events_url":"https://api.github.com/users/lippser/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T14:07:48Z","updated_at":"2016-07-11T14:07:48Z","body":"Hi,\r\n\r\nThis is a Web 2 issue. The plugin output HTML contains invisible zero width space characters. This helps browsers to \"nicely\" break lines but screws copy and paste unfortunately. Could you please open an issue for Web 2 at dev.icinga.org? I'll then try to fix this asap.\r\n\r\nBest regards,\r\nEric"}}
{"actor":{"display_login":"lippser"}}