SGE exporter for prometheus based on the gridengine_prometheus project. Please check the project for grafana dashboard json file and other information.
This project does:
- compiles the gridengine_prometheus project and grabs the gridengine_exporter binary.
- encapsulates the gridengine_exporter into a debian image that allows it to run.
After clone, please run docker build.
You may run it using docker run as:
docker run -v /var/lib/gridengine:/var/lib/gridengine:ro -v /usr/lib/gridengine:/usr/lib/gridengine:ro -e SGE_CELL=YOUR_SGE_CELL -e PORT=YOUR_PORT sge_exporter
or via docker-compose as:
version: '2'
services:
sge-exporter:
image: sge_exporter
environment:
SGE_CELL: "YOUR_SGE_CELL"
PORT: "YOUR_PORT"
volumes:
- /var/lib/gridengine:/var/lib/gridengine:ro
# - /usr/bin:/usr/bin:ro
# - /usr/share/gridengine:/usr/share/gridengine:ro
- /usr/lib/gridengine:/usr/lib/gridengine:ro
network_mode: "host"