Prepare project for public release
This commit is contained in:
commit
dbc7464b58
21 changed files with 1780 additions and 0 deletions
34
config.ini.example
Normal file
34
config.ini.example
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue