{"id":26096325,"url":"https://github.com/echocat/site24x7_exporter","last_synced_at":"2025-04-12T11:45:30.501Z","repository":{"id":144204128,"uuid":"64683574","full_name":"echocat/site24x7_exporter","owner":"echocat","description":"site24x7 exporter for prometheus.io, written in go.","archived":false,"fork":false,"pushed_at":"2023-02-15T09:50:23.000Z","size":230,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T06:34:29.092Z","etag":null,"topics":["docker","echocat","exporter","prometheus","site24x7"],"latest_commit_sha":null,"homepage":"https://github.com/echocat/site24x7_exporter","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/echocat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-01T16:32:20.000Z","updated_at":"2023-02-15T09:49:42.000Z","dependencies_parsed_at":"2023-05-27T22:30:39.545Z","dependency_job_id":null,"html_url":"https://github.com/echocat/site24x7_exporter","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echocat%2Fsite24x7_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echocat%2Fsite24x7_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echocat%2Fsite24x7_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echocat%2Fsite24x7_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/echocat","download_url":"https://codeload.github.com/echocat/site24x7_exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564499,"owners_count":21125407,"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":["docker","echocat","exporter","prometheus","site24x7"],"created_at":"2025-03-09T14:45:03.291Z","updated_at":"2025-04-12T11:45:30.495Z","avatar_url":"https://github.com/echocat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# site24x7 Exporter\n\nsite24x7 exporter for prometheus.io, written in go.\n\n## Get it\n\n### Binary distribution\n\nDownload your version from the [releases page](https://github.com/echocat/site24x7_exporter/releases/latest). For older version see [archive page](https://github.com/echocat/site24x7_exporter/releases).\n\nExample:\n```bash\nsudo curl -SL https://github.com/echocat/site24x7_exporter/releases/download/v0.1.5/site24x7_exporter-linux-amd64 \\\n    \u003e /usr/bin/site24x7_exporter\nsudo chmod +x /usr/bin/site24x7_exporter\n```\n\n### Docker image\n\nImage: ``docker pull echocat/site24x7_exporter``\n\nYou can go to [Docker Hub Tags page](https://hub.docker.com/r/echocat/site24x7_exporter/tags/) to see all available tags or you can simply use ``latest``.\n\n## Use it\n\n### Usage\n\n```\nUsage: site24x7_exporter \u003cflags\u003e\nFlags:\n  -site24x7.timeout duration\n        Timeout for trying to get stats from site24x7. (default 5s)\n  -site24x7.token string\n        Token to access the API of site24x7.\n        See: https://www.site24x7.com/app/client#/admin/developer/api\n  -web.listen-address string\n        Address to listen on for web interface and telemetry. (default \":9112\")\n  -web.telemetry-path string\n        Path under which to expose metrics. (default \"/metrics\")\n  -web.tls-cert string\n        Path to PEM file that conains the certificate (and optionally also the private key in PEM format).\n        This should include the whole certificate chain.\n        If provided: The web socket will be a HTTPS socket.\n        If not provided: Only HTTP.\n  -web.tls-client-ca string\n        Path to PEM file that conains the CAs that are trused for client connections.\n        If provided: Connecting clients should present a certificate signed by one of this CAs.\n        If not provided: Every client will be accepted.\n  -web.tls-private-key string\n        Path to PEM file that contains the private key (if not contained in web.tls-cert file).\n```\n\n### Examples\n\n#### Binary distribution\n\n```bash\n# Simply start the exporter with your token and listen on 0.0.0.0:9112\nsite24x7_exporter \\\n    -site24x7.token=mySecrectToken\n\n# Start the exporter with your token and listen on 0.0.0.0:9112\n# ...it also secures the connector via SSL \nsite24x7_exporter \\\n    -listen.address=:8443 \\\n    -web.tls-cert=my.server.com.pem\n\n# Simply start the exporter with your token and listen on 0.0.0.0:9112\n# ...secures the connector via SSL\n# ...and requires client certificates signed by your authority\nsite24x7_exporter \\\n    -listen.address=:8443 \\\n    -web.tls-cert=my.server.com.pem \\\n    -web.tls-client-ca=ca.pem\n```\n\n#### Docker image\n\n```bash\n# Simply start the exporter with your token and listen on 0.0.0.0:9112\ndocker run -p9112:9112 echocat/site24x7_exporter \\\n    -site24x7.token=mySecrectToken\n\n# Start the exporter with your token and listen on 0.0.0.0:9112\n# ...it also secures the connector via SSL \ndocker run -p9112:9112 -v/etc/certs:/etc/certs:ro echocat/site24x7_exporter \\\n    -listen.address=:8443 \\\n    -web.tls-cert=/etc/certs/my.server.com.pem\n\n# Simply start the exporter with your token and listen on 0.0.0.0:9112\n# ...secures the connector via SSL\n# ...and requires client certificates signed by your authority\ndocker run -p9112:9112 -v/etc/certs:/etc/certs:ro echocat/site24x7_exporter \\\n    -listen.address=:8443 \\\n    -web.tls-cert=my.server.com.pem \\\n    -web.tls-client-ca=ca.pem\n```\n\n## Metrics\n\n### ``site24x7_monitor_status``\n\n**Type**: Counter\n\n#### Labels\n\n| Name | Example | Description |\n| ---- | ------- | ----------- |\n| ``monitorId`` | ``123456789012345678`` | Internal ID assigned by site24x7 of monitor |\n| ``monitorDisplayName`` | ``My service`` | Display name assigned by you of monitor |\n| ``monitorGroupId`` | ``123456789012345678`` | Internal ID assigned by site24x7 of monitor group (optional) |\n| ``monitorGroupDisplayName`` | ``My data center`` | Display name assigned by you of monitor group  (optional) |\n\n#### Possible values\n\n| Value | Description |\n| ----- | ----------- |\n| ``0`` | Down |\n| ``1`` | Up |\n| ``2`` | Trouble |\n| ``5`` | Suspended |\n| ``7`` | Maintenance |\n| ``9`` | Discovery |\n| ``10`` | Discovery Error |\n\n## Contributing\n\nsite24x7_exporter is an open source project of [echocat](https://echocat.org).\nSo if you want to make this project even better, you can contribute to this project on [Github](https://github.com/echocat/site24x7_exporter)\nby [fork us](https://github.com/echocat/site24x7_exporter/fork).\n\nIf you commit code to this project you have to accept that this code will be released under the [license](#license) of this project.\n\n\n## License\n\nSee [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechocat%2Fsite24x7_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fechocat%2Fsite24x7_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechocat%2Fsite24x7_exporter/lists"}