{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/33391902","id":33391902,"diff_hunk":"@@ -0,0 +1,176 @@\n+#!/usr/bin/python\n+# This file is part of Ansible\n+#\n+# Ansible is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# Ansible is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with Ansible.  If not, see <http://www.gnu.org/licenses/>.\n+\n+# This is a DOCUMENTATION stub specific to this module, it extends\n+# a documentation fragment located in ansible.utils.module_docs_fragments\n+DOCUMENTATION = '''\n+---\n+module: rax_mon_notification\n+short_description: Create or delete a Rackspace Cloud Monitoring notification.\n+description:\n+- Create or delete a Rackspace Cloud Monitoring notification that specifies a\n+  channel that can be used to communicate alarms, such as email, webhooks, or\n+  PagerDuty. Rackspace monitoring module flow | rax_mon_entity -> rax_mon_check ->\n+  *rax_mon_notification* -> rax_mon_notification_plan -> rax_mon_alarm\n+version_added: \"1.9\"","path":"cloud/rackspace/rax_mon_notification.py","position":28,"original_position":28,"commit_id":"c0549335135e33f1cbd49575e8e7428647a06e28","original_commit_id":"c0549335135e33f1cbd49575e8e7428647a06e28","user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"body":"added in 2.0","created_at":"2015-06-26T20:19:14Z","updated_at":"2015-06-26T20:19:14Z","html_url":"https://github.com/ansible/ansible-modules-extras/pull/260#discussion_r33391902","pull_request_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/260","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/33391902"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/260#discussion_r33391902"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/260"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/260","id":29288573,"html_url":"https://github.com/ansible/ansible-modules-extras/pull/260","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/260.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/260.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/260","number":260,"state":"closed","locked":false,"title":"Rackspace Cloud Monitoring modules","user":{"login":"smashwilson","id":17565,"avatar_url":"https://avatars.githubusercontent.com/u/17565?v=3","gravatar_id":"","url":"https://api.github.com/users/smashwilson","html_url":"https://github.com/smashwilson","followers_url":"https://api.github.com/users/smashwilson/followers","following_url":"https://api.github.com/users/smashwilson/following{/other_user}","gists_url":"https://api.github.com/users/smashwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/smashwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashwilson/subscriptions","organizations_url":"https://api.github.com/users/smashwilson/orgs","repos_url":"https://api.github.com/users/smashwilson/repos","events_url":"https://api.github.com/users/smashwilson/events{/privacy}","received_events_url":"https://api.github.com/users/smashwilson/received_events","type":"User","site_admin":false},"body":"These modules implement full support for manual configuration of Rackspace Cloud Monitoring. There is a [Galaxy role](https://galaxy.ansible.com/list#/roles/855) that configures the on-host monitoring agent via configuration file, but it's insufficient for the fairly common case of monitoring a load balancer.\r\n\r\nI've also put together a [sample playbook](https://gist.github.com/smashwilson/870815a1a10d56b4e4a5) that demonstrates the way these modules interact.\r\n\r\nResubmitted by popular request from ansible/ansible#7987.\r\n\r\n/cc @git-harry, @claco, @sivel","created_at":"2015-02-13T18:46:45Z","updated_at":"2015-06-26T20:19:14Z","closed_at":"2015-06-23T19:10:34Z","merged_at":"2015-06-23T19:10:34Z","merge_commit_sha":"dcd923431ae997de11995f3cb2f2670f6e4e0db7","assignee":{"login":"sivel","id":39340,"avatar_url":"https://avatars.githubusercontent.com/u/39340?v=3","gravatar_id":"","url":"https://api.github.com/users/sivel","html_url":"https://github.com/sivel","followers_url":"https://api.github.com/users/sivel/followers","following_url":"https://api.github.com/users/sivel/following{/other_user}","gists_url":"https://api.github.com/users/sivel/gists{/gist_id}","starred_url":"https://api.github.com/users/sivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sivel/subscriptions","organizations_url":"https://api.github.com/users/sivel/orgs","repos_url":"https://api.github.com/users/sivel/repos","events_url":"https://api.github.com/users/sivel/events{/privacy}","received_events_url":"https://api.github.com/users/sivel/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/260/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/260/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/260/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/c0549335135e33f1cbd49575e8e7428647a06e28","head":{"label":"smashwilson:rax_mon","ref":"rax_mon","sha":"c0549335135e33f1cbd49575e8e7428647a06e28","user":{"login":"smashwilson","id":17565,"avatar_url":"https://avatars.githubusercontent.com/u/17565?v=3","gravatar_id":"","url":"https://api.github.com/users/smashwilson","html_url":"https://github.com/smashwilson","followers_url":"https://api.github.com/users/smashwilson/followers","following_url":"https://api.github.com/users/smashwilson/following{/other_user}","gists_url":"https://api.github.com/users/smashwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/smashwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashwilson/subscriptions","organizations_url":"https://api.github.com/users/smashwilson/orgs","repos_url":"https://api.github.com/users/smashwilson/repos","events_url":"https://api.github.com/users/smashwilson/events{/privacy}","received_events_url":"https://api.github.com/users/smashwilson/received_events","type":"User","site_admin":false},"repo":{"id":30770008,"name":"ansible-modules-extras","full_name":"smashwilson/ansible-modules-extras","owner":{"login":"smashwilson","id":17565,"avatar_url":"https://avatars.githubusercontent.com/u/17565?v=3","gravatar_id":"","url":"https://api.github.com/users/smashwilson","html_url":"https://github.com/smashwilson","followers_url":"https://api.github.com/users/smashwilson/followers","following_url":"https://api.github.com/users/smashwilson/following{/other_user}","gists_url":"https://api.github.com/users/smashwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/smashwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashwilson/subscriptions","organizations_url":"https://api.github.com/users/smashwilson/orgs","repos_url":"https://api.github.com/users/smashwilson/repos","events_url":"https://api.github.com/users/smashwilson/events{/privacy}","received_events_url":"https://api.github.com/users/smashwilson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smashwilson/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/smashwilson/ansible-modules-extras","forks_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/smashwilson/ansible-modules-extras/releases{/id}","created_at":"2015-02-13T18:34:26Z","updated_at":"2015-02-13T18:34:27Z","pushed_at":"2015-06-23T19:17:48Z","git_url":"git://github.com/smashwilson/ansible-modules-extras.git","ssh_url":"git@github.com:smashwilson/ansible-modules-extras.git","clone_url":"https://github.com/smashwilson/ansible-modules-extras.git","svn_url":"https://github.com/smashwilson/ansible-modules-extras","homepage":"","size":5667,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"2ffd7235e5b5977091993b8ebb5b80464b09fee2","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":24474138,"name":"ansible-modules-extras","full_name":"ansible/ansible-modules-extras","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":false,"url":"https://api.github.com/repos/ansible/ansible-modules-extras","forks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/ansible/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/ansible/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible-modules-extras/releases{/id}","created_at":"2014-09-25T20:28:42Z","updated_at":"2015-06-26T11:42:05Z","pushed_at":"2015-06-26T19:58:59Z","git_url":"git://github.com/ansible/ansible-modules-extras.git","ssh_url":"git@github.com:ansible/ansible-modules-extras.git","clone_url":"https://github.com/ansible/ansible-modules-extras.git","svn_url":"https://github.com/ansible/ansible-modules-extras","homepage":"","size":21145,"stargazers_count":249,"watchers_count":249,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":517,"mirror_url":null,"open_issues_count":186,"forks":517,"open_issues":186,"watchers":249,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/260"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/260"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/260"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/260/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/260/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/260/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/c0549335135e33f1cbd49575e8e7428647a06e28"}}}}