81 lines
2.1 KiB
YAML
81 lines
2.1 KiB
YAML
#name: "w02"
|
|
hb_port: 50003
|
|
hbd_host: ''
|
|
#logfile: "/home/andreas/public_html/messages/andreas"
|
|
logfile: "/home/andreas/logs/heartbeat/heartbeat.log"
|
|
#logfile: "/Users/andreas/public_html/messages/andreas"
|
|
logfmt: "msg"
|
|
grace: 40
|
|
interval: 10
|
|
watchhosts:
|
|
# "localhost":
|
|
# "haschloss" :
|
|
# "cotgate":
|
|
"wentworth":
|
|
notify: +4915123456789
|
|
src: "signal"
|
|
"y":
|
|
notify: +4915123456789
|
|
src: "signal"
|
|
"winter":
|
|
notify: +14168226179
|
|
src: "signal"
|
|
dyndnshosts: {"haschloss", "wayback", "wertvoll", "weekend", "cotgate", "rvgate", "draper", "eris"}
|
|
drophosts: {"unknown", "wookie15", "wort"}
|
|
nsupdate_bin: "/usr/local/bin/nsupdate"
|
|
pushover_token: "ac7NLX2rPjXFareeDgLpXNoDf4iFmf"
|
|
pushover_user: "uDhH33UjQQDYtNzJb1ThRiWb9ingGK"
|
|
pushsrv: "pushover"
|
|
|
|
dyndomains: {"wrede.org"}
|
|
toemail: ["aew.hbd.notify@wrede.ca"]
|
|
fromemail: "aew.hbd@wrede.ca"
|
|
smtpserver: "smtp.fastmail.com"
|
|
smtpuser: "andreas@wrede.ca"
|
|
smtppassword: "r8psra6wj6gcakkp"
|
|
smtpport: 587
|
|
|
|
ws_port: 50005
|
|
# wss_port: 50006 # Commented out - use plain WebSocket instead of secure WSS
|
|
# cert_path: "/usr/local/etc/letsencrypt/live/hbd.wrede.ca/"
|
|
# cert_path: "test/"
|
|
# CERT_PATH = "./test/"
|
|
# wss_pem: "fullchain.pem"
|
|
# wss_key: "privkey.pem"
|
|
|
|
journal_enabled: true # Enable/disable journaling
|
|
journal_dir: /home/andreas/logs/heartbeat # Journal directory
|
|
journal_file: messages.journal # Base filename
|
|
journal_max_size: 104857600 # Max size (100MB default)
|
|
journal_max_backups: 10 # Number of backups to keep
|
|
|
|
thresholds:
|
|
cpu_monitor:
|
|
cpu_percent:
|
|
warning: 1.0
|
|
critical: 90.0
|
|
memory_monitor:
|
|
percent:
|
|
warning: 3.0
|
|
critical: 95.0
|
|
disk_monitor:
|
|
partitions:
|
|
/:
|
|
percent:
|
|
warning: 8.0
|
|
critical: 90.0
|
|
nagios_runner:
|
|
load_status:
|
|
warning: WARNING
|
|
operator: = "="
|
|
critical: CRITICAL
|
|
operator: = "="
|
|
UPS_status_code:
|
|
warning: 1
|
|
critical: 2
|
|
operator: ">="
|
|
rtt:
|
|
y:
|
|
warning: 0.1
|
|
critical: 10.0
|