Agent functions

Online 

Creates an empty file with the specified name if the file does not already exist. 

Offline 

Removes the specified file. 

Monitor 

Checks for the specified file. If it exists, the agent reports as online. If it does not exist, the agent reports as offline

Clean 

Terminates all ongoing resource actions and takes the resource offline, forcibly when necessary.