72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
# Emissary agent configuration
|
|
|
|
# Logger configuration
|
|
logger:
|
|
# Logging verbosity
|
|
# DEBUG: 0
|
|
# INFO: 1
|
|
# WARN: 2
|
|
# ERROR: 3
|
|
# CRITICAL: 4
|
|
level: 1
|
|
# Logging format
|
|
# Possible values: human, json
|
|
format: human
|
|
|
|
# Agent configuration
|
|
agent:
|
|
# Emissary server URL
|
|
serverUrl: http://127.0.0.1:3000
|
|
# Agent private key path
|
|
privateKeyPath: /var/lib/emissary/agent-key.json
|
|
# Agent reconciliation interval (in seconds)
|
|
reconciliationInterval: 30
|
|
|
|
# Controllers configuration
|
|
controllers:
|
|
# Persistence controller configuration
|
|
persistence:
|
|
enabled: true
|
|
stateFile: /var/lib/emissary/state.json
|
|
|
|
# Spec controller configuration
|
|
spec:
|
|
enabled: true
|
|
|
|
# Proxy controller configuration
|
|
proxy:
|
|
enabled: true
|
|
|
|
# UCI controller configuration
|
|
uci:
|
|
enabled: true
|
|
binPath: uci
|
|
configBackupFile: /var/lib/emissary/uci-backup.conf
|
|
|
|
# App controller configuration
|
|
app:
|
|
enabled: true
|
|
dataDir: /var/lib/emissary/apps/data
|
|
downloadDir: /var/lib/emissary/apps/bundles
|
|
|
|
# Sysupgrade controller configuration
|
|
sysupgrade:
|
|
enabled: true
|
|
sysupgradeCommand:
|
|
- sysupgrade
|
|
- -u
|
|
- -v
|
|
- --ignore-minor-compat-version
|
|
- '%FIRMWARE%'
|
|
firmwareVersionCommand:
|
|
- sh
|
|
- -c
|
|
- source /etc/openwrt_release && echo "$DISTRIB_ID-$DISTRIB_RELEASE-$DISTRIB_REVISION"
|
|
|
|
# Collectors configuration
|
|
collectors:
|
|
- name: uname
|
|
command: uname
|
|
args:
|
|
- -a
|