{"id":19096610,"url":"https://github.com/sapcc/vcsa-exporter","last_synced_at":"2025-04-30T14:11:44.091Z","repository":{"id":41954549,"uuid":"274606767","full_name":"sapcc/vcsa-exporter","owner":"sapcc","description":"Service status exporter for VMware vSphere","archived":false,"fork":false,"pushed_at":"2023-12-15T20:25:28.000Z","size":74,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-04-19T03:36:35.143Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sapcc.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":"2020-06-24T07:41:58.000Z","updated_at":"2023-10-17T14:57:19.000Z","dependencies_parsed_at":"2022-08-12T00:31:07.424Z","dependency_job_id":"0a52017d-e934-4708-8ffa-dbb18c2cba28","html_url":"https://github.com/sapcc/vcsa-exporter","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/sapcc%2Fvcsa-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fvcsa-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fvcsa-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fvcsa-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sapcc","download_url":"https://codeload.github.com/sapcc/vcsa-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251717771,"owners_count":21632354,"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":["hacktoberfest"],"created_at":"2024-11-09T03:37:14.085Z","updated_at":"2025-04-30T14:11:44.029Z","avatar_url":"https://github.com/sapcc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Note: The exporter is no longer maintained\n\n# vcsa-exporter\n\nThis is an exporter using [vCenter Server Appliance (Management) API](https://code.vmware.com/apis/60/vcenter-server-appliance-management) via REST. \nIdea is, to have different collectors for the different REST paths, since their output is very different (and therefore the parsing).\n\nCurrent collectors:\n* `vmon/service`: vCSA service health states.\n* `logging/forwarding`: Checks the log forwarding to syslog hosts.\n\n## Running the exporter\n\nThe exporter is supporting master password (mpw). If you aren't using it, you can specify a dedicated pw, which will take precedence. Let's give an example with a dedicated password:\n\n```\npython3 exporter.py -a vcenter.json  -o 9010 -u \"username\" -p \"password\"\n```\n\nYou can use the given Dockerfile to build and use the docker container for an easy rampup\n\n```\nmake\ndocker run -it vcsa-exporter:0.1 sh\n```\n\nWe are using [atlas](https://github.com/sapcc/atlas) http service endpoint to get `vcenter.json` served automatically; built from netbox. However, you can assemlbe the file on your own too:\n\n```json\n[\n    {\n        \"targets\": [\n            \"10.10.10.15\"\n        ],\n        \"labels\": {\n            \"job\": \"vcenter\",\n            \"metrics_label\": \"vcenter\",\n            \"role\": \"virtual-appliance\",\n            \"server_id\": \"1\",\n            \"server_name\": \"some-vcenter.localdomain\",\n            \"state\": \"Active\"\n        }\n    }\n\n]\n```\n\n## Adding a collector\n\nA new collector has to go to `collectors/`. Respective API call goes to `rest.yaml`.\nMaybe this is going to be supplemented by some endpoint discovery in future, feel free to add it if you love to have it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fvcsa-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapcc%2Fvcsa-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fvcsa-exporter/lists"}