3 ms·
You might have to come up with something custom. Here's one idea: 1. Wrap your processes in systemd services or something similar, where it's possible to dete
by 2143 4y ago
You might have to come up with something custom.
Here's one idea:
1. Wrap your processes in systemd services or something similar, where it's possible to determine the status by pinging it.
2. Write a script to periodically (via cron maybe) ping all relevant services, and store the statuses somewhere (file, DB..)
3. Another script (or the previous one) to read the data from 2 and spit it to a locally served webpage.
> if possible, also spawn them on schedule
Cronjobs.
- sargstuff 4y agoMake use of dynamic tracing and write/customize relevant to needs. Potential examples: https://twitter.com/freebsdfrau/status/1238541870612926465 https://twitter.com/freebsdfrau/status/1238541870612926465 modify to just focus on cron related stuff. https://www.brendangregg.com/blog/2016-02-01/linux-wakeup-offwake-profiling.html https://www.brendangregg.com/blog/2016-02-01/linux-wakeup-of... Programming approaches: ebpf : https://ebpf.io/projects/ https://ebpf.io/projects/ Dtrace : https://www.brendangregg.com/dtrace.html https://www.brendangregg.com/dtrace.html Ylang : https://blog.openresty.com/en/ylang-intro-part1/ https://blog.openresty.com/en/ylang-intro-part1/ Program example: Use execsnoop (https://www.brendangregg.com/dtrace.html https://www.brendangregg.com/dtrace.html ) & add wrapper/filter to feed relevant "live" info to dashboard.
- sargstuff 4y agoturnkey program(s) per google search: Cronitor : https://cronitor.io/docs/using-cronitor-cli https://cronitor.io/docs/using-cronitor-cli Nagios : https://exchange.nagios.org/directory/Tutorials/Other-Tutorials-And-HOWTOs/Monitoring-Cronjob-Exit-Codes-With-Nagios/details https://exchange.nagios.org/directory/Tutorials/Other-Tutori... https://jaytuckey.name/2020/10/30/new-project-coconut-deadmanswitch-a-tool-to-monitor-cron-jobs-and-scheduled-tasks/ https://jaytuckey.name/2020/10/30/new-project-coconut-deadma... https://www.saashub.com/compare-cronhub-vs-zabbix?ref=sidebar https://www.saashub.com/compare-cronhub-vs-zabbix?ref=sideba...
- sargstuff 4y agohttps://www.rundeck.com/open-source https://www.rundeck.com/open-source http://www.panozzaj.com/blog/2014/05/02/replace-local-cron-with-jenkins/ http://www.panozzaj.com/blog/2014/05/02/replace-local-cron-w... https://github.com/jhuckaby/Cronicle https://github.com/jhuckaby/Cronicle https://healthchecks.io/docs/self_hosted/ https://healthchecks.io/docs/self_hosted/
- sharmi 4y agoCronicle and Healthchecks.io seem great. There are exactly what I was looking for. Thank you very much.