{"id":17366220,"url":"https://github.com/jzck/prometheus-upsc-exporter","last_synced_at":"2025-05-12T15:25:56.975Z","repository":{"id":88402460,"uuid":"196842017","full_name":"jzck/prometheus-upsc-exporter","owner":"jzck","description":":electric_plug: Network UPS Tools exporter","archived":false,"fork":false,"pushed_at":"2019-12-23T15:46:56.000Z","size":3,"stargazers_count":14,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T09:58:26.731Z","etag":null,"topics":["exporter","grafana","nut","prometheus","ups","upsc"],"latest_commit_sha":null,"homepage":"","language":"Awk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jzck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-07-14T13:48:49.000Z","updated_at":"2025-04-29T02:52:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd55656c-0b69-4073-bbcd-e91c7f62227a","html_url":"https://github.com/jzck/prometheus-upsc-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/jzck%2Fprometheus-upsc-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzck%2Fprometheus-upsc-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzck%2Fprometheus-upsc-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzck%2Fprometheus-upsc-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jzck","download_url":"https://codeload.github.com/jzck/prometheus-upsc-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253764663,"owners_count":21960603,"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":["exporter","grafana","nut","prometheus","ups","upsc"],"created_at":"2024-10-15T21:34:43.551Z","updated_at":"2025-05-12T15:25:56.941Z","avatar_url":"https://github.com/jzck.png","language":"Awk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prometheus_upsc_exporter\n\nlightweight docker build for exporting nut's `upsc` into prometheus.\n\ncontainer listens on `:9614`\n\n# Examples\n\n## simplest docker run example\n\n`docker run -p9614:9614 -d jzck/upsc-exporter -e UPS_TARGET=ups@localhost --network=host`\n\nMake sure an `upsd` server is running on the host so that `upsc` can contact it.\n\n## docker-compose with nut-upsd server\n\nbasic compose setup with `upshift/nut-upsd`\n\n```\nservices:\n  nut-upsd:\n    image: upshift/nut-upsd\n    user: root\n    restart: unless-stopped\n    privileged: true\n    expose:\n      - 3493\n    environment:\n      - \"SHUTDOWN_CMD=shutdown -h now\"\n      - \"API_USER=upsmon\"\n      - \"API_PASSWORD=secret\"\n\n  prom-upsc:\n    image: jzck/upsc-exporter\n    restart: unless-stopped\n    depends_on:\n      - nut-upsd\n    environment:\n      - \"UPS_TARGET=ups@nut-upsd:3493\"\n    expose:\n      - 9614\n```\n\nCan also be used with another `upsd`, just make sure the container can see the\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjzck%2Fprometheus-upsc-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjzck%2Fprometheus-upsc-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjzck%2Fprometheus-upsc-exporter/lists"}