Skip to content
Snippets Groups Projects
Commit de0be5df authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#2989 Enhance Cronjob Healthcheck lookup to support...

ansible-inventories/arocom#2989 Enhance Cronjob Healthcheck lookup to support grace period and to remove checks for inactive cronjobs
parent a486cab3
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# file: roles/netdata/tasks/heartbeat.yml
- set_fact:
healthcheckping: "{{ lookup('healthchecks', '', base_url='https://healthchecks.lakedrops.com', api_key=healthchecks.api, host=inventory_hostname, user=item.1.user|default('root'), jobname='Heartbeat', schedule='* * * * *', channels=healthchecks.channels|join(',')) }}"
healthcheckping: "{{ lookup('healthchecks', '', user=item.1.user|default('root'), jobname='Heartbeat', schedule='* * * * *') }}"
tags:
- cron
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment