Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

HornaHomeLab/GreenCell_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GreenCell_exporter

CodeQL CI/CD

version: 0.0.2

Prometheus Exporter for GreenCell UPS APP

It is containerized FastAPI based application to expose UPS metrics provided by GC UPS APP.

GC APP is queried when /metrics endpoint is accessed, which means that if the exporter is not in use it do not generate traffic.

Sample Grafana dashboard

Dashboard is available for import here

UPS

image

How to run

  1. Create the .env file to provide necessary values specified in Parameters section.
  2. Build docker image using docker compose build
  3. Start docker compose using docker compose up -d
  4. Metrics will be available at http://<your_hostname>:51772/metrics

Important

.env file filled with data from table should be saved in ./app directory before building docker image.

Parameters

Name Description
GC_PASSWORD Password to log in to GC remote access panel.
GC_APP_IP IP address of host which is running GC APP.
GC_APP_PORT Port on which GC APP is accessible
GC_APP_PROTOCOL Protocol used to access GC APP (http / https)

About

Prometheus exporter for UPS stats provided by GreenCell UPS App

Topics

Resources

Stars

Watchers

Forks

Languages

  • Python 98.9%
  • Dockerfile 1.1%