Convert 90+ LuCI view files from legacy cbi-button-* classes to KissTheme kiss-btn-* classes for consistent dark theme styling. Pattern conversions applied: - cbi-button-positive → kiss-btn-green - cbi-button-negative/remove → kiss-btn-red - cbi-button-apply → kiss-btn-cyan - cbi-button-action → kiss-btn-blue - cbi-button (plain) → kiss-btn Also replaced hardcoded colors (#080, #c00, #888, etc.) with CSS variables (--kiss-green, --kiss-red, --kiss-muted, etc.) for proper dark theme compatibility. Apps updated include: ai-gateway, auth-guardian, bandwidth-manager, cloner, config-advisor, crowdsec-dashboard, dns-provider, exposure, glances, haproxy, hexojs, iot-guard, jellyfin, ksm-manager, mac-guardian, magicmirror2, master-link, meshname-dns, metablogizer, metabolizer, mqtt-bridge, netdata-dashboard, picobrew, routes-status, secubox-admin, secubox-mirror, secubox-p2p, secubox-security-threats, service-registry, simplex, streamlit, system-hub, tor-shield, traffic-shaper, vhost-manager, vortex-dns, vortex-firewall, webradio, wireguard-dashboard, zigbee2mqtt, zkp, and more. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
78 lines
1.7 KiB
Plaintext
78 lines
1.7 KiB
Plaintext
config watchdog 'main'
|
|
option enabled '1'
|
|
option interval '60'
|
|
option alert_command ''
|
|
option log_file '/var/log/watchdog.log'
|
|
option max_log_lines '1000'
|
|
option alert_cooldown '300'
|
|
|
|
# LXC Containers to monitor
|
|
config container 'haproxy'
|
|
option enabled '1'
|
|
option name 'haproxy'
|
|
option critical '1'
|
|
option start_service '1'
|
|
option service_name 'haproxy'
|
|
|
|
config container 'mitmproxy_in'
|
|
option enabled '1'
|
|
option name 'mitmproxy-in'
|
|
option critical '1'
|
|
option start_service '0'
|
|
|
|
config container 'mitmproxy_out'
|
|
option enabled '0'
|
|
option name 'mitmproxy-out'
|
|
option critical '0'
|
|
option start_service '0'
|
|
|
|
config container 'streamlit'
|
|
option enabled '1'
|
|
option name 'streamlit'
|
|
option critical '0'
|
|
option start_service '0'
|
|
|
|
# Host services to monitor
|
|
config service 'crowdsec'
|
|
option enabled '1'
|
|
option name 'crowdsec'
|
|
option process 'crowdsec'
|
|
option critical '1'
|
|
option init_script '/etc/init.d/crowdsec'
|
|
|
|
config service 'uhttpd'
|
|
option enabled '1'
|
|
option name 'uhttpd'
|
|
option process 'uhttpd'
|
|
option critical '1'
|
|
option init_script '/etc/init.d/uhttpd'
|
|
|
|
config service 'dnsmasq'
|
|
option enabled '1'
|
|
option name 'dnsmasq'
|
|
option process 'dnsmasq'
|
|
option critical '1'
|
|
option init_script '/etc/init.d/dnsmasq'
|
|
|
|
# HTTPS endpoints to check
|
|
config endpoint 'gk2'
|
|
option enabled '1'
|
|
option name 'GK2 Hub'
|
|
option host 'gk2.secubox.in'
|
|
option expected_codes '200 301 302'
|
|
option critical '0'
|
|
|
|
config endpoint 'admin'
|
|
option enabled '1'
|
|
option name 'LuCI Admin'
|
|
option host 'admin.gk2.secubox.in'
|
|
option expected_codes '200 301 302'
|
|
option critical '0'
|
|
|
|
config endpoint 'lldh360'
|
|
option enabled '1'
|
|
option name 'HERMES 360'
|
|
option host 'lldh360.maegia.tv'
|
|
option expected_codes '200 301 302'
|
|
option critical '0'
|