fritz-exporter


Namefritz-exporter JSON
Version 2.5.0 PyPI version JSON
download
home_pagehttps://github.com/pdreker/fritz_exporter
SummaryPrometheus exporter for AVM Fritz! Devices
upload_time2024-03-13 13:38:42
maintainer
docs_urlNone
authorPatrick Dreker
requires_python>=3.11,<4.0
licenseApache 2.0
keywords prometheus fritz router grafana
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Fritz! exporter for prometheus

[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=coverage)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter)

![ReadTheDocs](https://readthedocs.org/projects/docs/badge/?version=latest) ![Dependabot](https://img.shields.io/badge/dependabot-025E8C?style=flat&logo=dependabot&logoColor=white) ![Tests](https://img.shields.io/github/actions/workflow/status/pdreker/fritz_exporter/run-tests.yaml?label=Tests) ![Build](https://img.shields.io/github/actions/workflow/status/pdreker/fritz_exporter/build-trunk.yaml?branch=main)

This is a prometheus exporter for AVM Fritz! home network devices commonly found in Europe. This exporter uses the devices builtin TR-064 API via the fritzconnection python module.

The exporter should work with Fritz!Box and Fritz!Repeater Devices (and maybe others). It actively checks for supported metrics and queries the for all devices configured (Yes, it has multi-device support for all you Mesh users out there.)

It has been tested against an AVM Fritz!Box 7590 (DSL), a Fritz!Repeater 2400 and a Fritz!WLAN Repeater 1750E. If you have another box and data is missing, please file an issue or PR on GitHub.

## Documentation

Check out the full documentation at [ReadTheDocs](https://fritz-exporter.readthedocs.io/)

## Attention - Prometheus required

As the scope of this exporter lies on a typical home device, this also means that there are a lot of people interested in it, who may not have had any contact with [Prometheus](https://prometheus.io/). As a result if this there have been some misunderstandings in the past, how this all works.

To avoid frustration you will need to know this:

**You must setup and configure Prometheus separately!** If you are running in plain docker or docker-compose there is a docker-compose setup for Prometheus at <https://github.com/vegasbrianc/prometheus> which also includes Grafana to actually produce dashboards. This may work out of the box or can be used as a starting point.

The whole setup required is:

* fritz_exporter: connects to your Fritz device, reads the metrics and makes them available in a format Prometheus understands
* prometheus: connects to the exporter at regular time intervals, reads the data and stores it in its database
* grafana: connects to prometheus and can query the database of metrics for timeseries and create dashboards from it.

**You cannot connect grafana to the exporter directly. This will not work**.

Please check the "Quickstart" in the documentation at [ReadTheDocs](https://fritz-exporter.readthedocs.io) for a simple setup.

## Disclaimer

Fritz! and AVM are registered trademarks of AVM GmbH. This project is not associated with AVM or Fritz other than using the devices and their names to refer to them.

## Copyright

Copyright 2019-2024 Patrick Dreker <patrick@dreker.de>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  <http://www.apache.org/licenses/LICENSE-2.0>

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pdreker/fritz_exporter",
    "name": "fritz-exporter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "prometheus,fritz,router,grafana",
    "author": "Patrick Dreker",
    "author_email": "patrick@dreker.de",
    "download_url": "https://files.pythonhosted.org/packages/ae/e7/7a62ac8e30bb56bd46b12db4ff497f9b40b6c04cd85eb817b30511f44072/fritz_exporter-2.5.0.tar.gz",
    "platform": null,
    "description": "# Fritz! exporter for prometheus\n\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=coverage)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=pdreker_fritz_exporter&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=pdreker_fritz_exporter)\n\n![ReadTheDocs](https://readthedocs.org/projects/docs/badge/?version=latest) ![Dependabot](https://img.shields.io/badge/dependabot-025E8C?style=flat&logo=dependabot&logoColor=white) ![Tests](https://img.shields.io/github/actions/workflow/status/pdreker/fritz_exporter/run-tests.yaml?label=Tests) ![Build](https://img.shields.io/github/actions/workflow/status/pdreker/fritz_exporter/build-trunk.yaml?branch=main)\n\nThis is a prometheus exporter for AVM Fritz! home network devices commonly found in Europe. This exporter uses the devices builtin TR-064 API via the fritzconnection python module.\n\nThe exporter should work with Fritz!Box and Fritz!Repeater Devices (and maybe others). It actively checks for supported metrics and queries the for all devices configured (Yes, it has multi-device support for all you Mesh users out there.)\n\nIt has been tested against an AVM Fritz!Box 7590 (DSL), a Fritz!Repeater 2400 and a Fritz!WLAN Repeater 1750E. If you have another box and data is missing, please file an issue or PR on GitHub.\n\n## Documentation\n\nCheck out the full documentation at [ReadTheDocs](https://fritz-exporter.readthedocs.io/)\n\n## Attention - Prometheus required\n\nAs the scope of this exporter lies on a typical home device, this also means that there are a lot of people interested in it, who may not have had any contact with [Prometheus](https://prometheus.io/). As a result if this there have been some misunderstandings in the past, how this all works.\n\nTo avoid frustration you will need to know this:\n\n**You must setup and configure Prometheus separately!** If you are running in plain docker or docker-compose there is a docker-compose setup for Prometheus at <https://github.com/vegasbrianc/prometheus> which also includes Grafana to actually produce dashboards. This may work out of the box or can be used as a starting point.\n\nThe whole setup required is:\n\n* fritz_exporter: connects to your Fritz device, reads the metrics and makes them available in a format Prometheus understands\n* prometheus: connects to the exporter at regular time intervals, reads the data and stores it in its database\n* grafana: connects to prometheus and can query the database of metrics for timeseries and create dashboards from it.\n\n**You cannot connect grafana to the exporter directly. This will not work**.\n\nPlease check the \"Quickstart\" in the documentation at [ReadTheDocs](https://fritz-exporter.readthedocs.io) for a simple setup.\n\n## Disclaimer\n\nFritz! and AVM are registered trademarks of AVM GmbH. This project is not associated with AVM or Fritz other than using the devices and their names to refer to them.\n\n## Copyright\n\nCopyright 2019-2024 Patrick Dreker <patrick@dreker.de>\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n  <http://www.apache.org/licenses/LICENSE-2.0>\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Prometheus exporter for AVM Fritz! Devices",
    "version": "2.5.0",
    "project_urls": {
        "Documentation": "https://fritz-exporter.readthedocs.io",
        "Homepage": "https://github.com/pdreker/fritz_exporter",
        "Repository": "https://github.com/pdreker/fritz_exporter"
    },
    "split_keywords": [
        "prometheus",
        "fritz",
        "router",
        "grafana"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "136318f268c1d77fe9aaa0831a9a252dbbafd1e113ad2a98717d083a18d53178",
                "md5": "c225e0f7307fe7cdfeb5e0c213f76c14",
                "sha256": "604c21f1812c2b88ae035843079646d4218e546db15bd4c76cbdfe8c23b16acc"
            },
            "downloads": -1,
            "filename": "fritz_exporter-2.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c225e0f7307fe7cdfeb5e0c213f76c14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 30379,
            "upload_time": "2024-03-13T13:38:40",
            "upload_time_iso_8601": "2024-03-13T13:38:40.812848Z",
            "url": "https://files.pythonhosted.org/packages/13/63/18f268c1d77fe9aaa0831a9a252dbbafd1e113ad2a98717d083a18d53178/fritz_exporter-2.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aee77a62ac8e30bb56bd46b12db4ff497f9b40b6c04cd85eb817b30511f44072",
                "md5": "cb8bca3d45c3e47b0fe5109bb8dacede",
                "sha256": "141d91d7f8315a193bfff44ff8c7a6c7e643dfec3d40785069421f5541fc04bd"
            },
            "downloads": -1,
            "filename": "fritz_exporter-2.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "cb8bca3d45c3e47b0fe5109bb8dacede",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 22926,
            "upload_time": "2024-03-13T13:38:42",
            "upload_time_iso_8601": "2024-03-13T13:38:42.430388Z",
            "url": "https://files.pythonhosted.org/packages/ae/e7/7a62ac8e30bb56bd46b12db4ff497f9b40b6c04cd85eb817b30511f44072/fritz_exporter-2.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-13 13:38:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pdreker",
    "github_project": "fritz_exporter",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "fritz-exporter"
}
        
Elapsed time: 0.20602s