{"id":16774702,"url":"https://github.com/leonjza/nutstat","last_synced_at":"2025-04-10T20:06:56.724Z","repository":{"id":145680391,"uuid":"218162331","full_name":"leonjza/nutstat","owner":"leonjza","description":"🔌 a Network UPS Tools (NUT) to InfluxDB exporter, written in Go","archived":false,"fork":false,"pushed_at":"2019-12-10T04:27:26.000Z","size":21,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T05:05:58.060Z","etag":null,"topics":["docker","grafana","influxdb","monitor","nut","ups"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leonjza.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}},"created_at":"2019-10-28T23:12:11.000Z","updated_at":"2024-04-14T14:07:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"100c92f6-aee1-4c90-bc1d-eac5c58018d3","html_url":"https://github.com/leonjza/nutstat","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/leonjza%2Fnutstat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fnutstat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fnutstat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fnutstat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonjza","download_url":"https://codeload.github.com/leonjza/nutstat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248288346,"owners_count":21078903,"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","grafana","influxdb","monitor","nut","ups"],"created_at":"2024-10-13T06:49:54.088Z","updated_at":"2025-04-10T20:06:56.682Z","avatar_url":"https://github.com/leonjza.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nutstat\n\nA simple Network UPS Tools (NUT) to InfluxDB exporter.\n\n## why\n\nTo build myself a neat Grafana dashboard like this...\n\n![](https://i.imgur.com/dsTc0lg.png)\n\n## usage\nI use this with docker, but using docker-compose. If you want to check your configuration, do something like this:\n\n```bash\ndocker run --rm -v $(pwd)/nutstat.yml:/config/nutstat.yml --network stats nutstat:local --config /config/nutstat.yml check\n```\n\nThis `docker-compose.yml` should be good to get you started. You need `nutstat.yml` to be configured with your values. After saving both, start importing stats with `docker-compose up --build -d`.\n\n```yml\nversion: \"3\"\nservices:\n  nutstat:\n    build:\n      context: https://github.com/leonjza/nutstat.git\n      dockerfile: Dockerfile\n    image: nutstat:local\n    command: --config /config/nutstat.yml update\n    container_name: nutstat\n    volumes:\n      - ./config/nutstat.yml:/config/nutstat.yml\n    restart: unless-stopped\n    networks:\n      - stats\n\nnetworks:\n  stats:\n    external: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonjza%2Fnutstat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonjza%2Fnutstat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonjza%2Fnutstat/lists"}