Skip to content

ARM CPU temperature exporter for Prometheus - Container builder

Notifications You must be signed in to change notification settings

carlosedp/docker-arm_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-arm_exporter

Build Status

ARM CPU temperature exporter for Prometheus. Exporter code by Lukas Malkmus

Usage:

Docker Run

Run the container in the same network as your Prometheus

docker run -d \
  --name=arm_exporter \
  --restart always \
  --net=monitoring \
  -p 9243:9243 \
  -v /etc/hostname:/etc/nodename:ro \
  -v /etc/localtime:/etc/localtime:ro \
  -v /etc/timezone:/etc/TZ:ro \
  carlosedp/arm_exporter

Docker Compose File (yml)

rpi-exporter:
    image: carlosedp/arm_exporter
    environment:
      - NODE_ID={{.Node.ID}}
    volumes:
      - /etc/hostname:/etc/nodename:ro
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/TZ:ro
    command:
      - '--collector.textfile.directory=/etc/rpi_exporter/'
    ports:
      - 9243:9243
    networks:
      - monitoring
    deploy:
      mode: global

networks:
  monitoring:
    driver: overlay

Docker Stack

docker stack deploy monitoring --compose-file docker-compose-monitoring.yml

Add target to Prometheus:

- job_name: 'node'
  scrape_interval: 10s
  dns_sd_configs:
  - names:
    - 'arm_exporter'
    type: 'A'
    port: 9243

Get images on DockerHub

About

ARM CPU temperature exporter for Prometheus - Container builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •