34 lines
842 B
Text
34 lines
842 B
Text
# Copy to config.ini, fill in the required values, and keep it private:
|
|
# cp config.ini.example config.ini
|
|
# chmod 600 config.ini
|
|
|
|
[wlc]
|
|
host = 192.0.2.10
|
|
port = 161
|
|
snmp_user = wlcmon
|
|
snmp_auth =
|
|
snmp_priv =
|
|
# Prefer sha256. Use sha only when required by an older controller.
|
|
auth_protocol = sha256
|
|
timeout = 5
|
|
retries = 1
|
|
|
|
[mail]
|
|
smtp_host = smtp.example.com
|
|
smtp_port = 587
|
|
# One of: none, starttls, ssl
|
|
smtp_security = starttls
|
|
# Leave both blank for an unauthenticated trusted relay.
|
|
smtp_user =
|
|
smtp_password =
|
|
from = wlc-monitor@example.com
|
|
to = network-ops@example.com
|
|
subject_prefix = [WLC]
|
|
|
|
[monitor]
|
|
# This path matches wlc-monitor.service. For a user-run checkout, change it to
|
|
# a private writable path such as ./state.json.
|
|
state_file = /var/lib/wlc-monitor/state.json
|
|
fail_threshold = 2
|
|
unsaved_minutes = 60
|
|
interval = 300
|