12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- {
- "servers": [
- {
- "username": "s01",
- "name": "node1",
- "type": "xen",
- "host": "host1",
- "location": "🇨🇳",
- "password": "USER_DEFAULT_PASSWORD",
- "monthstart": 1
- },
- {
- "username": "s02",
- "name": "node2",
- "type": "vmware",
- "host": "host2",
- "location": "🇯🇵",
- "password": "USER_DEFAULT_PASSWORD",
- "monthstart": 1
- },
- {
- "disabled": true,
- "username": "s03",
- "name": "node3",
- "type": "Nothing",
- "host": "host3",
- "location": "🇫🇷",
- "password": "USER_DEFAULT_PASSWORD",
- "monthstart": 1
- },
- {
- "username": "s04",
- "name": "node4",
- "type": "kvm",
- "host": "host4",
- "location": "🇰🇷",
- "password": "USER_DEFAULT_PASSWORD",
- "monthstart": 1
- }
- ],
- "watchdog": [
- {
- "name": "cpu high warning",
- "rule": "cpu>98",
- "interval": 600,
- "callback": "https://yourSMSurl"
- },
- {
- "name": "memory high warning",
- "rule": "(memory_used/memory_total)*100>90",
- "interval": 600,
- "callback": "https://yourSMSurl"
- },
- {
- "name": "offline warning",
- "rule": "online4=0&online6=0",
- "interval": 300,
- "callback": "https://yourSMSurl"
- },
- {
- "name": "you can parse an expression combining any known field",
- "rule": "load_5>10",
- "interval": 1800,
- "callback": "https://yourSMSurl"
- }
- ]
- }
|