{"id":24225897,"url":"https://github.com/thriqon/xycrd","last_synced_at":"2026-06-07T11:32:24.906Z","repository":{"id":48607039,"uuid":"368319527","full_name":"thriqon/xycrd","owner":"thriqon","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-18T13:03:31.000Z","size":33,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T04:13:46.868Z","etag":null,"topics":["crd","kubernetes","xymon"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thriqon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-17T20:54:30.000Z","updated_at":"2021-07-18T13:03:30.000Z","dependencies_parsed_at":"2022-09-11T02:51:27.280Z","dependency_job_id":null,"html_url":"https://github.com/thriqon/xycrd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/thriqon/xycrd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thriqon%2Fxycrd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thriqon%2Fxycrd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thriqon%2Fxycrd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thriqon%2Fxycrd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thriqon","download_url":"https://codeload.github.com/thriqon/xycrd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thriqon%2Fxycrd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34020187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["crd","kubernetes","xymon"],"created_at":"2025-01-14T08:16:43.235Z","updated_at":"2026-06-07T11:32:24.886Z","avatar_url":"https://github.com/thriqon.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xycrd\n\nGenerate [Xymon][1] `hosts.cfg` snippets for services in [Kubernetes][2].\n\n## Design Considerations\n\n* A single configuration file allows inclusion via `option include \u003cpath\u003e` directly in the main `hosts.cfg`, cleanup of the config file is not required.\n* Multiple Kubernetes object updates are batched into a single rewrite of the configuration file with a configurable rewrite/reload delay. This incurs a certain delay for most updates, but this usually not really noticable.\n* Cleanup (`drop ...`) is not implemented right now, as deletion of Endpoint is unusual. Version 2 might support it, though.\n* This tool makes the simple case easy (a single URL check with optional content check), and provides an escape hatch to set additional Xymon tags.\n\nPlease note that there is no way to set global tags for all monitors. If this is needed, use `.default.` hosts prior to `optional include`, and reset them afterwards. See [`man hosts.cfg`][3] for reference.\n\n## Installation\n\nOn Debian-compatible systems, use the package from the latest release and install it with `dpkg`.\n\nOn other systems, use the binary from the latest release and run it using `xymonlaunch`.\n\n## Getting Started\n\n1. After installation, `xycrd` stores the generated file (by default) in `/var/lib/xycrd/`. Include the snippet into the main `hosts.cfg`:  \n```bash\noptional include /var/lib/xycrd/xycrd.cfg\n```\n2. Add the CRD to Kubernetes:  \n```bash\nxycrd --print-install-files | kubectl apply -f -\n```\n3. Create `EndpointMonitor`s:\n```yaml\nkubectl apply -f - \u003c\u003cEOF\nkind: EndpointMonitor\napiVersion: xycrd.thriqon.github.io/v1alpha1\nmetadata:\n  name: icanhazip\nspec:\n  url: https://icanhazip.com/\nEOF\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2021 Jonas Weber\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n[1]: https://www.xymon.com/\n[2]: https://kubernetes.io/\n[3]: https://xymon.sourceforge.io/xymon/help/manpages/man5/hosts.cfg.5.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthriqon%2Fxycrd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthriqon%2Fxycrd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthriqon%2Fxycrd/lists"}