diff options
| author | Fuwn <[email protected]> | 2026-01-20 05:28:27 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-20 05:28:27 -0800 |
| commit | 3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181 (patch) | |
| tree | 9882013ca3283d807442f541dc77f022faaff9e5 /config.example.yaml | |
| parent | feat: Add configurable UI scale option (diff) | |
| download | kaze-3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181.tar.xz kaze-3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181.zip | |
feat: Add database connection monitoring type
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/config.example.yaml b/config.example.yaml index bc6a772..50f6692 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -98,15 +98,38 @@ groups: # default_collapsed: false # show_group_uptime: true monitors: - - name: "Database" - type: tcp - target: "localhost:5432" + - name: "PostgreSQL" + type: database + db_type: postgres + target: "localhost:5432" # or postgres://user:pass@host:5432/db + interval: 30s + timeout: 5s + + - name: "MySQL" + type: database + db_type: mysql + target: "localhost:3306" # or mysql://user:pass@host:3306/db interval: 30s timeout: 5s - name: "Redis" - type: tcp - target: "localhost:6379" + type: database + db_type: redis + target: "localhost:6379" # or redis://host:6379 + interval: 30s + timeout: 5s + + - name: "Memcached" + type: database + db_type: memcached + target: "localhost:11211" + interval: 30s + timeout: 5s + + - name: "MongoDB" + type: database + db_type: mongodb + target: "localhost:27017" # or mongodb://user:pass@host:27017 interval: 30s timeout: 5s |