Docs · Operate
Command-line administration
Watchpost and Watchpost Agent can be provisioned and maintained without browser automation.
watchpost setup --email-file /run/secrets/admin-email --password-file /run/secrets/admin-password
watchpost config show --json
watchpost reset --auth --confirm "WATCHPOST AUTH"
watchpost reset --all --confirm "WATCHPOST ALL"
watchpost-agent setup --email-file /run/secrets/agent-email --password-file /run/secrets/agent-password
watchpost-agent info --json
watchpost-agent configure --interval 60 --filesystems /,/srv
watchpost-agent pair --server https://watchpost.example
sudo watchpost-agent reset --auth --confirm "WATCHPOST-AGENT AUTH"
sudo watchpost-agent reset --all --confirm "WATCHPOST-AGENT ALL"Stop the relevant service before reset. Agent authentication reset can discard an incompatible authentication payload while preserving valid pairing and collector state; full reset can recover a damaged state file. Both retain timestamped backups and preserve service ownership. Make sure the installed executable has been rebuilt or updated; a source checkout does not replace the command on PATH. Full agent reset does not revoke its remote credential; revoke a lost installation centrally.