{"id":26575968,"url":"https://github.com/tomarv2/kumauto","last_synced_at":"2026-05-04T14:33:47.718Z","repository":{"id":42657039,"uuid":"255013319","full_name":"tomarv2/kumauto","owner":"tomarv2","description":"Kubernetes monitoring automation using Prometheus, BlackBox, Elastalert.","archived":false,"fork":false,"pushed_at":"2023-02-14T22:27:18.000Z","size":139,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-21T23:47:42.338Z","etag":null,"topics":["alertmanager","blackbox","elastalert","monitoring","monitoring-automation","prometheus","pushgateway","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomarv2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-04-12T05:11:52.000Z","updated_at":"2023-08-16T22:47:39.000Z","dependencies_parsed_at":"2023-07-15T08:24:04.484Z","dependency_job_id":null,"html_url":"https://github.com/tomarv2/kumauto","commit_stats":null,"previous_names":["tomarv2/mauto"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tomarv2/kumauto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarv2%2Fkumauto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarv2%2Fkumauto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarv2%2Fkumauto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarv2%2Fkumauto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomarv2","download_url":"https://codeload.github.com/tomarv2/kumauto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarv2%2Fkumauto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32611765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alertmanager","blackbox","elastalert","monitoring","monitoring-automation","prometheus","pushgateway","python","python3"],"created_at":"2025-03-23T02:35:55.312Z","updated_at":"2026-05-04T14:33:47.695Z","avatar_url":"https://github.com/tomarv2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitoring automation project for Prometheus and ecosystem (in-progress)\n\nOne of the main problem that we face with microservices deployment is how to configure monitoring.\nWith deployment being so dynamic its hard to make changes.\n\nAs you can see in the blog: https://medium.com/@tomarv2/jenkins-shared-libraries-ab64f7acac68. I discussed how can \nrepos can be arranged and how monitoring jobs at scale can be configured. Most of the work of adding projects to monitoring and alerting was manual.\n\nIn this project we are trying to offload the management of monitoring and alerting. When a new project is added, \nuser adds/updates `user_input.yaml` and it will be picked up by CICD (in this case Jenkins).\n\n\n###\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"600\" height=\"370\" src=\"https://miro.medium.com/max/1400/1*Tp1kUoGHRPmB4wik1kKHkA.png\"\u003e\n\u003c/p\u003e\n\n###\nWhere will the monitoring be configured:\n\n- Prometheus\n- Blackbox\n- Elastalert\n- Pushgateway\n- Pagerduty\n- Email\n- Slack\n\n**Pre-reqs:**\n\n - Running Elastalert\n - Running Alertmanager\n - Running Prometheus Monitoring\n - Running Pushgateway\n - Pagerduty account\n - Slack account\n - Kafka/Zookeper (when we wrote this project, we had a requirement to cleanup Kafka/Zookeeper)\n    \n**Note:**\n  \n  - Docker image should have ssh keys to connect to git.\n\n***\n\n### How to begin:\n\nTo create dummy data for testing:\n\nverify if `static-files` directory exists:\n\n```\nDIR_NAME=demo1\nBASE_PATH='/Users/varun.tomar/Documents/personal_github'\n\nmkdir -p $BASE_PATH/mauto/$DIR_NAME/demo-data/monitoring/static-files\n```\n\nverify if alertmanager config file exists:\n\n```\nmkdir -p $BASE_PATH/mauto/$DIR_NAME/demo-data/alertmanager\ncp $BASE_PATH/mauto/data/demo-data/alertmanager/config.yaml $BASE_PATH/mauto/$DIR_NAME/demo-data/alertmanager/config.yaml\n```\n\nverify if prometheus config file exists:\n\n```\nmkdir -p $BASE_PATH/mauto/junk/demo-data/monitoring/\ncp $BASE_PATH/mauto/data/demo-data/monitoring/config.yaml $BASE_PATH/mauto/junk/demo-data/monitoring/\n```\n\nverify .env file exists:\n\nCopy the `example.env` and create a .env file\n\nUpdate `src/automation/config.yaml`\n\n### How to use?\n\n- run `pip install mauto`\n- run `muato` for available options\n\n### Note: \n\n1. Trying to make it modular or plug and play type so new components can be added easily.\n\n2. I am using `click` to create python cli.\n\n3. Python 3.6 and above is required\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomarv2%2Fkumauto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomarv2%2Fkumauto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomarv2%2Fkumauto/lists"}