{"id":16845052,"url":"https://github.com/phenixblue/alertmanager-alert-test","last_synced_at":"2025-03-18T06:24:09.957Z","repository":{"id":78646792,"uuid":"121202134","full_name":"phenixblue/alertmanager-alert-test","owner":"phenixblue","description":"Items for use with Prometheus AlertManager","archived":false,"fork":false,"pushed_at":"2019-01-08T21:46:17.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T13:13:23.198Z","etag":null,"topics":["alertmanager","prometheus","script","test"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/phenixblue.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-12T05:01:47.000Z","updated_at":"2019-01-30T19:46:39.000Z","dependencies_parsed_at":"2023-05-05T20:36:45.803Z","dependency_job_id":null,"html_url":"https://github.com/phenixblue/alertmanager-alert-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phenixblue%2Falertmanager-alert-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phenixblue%2Falertmanager-alert-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phenixblue%2Falertmanager-alert-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phenixblue%2Falertmanager-alert-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phenixblue","download_url":"https://codeload.github.com/phenixblue/alertmanager-alert-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244167630,"owners_count":20409358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","prometheus","script","test"],"created_at":"2024-10-13T12:57:30.533Z","updated_at":"2025-03-18T06:24:09.940Z","avatar_url":"https://github.com/phenixblue.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Alert Test for Prometheus AlertManager\n\nThis script was written to supply a method for generating an alert manually for Prometheus/AlertManager to validate\nchanges to the monitoring/alerting system. At the time this was written the target platform was CoreOS Tectonics.\nI've tried to make it as flexible as possible, so it may work with other platforms with little to no modification.\n\nAs always.......this is not supported, **USE AT YOUR OWN RISK!!!**\n\n```sh\nUsage: alert-test.rb [options]\n\nSpecific options:\n    -e, --endpoint ENDPOINT_URL      Specify the full endpoint URL for Alert Manager if the base domain is different than the default\n    -c, --cluster CLUSTER_NAME       Specify the cluster to work in. This assumes the default base domain: \"k8s.example.com\"\n    -u, --user USERNAME              Specify the username of for the AlertManager Instance.\n    -h, --help\n```\n\n\n## NOTES\n\nNormal operation of the script only requires you to supply a K8's cluster.\n\n```sh\n./alert-test.rb -c cluster1\n```\n\n\nThis script assumes a base domain of \"k8s.example.com: and an alertmanager url that\nstarts with **\"https://alertmanager.xxxx\"**. If the target url is different, in any way, use\nthe **\"-e\"** option to supply the full endpoint url.\n\n```sh\nalert-test.rb -u customurl.context.domain.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphenixblue%2Falertmanager-alert-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphenixblue%2Falertmanager-alert-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphenixblue%2Falertmanager-alert-test/lists"}