sysmonitord/internal/config/config.go
wk233 e6d4a8303c feat: 初始实现SSH服务器监控系统
- 核心功能:监控SSH登录事件,检测root登录
- 日志解析:集成systemd journal实时监控
- 告警系统:支持root登录告警和通道处理
- 项目结构:规范的Go项目布局
- 文档:完善README使用说明"
2026-01-06 21:21:45 +08:00

8 lines
191 B
Go

package config
type SSHMonitor struct {
Enabled bool `yaml:"enabled"`
DisplayOnShell bool `yaml:"display_on_shell"`
AlertOnRootLogin bool `yaml:"alert_on_root_login"`
}