nightingale1/etc/collector.yml

31 lines
596 B
YAML
Raw Normal View History

2020-03-11 18:25:20 +08:00
logger:
dir: logs/collector
level: WARNING
keepHours: 2
identity:
specify: ""
2020-03-24 10:32:53 +08:00
shell: ifconfig `route|grep '^default'|awk '{print $NF}'`|grep inet|awk '{print $2}'|awk -F ':' '{print $NF}'|head -n 1
2020-03-11 18:25:20 +08:00
sys:
# timeout in ms
# interval in second
timeout: 1000
interval: 20
ifacePrefix:
- eth
- em
mountPoint: []
mountIgnorePrefix:
- /var/lib
ignoreMetrics:
- cpu.core.idle
- cpu.core.util
- cpu.core.sys
- cpu.core.user
- cpu.core.nice
- cpu.core.guest
- cpu.core.irq
- cpu.core.softirq
- cpu.core.iowait
2020-03-18 17:39:05 +08:00
- cpu.core.steal