-
Notifications
You must be signed in to change notification settings - Fork 84
/
tcp_check.yaml.example
39 lines (29 loc) · 1.11 KB
/
tcp_check.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# (C) Copyright 2015 Hewlett Packard Enterprise Development Company LP
init_config:
# To notify on every service, set a list of notified uses here.
#
# notify:
# - pagerduty
instances:
# - name: My first service
# host: myhost.example.com
# port: 8080
# timeout: 1
# The (optional) window and threshold parameters allow you to trigger
# alerts only if the check fails x times within the last y attempts
# where x is the threshold and y is the window.
# threshold: 3
# window: 5
# The (optional) collect_response_time parameter will instruct the
# check to create a metric 'network.tcp.response_time', tagged with
# the url, reporting the response time in seconds.
# collect_response_time: true
# - name: My second service
# host: 127.0.0.1
# port: 80
# For service-specific notifications, you can optionally specify
# a list of users to notify within the service configuration.
# notify:
# - pagerduty