Agent functions for FileOnOff agent

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

Removes the specified file forcibly when necessary.