|
|
@ -67,18 +67,20 @@ notes:
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|
|
|
|
# Pause the check with the ID of 12345.
|
|
|
|
# Pause the check with the ID of 12345.
|
|
|
|
- pingdom: uid=example@example.com
|
|
|
|
- pingdom:
|
|
|
|
passwd=password123
|
|
|
|
uid: example@example.com
|
|
|
|
key=apipassword123
|
|
|
|
passwd: password123
|
|
|
|
checkid=12345
|
|
|
|
key: apipassword123
|
|
|
|
state=paused
|
|
|
|
checkid: 12345
|
|
|
|
|
|
|
|
state: paused
|
|
|
|
|
|
|
|
|
|
|
|
# Unpause the check with the ID of 12345.
|
|
|
|
# Unpause the check with the ID of 12345.
|
|
|
|
- pingdom: uid=example@example.com
|
|
|
|
- pingdom:
|
|
|
|
passwd=password123
|
|
|
|
uid: example@example.com
|
|
|
|
key=apipassword123
|
|
|
|
passwd: password123
|
|
|
|
checkid=12345
|
|
|
|
key: apipassword123
|
|
|
|
state=running
|
|
|
|
checkid: 12345
|
|
|
|
|
|
|
|
state: running
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|