Table of Contents

Create Monitoring Job

Method Name: createJob
Description: Creates a new monitoring job.
WSDL URL: https://durabledns.com/services/monitoring/job.php?wsdl

Input

apiuser —— Value for authentication – Provided by DurableDNS on the Dashboard
apikey —— Value for authentication – Provided by DurableDNS on the Dashboard
jobname —— Name of job to create
zonename —— Name of zone, followed by a dot (.). Example: “example.com.”
record_id —— Unique numeric ID of DNS record being monitored.
monitor_type_id —— Port check = 2, Ping check = 3
port —— If monitor_type_id is '2', then this is the TCP port to check. Otherwise, this is null
interval —— Number of minutes between checking the server
email_on_failure —— Should DurableDNS email you when the server fails? Y or N
email_to —— Email address to email if email_on_failure = Y. Otherwise, this is null
dns_on_failure —— Should DurableDNS change the IP address of the record if the server fails? Y or N
change_dns_to —— IP Address to change record data to if server fails if dns_on_failure = Y. Otherwise this is null.
failure_threshold —— Number of sequential check failures before determining the server has failed.

Output

return —— 'Success' or error message

 
soap/createjob.txt · Last modified: 2010/02/11 01:34 (external edit)