CDIST-TYPE__CONSUL_CHECK(7) | cdist | CDIST-TYPE__CONSUL_CHECK(7) |
cdist-type__consul_check - Manages consul checks
Generate and deploy check definitions for a consul agent. See http://www.consul.io/docs/agent/checks.html for parameter documentation.
Use either script together with interval, or use ttl.
None.
__consul_check redis \
--script /usr/local/bin/check_redis.py \
--interval 10s __consul_check some-object-id \
--id web-app \
--name "Web App Status" \
--notes "Web app does a curl internally every 10 seconds" \
--ttl 30s
Steven Armstrong <steven-cdist--@--armstrong.cc>
Copyright (C) 2015-2016 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ungleich GmbH 2021
January 15, 2023 | 7.0.0 |