All Projects → zricethezav → Gronit

zricethezav / Gronit

Cron monitoring written in Go

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Gronit

monit-graph
PHP graphing and logging tool for Monit, to graph and analyse process and/or server performance.
Stars: ✭ 78 (+129.41%)
Mutual labels:  ops
Autoops
linux资产管理,cmdb,django, webssh,运维管理平台,数据库操作平台 本项目已停止开发!因长时间未对代码进行维护,可能会造成项目在不同环境上无法部署、运行BUG等问题,请知晓!项目仅供参考!
Stars: ✭ 340 (+900%)
Mutual labels:  ops
Opscloud
运维管理平台(阿里云),自动同步阿里云配置信息,堡垒机(容器),批量运维,Kubernetes,Zabbix管理等功能
Stars: ✭ 788 (+2217.65%)
Mutual labels:  ops
open-c3
CICD系统/发布系统/作业平台/监控系统/故障自愈/K8S集群管理
Stars: ✭ 142 (+317.65%)
Mutual labels:  ops
Baize
白泽自动化运维系统:配置管理、网络探测、资产管理、业务管理、CMDB、CD、DevOps、作业编排、任务编排等功能,未来将添加监控、报警、日志分析、大数据分析等部分内容
Stars: ✭ 296 (+770.59%)
Mutual labels:  ops
Healthchecks
A cron monitoring tool written in Python & Django
Stars: ✭ 4,297 (+12538.24%)
Mutual labels:  ops
re-gent
A Distributed Clojure agent for running remote functions
Stars: ✭ 18 (-47.06%)
Mutual labels:  ops
Linuxnotes
Some notes about Linux
Stars: ✭ 10 (-70.59%)
Mutual labels:  ops
Linuxbashshellscriptforops
Linux Bash Shell Script and Python Script For Ops and Devops
Stars: ✭ 298 (+776.47%)
Mutual labels:  ops
Spug
开源运维平台:面向中小型企业设计的轻量级无Agent的自动化运维平台,整合了主机管理、主机批量执行、主机在线终端、文件在线上传下载、应用发布部署、在线任务计划、配置中心、监控、报警等一系列功能。
Stars: ✭ 6,810 (+19929.41%)
Mutual labels:  ops
octane-exporter
Export Laravel Octane metrics using this Prometheus exporter.
Stars: ✭ 14 (-58.82%)
Mutual labels:  ops
Adminset
自动化运维平台:CMDB、CD、DevOps、资产管理、任务编排、持续交付、系统监控、运维管理、配置管理
Stars: ✭ 2,985 (+8679.41%)
Mutual labels:  ops
Rundeck
Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
Stars: ✭ 4,426 (+12917.65%)
Mutual labels:  ops
ops-drafts
Applicability and Manageability Statements
Stars: ✭ 21 (-38.24%)
Mutual labels:  ops
Babushka
Test-driven sysadmin.
Stars: ✭ 794 (+2235.29%)
Mutual labels:  ops
operations
OSMF Operations Working Group issue tracking
Stars: ✭ 79 (+132.35%)
Mutual labels:  ops
Open dnsdb
OpenDnsdb 是去哪儿网OPS团队开源的基于Python语言的DNS管理系统
Stars: ✭ 345 (+914.71%)
Mutual labels:  ops
Venona
Codefresh runtime-environment agent
Stars: ✭ 31 (-8.82%)
Mutual labels:  ops
Ops doc
运维简洁实用手册
Stars: ✭ 819 (+2308.82%)
Mutual labels:  ops
Runbook
A framework for gradual system automation
Stars: ✭ 531 (+1461.76%)
Mutual labels:  ops

Gronit

A Cron monitor written in Go.

Features:
  • Update and check job status remotely
  • View statistics of jobs
  • Bare bones alternative to services like Cronitor
Installing:
$ go get github.com/zricethezav/gronit
Usage:
$ ./gronit

This will start a server on default port 3231. Change the port with -p or --port option.

Generate a job tracker (with a gronit server running):

$ curl 127.0.0.1:3231/create
{"id":"f7a324"}

/create generates a job tracking token. Now we can wrap any command with gronit.

# sample crontab
*/2 * * * * curl -s 127.0.0.1:3231/run/f7a324 && sleep `echo $((1 + RANDOM \% 5))` && curl -s 127.0.0.1:3231/complete/f7a324

API

GET

  • /create generate new job id
  • /run/{id} update jobs's status to be 'running'
  • /complete/{id} update jobs's status to be 'complete'
  • /status/{id} status of job
    • sample response:{"status":"complete","time":"2018-01-10T13:36:05.197347-06:00"}
  • /summary/{id} job statistics for a job
    • sample response: {"status_count":24,"run_count":12,"completion_count":12,"average_time_to_completion":2200,"created_at":"2018-01-10T13:08:11.675697-06:00"}
  • /history/{id} full list of status updates for a job
    • sample response: [{"status":"running","time":"2018-01-10T13:10:00.281757-06:00"},{"status":"complete","time":"2018-01-10T13:10:01.408825-06:00"}]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].