Skip to content

Instantly share code, notes, and snippets.

@fredsted
Last active June 26, 2019 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fredsted/5f736a6821061d24db4afd83a186f7a6 to your computer and use it in GitHub Desktop.
Save fredsted/5f736a6821061d24db4afd83a186f7a6 to your computer and use it in GitHub Desktop.
image:
tag: 6.5.4
config:
heartbeat.monitors:
- name: servers
type: icmp
schedule: '@every 5s'
timeout: 3s
hosts:
- 192.168.1.38
- 192.168.1.40
- 192.168.1.43
- 192.168.1.44
- 192.168.1.55
- 192.168.1.56
- 192.168.1.57
- 192.168.1.58
- 192.168.1.59
- 192.168.1.76
- 192.168.1.77
- 192.168.1.78
output.file.enabled: false
output.elasticsearch:
hosts:
- http://elasticsearch:9200
index: heartbeat-%{[beat.version]}-%{+yyyy.MM.dd}
setup.template.name: heartbeat
setup.template.pattern: heartbeat-*
setup.kibana.host: kibana:443
setup.kibana.protocol: http
setup.dashboards.enabled: true
processors:
- add_process_metadata:
match_pids: [system.process.ppid]
include_fields:
- process.env
restricted_fields: true
- add_kubernetes_metadata:
in_cluster: true
default_indexers.enabled: true
default_matchers.enabled: true
indexers:
- container: null
- pod_name: null
- pod_uid: null
- ip_port: null
matchers:
- fields: null
lookup_fields:
- container.id
resources:
limits: null
cpu: 100m
memory: 200Mi
requests: null
cpu: 100m
memory: 100Mi
tolerations:
- key: nodeType
operator: Equal
value: nfs
effect: NoSchedule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment