Skip to content

Instantly share code, notes, and snippets.

@wolfdancer
Created May 12, 2014 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolfdancer/3f9ea5c845907ee18311 to your computer and use it in GitHub Desktop.
Save wolfdancer/3f9ea5c845907ee18311 to your computer and use it in GitHub Desktop.
create sms notification
Background informaiton: Using raxmon to configure Cloud Monitoring (http://developer.rackspace.com/blog/using-raxmon-to-configure-rackspace-cloud-monitoring.html)
sduan@Shanes-MacBook-Pro ~ $ raxmon-notifications-list [ruby-1.9.3-p484]
<Notification: id=ntDbF0gzzN, label=rackspace email, type=email ...>
<Notification: id=ntTechnicalContactsEmail, label=Email All Technical Contacts, type=technicalContactsEmail ...>
<Notification: id=ntjiCBpG61, label=pagerduty, type=pagerduty ...>
sduan@Shanes-MacBook-Pro ~ $ raxmon-notifications-create --label=sms --type=sms --details="phone_number=+15555555555" [ruby-1.9.3-p484]
Resource created. ID: ntByLFhHhM
sduan@Shanes-MacBook-Pro ~ $ raxmon-notifications-list [ruby-1.9.3-p484]
<Notification: id=ntByLFhHhM, label=sms, type=sms ...>
<Notification: id=ntDbF0gzzN, label=rackspace email, type=email ...>
<Notification: id=ntTechnicalContactsEmail, label=Email All Technical Contacts, type=technicalContactsEmail ...>
<Notification: id=ntjiCBpG61, label=pagerduty, type=pagerduty ...>
(now you can add this notification to your existing notification plan, or create a new notification plan with it)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment