Files
lan_checker/config.yaml.example
Antoine Van Elstraete c72117e6e1 Add DNS checker
Checks DNS server availability via ping then performs configurable
DNS query (record_type: A, AAAA, TXT, MX, etc.).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 17:39:16 +01:00

63 lines
1.1 KiB
Plaintext

# LAN Checker Configuration
mqtt:
host: "192.168.1.100"
port: 1883
username: ""
password: ""
client_id: "lan_checker"
# Default interval between checks in seconds
default_interval: 60
checks:
# Ping checks
- id: router
name: "Router"
type: ping
host: "192.168.1.1"
interval: 30
timeout: 5
- id: nas
name: "NAS Synology"
type: ping
host: "192.168.1.50"
interval: 60
# HTTP checks
- id: homeassistant
name: "Home Assistant"
type: http
url: "http://192.168.1.100:8123"
expected_status: 200
timeout: 10
interval: 60
- id: plex
name: "Plex Server"
type: http
url: "http://192.168.1.50:32400/web"
expected_status: 200
verify_ssl: false
interval: 120
# SNMP checks
- id: switch
name: "Switch Managed"
type: snmp
host: "192.168.1.2"
community: "public"
oid: "1.3.6.1.2.1.1.1.0" # sysDescr
interval: 120
# DNS checks
- id: pihole
name: "Pi-hole DNS"
type: dns
host: "192.168.1.10"
query: "google.com"
record_type: A # A, AAAA, TXT, MX, etc.
timeout: 5
interval: 60