浏览代码

Merge pull request #13 from elemoine/stacklight-remove-alarming

Remove the alarm-related filters
tags/2016.12
Aleš Komárek 8 年前
父节点
当前提交
86ff32cb68
共有 1 个文件被更改,包括 1 次插入29 次删除
  1. +1
    -29
      linux/meta/heka.yml

+ 1
- 29
linux/meta/heka.yml 查看文件

@@ -37,32 +37,4 @@ log_collector:
interval: 60
grace_interval: 30
metric_collector:
filter:
linux_cpu_utilization:
engine: sandbox
module_file: /usr/share/lma_collector/filters/afd.lua
module_dir: /usr/share/lma_collector_modules;/usr/share/heka/lua_modules
preserve_data: false
message_matcher: "(Type == 'metric' || Type == 'heka.sandbox.metric') && (Fields[name] == 'cpu_idle' || Fields[name] == 'cpu_wait')"
ticker_interval: 10
config:
afd_type: 'node'
afd_file: 'lma_alarms_controller_cpu'
afd_cluster_name: 'controller'
afd_logical_name: 'cpu'
activate_alerting: true
enable_notification: false
linux_swap_utilization:
engine: sandbox
module_file: /usr/share/lma_collector/filters/afd.lua
module_dir: /usr/share/lma_collector_modules;/usr/share/heka/lua_modules
preserve_data: false
message_matcher: "(Type == 'metric' || Type == 'heka.sandbox.metric') && (Fields[name] == 'swap_free' || Fields[name] == 'swap_io_in' || Fields[name] == 'swap_io_out' || Fields[name] == 'swap_percent_used')"
ticker_interval: 10
config:
afd_type: 'node'
afd_file: 'lma_alarms_controller_swap'
afd_cluster_name: 'controller'
afd_logical_name: 'swap'
activate_alerting: true
enable_notification: false
filter: {}

正在加载...
取消
保存