{"action":"created","issue":{"url":"https://api.github.com/repos/glensc/monitoring-plugin-check_domain/issues/60","repository_url":"https://api.github.com/repos/glensc/monitoring-plugin-check_domain","labels_url":"https://api.github.com/repos/glensc/monitoring-plugin-check_domain/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/glensc/monitoring-plugin-check_domain/issues/60/comments","events_url":"https://api.github.com/repos/glensc/monitoring-plugin-check_domain/issues/60/events","html_url":"https://github.com/glensc/monitoring-plugin-check_domain/pull/60","id":160348583,"number":60,"title":"Add code to trim the hostname to leave only the domain part","user":{"login":"aseques","id":555542,"avatar_url":"https://avatars.githubusercontent.com/u/555542?v=3","gravatar_id":"","url":"https://api.github.com/users/aseques","html_url":"https://github.com/aseques","followers_url":"https://api.github.com/users/aseques/followers","following_url":"https://api.github.com/users/aseques/following{/other_user}","gists_url":"https://api.github.com/users/aseques/gists{/gist_id}","starred_url":"https://api.github.com/users/aseques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aseques/subscriptions","organizations_url":"https://api.github.com/users/aseques/orgs","repos_url":"https://api.github.com/users/aseques/repos","events_url":"https://api.github.com/users/aseques/events{/privacy}","received_events_url":"https://api.github.com/users/aseques/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T06:37:24Z","updated_at":"2016-06-15T17:04:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/glensc/monitoring-plugin-check_domain/pulls/60","html_url":"https://github.com/glensc/monitoring-plugin-check_domain/pull/60","diff_url":"https://github.com/glensc/monitoring-plugin-check_domain/pull/60.diff","patch_url":"https://github.com/glensc/monitoring-plugin-check_domain/pull/60.patch"},"body":"In my checks I use full domain names (ie. www.google.com instead of google.com), because I am also doing certificate expiration checks.\r\nSo I created a small patch that downloads the whole tld list from https://publicsuffix.org/list/public_suffix_list.dat (cached download), and used it to extract the domain part from any hostname.\r\nI am using it as is, but I can modify it to be optional if you'd like to integrate it"},"comment":{"url":"https://api.github.com/repos/glensc/monitoring-plugin-check_domain/issues/comments/226252765","html_url":"https://github.com/glensc/monitoring-plugin-check_domain/pull/60#issuecomment-226252765","issue_url":"https://api.github.com/repos/glensc/monitoring-plugin-check_domain/issues/60","id":226252765,"user":{"login":"glensc","id":199095,"avatar_url":"https://avatars.githubusercontent.com/u/199095?v=3","gravatar_id":"","url":"https://api.github.com/users/glensc","html_url":"https://github.com/glensc","followers_url":"https://api.github.com/users/glensc/followers","following_url":"https://api.github.com/users/glensc/following{/other_user}","gists_url":"https://api.github.com/users/glensc/gists{/gist_id}","starred_url":"https://api.github.com/users/glensc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glensc/subscriptions","organizations_url":"https://api.github.com/users/glensc/orgs","repos_url":"https://api.github.com/users/glensc/repos","events_url":"https://api.github.com/users/glensc/events{/privacy}","received_events_url":"https://api.github.com/users/glensc/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T17:04:41Z","updated_at":"2016-06-15T17:04:41Z","body":"needs rebase against master.\r\n\r\nbut have to think how this does fit to this plugin..."}}
{"actor":{"display_login":"glensc"}}