Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cronjob-monitoring with push heartbeat #71

Closed
rndmh3ro opened this issue Jun 27, 2022 · 1 comment · Fixed by #73
Closed

cronjob-monitoring with push heartbeat #71

rndmh3ro opened this issue Jun 27, 2022 · 1 comment · Fixed by #73

Comments

@rndmh3ro
Copy link
Contributor

I'd like to monitor my backup scripts with an external cronjob monitoring (something like https://uptimerobot.com/cron-job-monitoring/). There you have to send a periodic heartbeat to a defined URL to show that the backup job is running.

I was thinking about adding something like this to the backup-script:

rm -f $pid # remove pid file just before exiting

# new part
{% if push_monitoring_url is defined %}
curl {{ push_monitoring_url }}
{% endif %}

exit

What do you think? Would you be willing to accept this change?

@DO1JLR
Copy link
Member

DO1JLR commented Jul 12, 2022

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants