The value of the Operations attribute for this agent is OnOff.
Queries the authoritative name server of the domain for CNAME records and updates the CNAME record on the name server with the specified alias to canonical name mapping. Adds a new CNAME record if a related record is not found. Creates an Online lock file if the Online function was successful.
Removes the Online lock file, which the Online agent function created.
If the Online lock file exists, the Monitor function queries the name servers for the CNAME record for the alias. It reports back online if the response from at least one of the name servers contains the same canonical name associated with the alias in the Hostname attribute. If no servers return the approrpraite name, the monitor reports the resource as offline.
Removes the Online lock file if the Online lock file exists, and the CNAME record on the name server does not contain the expected alias or canonical name mapping.