{"action":"closed","issue":{"url":"https://api.github.com/repos/Icinga/icinga2/issues/6406","repository_url":"https://api.github.com/repos/Icinga/icinga2","labels_url":"https://api.github.com/repos/Icinga/icinga2/issues/6406/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icinga2/issues/6406/comments","events_url":"https://api.github.com/repos/Icinga/icinga2/issues/6406/events","html_url":"https://github.com/Icinga/icinga2/issues/6406","id":334832857,"node_id":"MDU6SXNzdWUzMzQ4MzI4NTc=","number":6406,"title":"windows-uptime plugin - perfdata non guideline conform output","user":{"login":"Gammenon","id":34088644,"node_id":"MDQ6VXNlcjM0MDg4NjQ0","avatar_url":"https://avatars3.githubusercontent.com/u/34088644?v=4","gravatar_id":"","url":"https://api.github.com/users/Gammenon","html_url":"https://github.com/Gammenon","followers_url":"https://api.github.com/users/Gammenon/followers","following_url":"https://api.github.com/users/Gammenon/following{/other_user}","gists_url":"https://api.github.com/users/Gammenon/gists{/gist_id}","starred_url":"https://api.github.com/users/Gammenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gammenon/subscriptions","organizations_url":"https://api.github.com/users/Gammenon/orgs","repos_url":"https://api.github.com/users/Gammenon/repos","events_url":"https://api.github.com/users/Gammenon/events{/privacy}","received_events_url":"https://api.github.com/users/Gammenon/received_events","type":"User","site_admin":false},"labels":[{"id":526396823,"node_id":"MDU6TGFiZWw1MjYzOTY4MjM=","url":"https://api.github.com/repos/Icinga/icinga2/labels/Windows","name":"Windows","color":"1d76ee","default":false},{"id":54043337,"node_id":"MDU6TGFiZWw1NDA0MzMzNw==","url":"https://api.github.com/repos/Icinga/icinga2/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"mcktr","id":18580278,"node_id":"MDQ6VXNlcjE4NTgwMjc4","avatar_url":"https://avatars2.githubusercontent.com/u/18580278?v=4","gravatar_id":"","url":"https://api.github.com/users/mcktr","html_url":"https://github.com/mcktr","followers_url":"https://api.github.com/users/mcktr/followers","following_url":"https://api.github.com/users/mcktr/following{/other_user}","gists_url":"https://api.github.com/users/mcktr/gists{/gist_id}","starred_url":"https://api.github.com/users/mcktr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcktr/subscriptions","organizations_url":"https://api.github.com/users/mcktr/orgs","repos_url":"https://api.github.com/users/mcktr/repos","events_url":"https://api.github.com/users/mcktr/events{/privacy}","received_events_url":"https://api.github.com/users/mcktr/received_events","type":"User","site_admin":false},"assignees":[{"login":"mcktr","id":18580278,"node_id":"MDQ6VXNlcjE4NTgwMjc4","avatar_url":"https://avatars2.githubusercontent.com/u/18580278?v=4","gravatar_id":"","url":"https://api.github.com/users/mcktr","html_url":"https://github.com/mcktr","followers_url":"https://api.github.com/users/mcktr/followers","following_url":"https://api.github.com/users/mcktr/following{/other_user}","gists_url":"https://api.github.com/users/mcktr/gists{/gist_id}","starred_url":"https://api.github.com/users/mcktr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcktr/subscriptions","organizations_url":"https://api.github.com/users/mcktr/orgs","repos_url":"https://api.github.com/users/mcktr/repos","events_url":"https://api.github.com/users/mcktr/events{/privacy}","received_events_url":"https://api.github.com/users/mcktr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-06-22T10:45:03Z","updated_at":"2018-06-26T12:09:31Z","closed_at":"2018-06-26T12:09:31Z","author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n<!-- If you are reporting a problem or a bug, please ensure to read https://github.com/Icinga/icinga2/blob/master/doc/15-troubleshooting.md first. -->\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\nobject Host \"myhost\" {\r\n  ...\r\n}\r\n```\r\n-->\r\n\r\n## Expected Behavior\r\nthe plugin perfdata output should be usable for graphing with e.g. graphite.\r\nIn my case no graph is generated. With other plugins the behavior is like expected.\r\n\r\n## Current Behavior\r\nIf the -u parameter is used, in my case to set the unit to \"hour\", an 'h' is append to the perfdata current value. No graph is available.\r\n\r\n> \"c:\\Program Files\\ICINGA2\\sbin\\check_uptime.exe\" -c 840 -u h -w 768\r\nUPTIME OK 352**h** | uptime=352h;768;840;0;\r\n\r\n## Possible Solution\r\nI think the reason for this could be, that graphite isn't able to generate a graph because the 'h' can't be handled. According to the Monitoring Plugin Guidelines the 'h' is not one of the UOM (unit of measurement)\r\n\r\n## Steps to Reproduce (for bugs)\r\nUse the plugin with the default command object an these parameters\r\nuptime_win_crit: \"840\", uptime_win_unit: \"h\", uptime_win_warn: \"768\"\r\n\r\n\r\n## Context\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the problem in -->\r\n* Version used (`icinga2 --version`): v2.8.4\r\n* Operating System and version: Windows Server 2008r2 (agent) centos7 (server)\r\n* Icinga Web 2 version and modules (System - About): 2.5.3 / graphite 1.0.1 / \r\n* Config validation (`icinga2 daemon -C`):\r\n* If you run multiple Icinga 2 instances, the `zones.conf` file (or `icinga2 object list --type Endpoint` and `icinga2 object list --type Zone`) from all affected nodes.\r\n\r\n"}}
{"actor":{"display_login":"dnsmichi"}}