# ExaCheck - ExaBGP Service Health Checker
[ExaCheck](https://github.com/exacheck/exacheck) works in conjunction with [ExaBGP](https://github.com/Exa-Networks/exabgp) to health check services and announce BGP routes depending on the state of the service.
For additional information, deployment instructions and configuration examples please check the [ExaCheck website](https://exacheck.net).
## Why ExaCheck
ExaBGP is packaged with its own health checking script ([see here](https://github.com/Exa-Networks/exabgp/blob/main/src/exabgp/application/healthcheck.py)) however it has some limitations which make it not suitable for my requirements. The built in health check works fine for smaller environments where each service may be running its own instance of ExaBGP (so each instance of ExaBGP runs one or only a few processes) however for larger environments where health checks are centralised it becomes unmanageable.
Some features from the built in ExaBGP health checking script are **not** available as they are not relevant to the use case for me:
- Management of IP address binding; the main use case of ExaCheck is for centralised health checks where the service resides on another server/container/VM
### Features
- Live configuration reloads (adding/modifying/removing services)
- Health checks implemented in pure python where possible; no need to write scripts or use chains of commands to validate output
- Detailed logging available
- Configuration validation (if using live configuration reloads, configuration is validated before application)
- Out of the box sane defaults where possible
- JSON schema of configuration (see [schema.json][ExaCheck Configuration Schema] for the current schema)
## Known Issues
If installing Exacheck with Python 3.12 or higher, ExaBGP is not included as a requirement and you must install ExaBGP from source. If using ExaBGP from PyPi using Python 3.12 you will get the following error when running ExaBGP:
```bash
ModuleNotFoundError: No module named 'exabgp.vendoring.six.moves'
```
To work around the problem, install ExaBGP from source:
```bash
python3 -m pip --no-cache-dir install "git+https://github.com/Exa-Networks/exabgp.git@4.2"
```
If you are using the Docker container you do not need to do anything.
[ExaCheck Configuration Schema]: https://github.com/exacheck/exacheck/blob/main/schema.json
Raw data
{
"_id": null,
"home_page": "https://exacheck.net",
"name": "exacheck",
"maintainer": null,
"docs_url": null,
"requires_python": "<=3.13,>=3.10",
"maintainer_email": null,
"keywords": "bgp, exabgp, healthcheck, monitoring, network, networking, networks, routes, routing",
"author": "Chris",
"author_email": "info@exacheck.net",
"download_url": "https://files.pythonhosted.org/packages/21/52/f6e84da9c9ecac53204067619fab545447a2bedfb3cbe0b0549a60c766e5/exacheck-0.1.5.tar.gz",
"platform": null,
"description": "# ExaCheck - ExaBGP Service Health Checker\n\n[ExaCheck](https://github.com/exacheck/exacheck) works in conjunction with [ExaBGP](https://github.com/Exa-Networks/exabgp) to health check services and announce BGP routes depending on the state of the service.\n\nFor additional information, deployment instructions and configuration examples please check the [ExaCheck website](https://exacheck.net).\n\n## Why ExaCheck\n\nExaBGP is packaged with its own health checking script ([see here](https://github.com/Exa-Networks/exabgp/blob/main/src/exabgp/application/healthcheck.py)) however it has some limitations which make it not suitable for my requirements. The built in health check works fine for smaller environments where each service may be running its own instance of ExaBGP (so each instance of ExaBGP runs one or only a few processes) however for larger environments where health checks are centralised it becomes unmanageable.\n\nSome features from the built in ExaBGP health checking script are **not** available as they are not relevant to the use case for me:\n\n- Management of IP address binding; the main use case of ExaCheck is for centralised health checks where the service resides on another server/container/VM\n\n### Features\n\n- Live configuration reloads (adding/modifying/removing services)\n- Health checks implemented in pure python where possible; no need to write scripts or use chains of commands to validate output\n- Detailed logging available\n- Configuration validation (if using live configuration reloads, configuration is validated before application)\n- Out of the box sane defaults where possible\n- JSON schema of configuration (see [schema.json][ExaCheck Configuration Schema] for the current schema)\n\n## Known Issues\n\nIf installing Exacheck with Python 3.12 or higher, ExaBGP is not included as a requirement and you must install ExaBGP from source. If using ExaBGP from PyPi using Python 3.12 you will get the following error when running ExaBGP:\n\n```bash\nModuleNotFoundError: No module named 'exabgp.vendoring.six.moves'\n```\n\nTo work around the problem, install ExaBGP from source:\n\n```bash\npython3 -m pip --no-cache-dir install \"git+https://github.com/Exa-Networks/exabgp.git@4.2\"\n```\n\nIf you are using the Docker container you do not need to do anything.\n\n[ExaCheck Configuration Schema]: https://github.com/exacheck/exacheck/blob/main/schema.json\n",
"bugtrack_url": null,
"license": null,
"summary": "ExaCheck - ExaBGP Health Checker",
"version": "0.1.5",
"project_urls": {
"Changelog": "https://exacheck.net/development/changelog/",
"Configuration": "https://exacheck.net/configuration/",
"Docker Deployment": "https://exacheck.net/deployment/docker/",
"Documentation": "https://exacheck.net/deployment/",
"Homepage": "https://exacheck.net",
"Repository": "https://github.com/exacheck/exacheck"
},
"split_keywords": [
"bgp",
" exabgp",
" healthcheck",
" monitoring",
" network",
" networking",
" networks",
" routes",
" routing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dff35f5c73475dd533d8b1e09896590b9e505967cc362c786ba08229baf1a37a",
"md5": "9d823047e307ce1bfa9bbb6e59743e60",
"sha256": "82883f0a13c2e625dff961032d64f1f7c2cfb94b575dc60c9b4094b42459c15d"
},
"downloads": -1,
"filename": "exacheck-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9d823047e307ce1bfa9bbb6e59743e60",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<=3.13,>=3.10",
"size": 67912,
"upload_time": "2024-10-29T08:06:52",
"upload_time_iso_8601": "2024-10-29T08:06:52.835449Z",
"url": "https://files.pythonhosted.org/packages/df/f3/5f5c73475dd533d8b1e09896590b9e505967cc362c786ba08229baf1a37a/exacheck-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2152f6e84da9c9ecac53204067619fab545447a2bedfb3cbe0b0549a60c766e5",
"md5": "ccf917d8e84e3940477c9194a50d6cda",
"sha256": "e30fb688df756adaa6b5fe1812064c0e3a8749d8d04c70d68063185238221684"
},
"downloads": -1,
"filename": "exacheck-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "ccf917d8e84e3940477c9194a50d6cda",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<=3.13,>=3.10",
"size": 47023,
"upload_time": "2024-10-29T08:06:54",
"upload_time_iso_8601": "2024-10-29T08:06:54.774548Z",
"url": "https://files.pythonhosted.org/packages/21/52/f6e84da9c9ecac53204067619fab545447a2bedfb3cbe0b0549a60c766e5/exacheck-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-29 08:06:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "exacheck",
"github_project": "exacheck",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "exacheck"
}