CI / tests (Python 3.10) (pull_request) Successful in 22s
CI / tests (Python 3.11) (pull_request) Successful in 22s
CI / tests (Python 3.12) (pull_request) Successful in 22s
CI / tests (Python 3.13) (pull_request) Successful in 21s
CI / lint (pull_request) Successful in 3s
REPORT_HOSTNAME in agent.conf replaces hostname -f in the report, for hosts registered under a label that differs from their real hostname (otherwise the dashboard notes a mismatch forever). install.sh --report-hostname NAME sets it, --default-report-hostname clears it, and re-running with --server (register, rotate) keeps it. Agent 0.4.1. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
20 lines
735 B
Plaintext
20 lines
735 B
Plaintext
# /etc/kernelwatch/agent.conf
|
|
|
|
# Base URL of the kernelwatch server (the agent POSTs to /api/v1/report).
|
|
SERVER_URL=https://kernelwatch.example.internal
|
|
|
|
# The host token is read from the systemd credential when run by the timer.
|
|
# This path is only used for manual runs (sudo kernelwatch-agent).
|
|
TOKEN_FILE=/etc/kernelwatch/agent.token
|
|
|
|
# CA bundle for a server certificate signed by a private CA (optional).
|
|
#CA_FILE=/etc/kernelwatch/ca.pem
|
|
|
|
# curl timeout in seconds.
|
|
#TIMEOUT=30
|
|
|
|
# Hostname to report instead of the machine's own (`hostname -f`). Set this when
|
|
# the host is registered under a different name, so the dashboard doesn't note
|
|
# the mismatch. Usually set with: install.sh --report-hostname NAME
|
|
#REPORT_HOSTNAME=web01
|