Created
May 12, 2014 22:32
-
-
Save wolfdancer/3f9ea5c845907ee18311 to your computer and use it in GitHub Desktop.
create sms notification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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