mozilla

Remove a watcher

This command remove a watcher dynamically from the arbiter. The watchers are gracefully stopped.

ZMQ Message

{
    "command": "rm",
    "properties": {
        "name": "<nameofwatcher>",
        "waiting": False
    }
}

The response return a status “ok”.

If waiting is False (default), the call will return immediatly after starting to remove and stop the corresponding watcher.

If waiting is True, the call will return only when the remove and stop process is completly ended. Because of the graceful_timeout option, it can take some time.

Command line

$ circusctl rm <name> [--waiting]

Options

  • <name>: name of the watcher to remove