1CDIST-TYPE__CONSUL_WATCH_CHECKS(7) cdist CDIST-TYPE__CONSUL_WATCH_CHECKS(7)
2
3
4
6 cdist-type__consul_watch_checks - Manages consul checks watches
7
9 Generate and deploy watch definitions of type 'checks' for a consul
10 agent. See http://www.consul.io/docs/agent/watches.html for parameter
11 documentation.
12
14 handler
15 the handler to invoke when the data view updates
16
18 datacenter
19 can be provided to override the agent's default datacenter
20
21 filter-service
22 filter to a specific service. Conflicts with --filter-state.
23
24 filter-state
25 filter to a specific state. Conflicts with --filter-service.
26
27 state if this watch is 'present' or 'absent'. Defaults to 'present'.
28
29 token can be provided to override the agent's default ACL token
30
32 __consul_watch_checks some-id \
33 --handler /usr/bin/my-handler.sh
34
35 __consul_watch_checks some-id \
36 --filter-service consul \
37 --handler /usr/bin/my-handler.sh
38
39 __consul_watch_checks some-id \
40 --filter-state passing \
41 --handler /usr/bin/my-handler.sh
42
44 cdist-type__consul_agent(7)
45
46 consul documentation at: <‐
47 http://www.consul.io/docs/agent/watches.html>.
48
50 Steven Armstrong <steven-cdist--@--armstrong.cc>
51
53 Copyright (C) 2015 Steven Armstrong. You can redistribute it and/or
54 modify it under the terms of the GNU General Public License as pub‐
55 lished by the Free Software Foundation, either version 3 of the Li‐
56 cense, or (at your option) any later version.
57
59 ungleich GmbH 2020
60
61
62
63
646.9.6 Apr 20, 2021CDIST-TYPE__CONSUL_WATCH_CHECKS(7)