Skip to content

Implementation of AMD ROCm System Management Interface (SMI) Input Plugin plugin in a docker container

Notifications You must be signed in to change notification settings

toodaniels/telegraf-rocm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegraf rocm_smi

Implementation of AMD ROCm System Management Interface (SMI) Input Plugin plugin in a docker container

Usage

  • Clone this repo

  • Build the image docker build -t telegraf-rocm . or pull the image docker pull toodaniels/telegraf-rocm

  • Run with /dev/dri/ volume

    docker run -ti --device /dev/dri/:/dev/dri/ toodaniels/telegraf-rocm /opt/rocm/bin/rocm-smi --showid

Compose

---
version: '3.8'
services:

    influxdb:
        image: influxdb:2.6-alpine
        env_file:
        - influxv2.env
        volumes:
        # Mount for influxdb data directory and configuration
        - influxdbv2:/var/lib/influxdb2:rw
        ports:
        - "8086:8086"
    telegraf:
        iamge: toodaniels/telegraf-rocm
        devices:
        - /dev/dri/:/dev/dri/
        depends_on:
        - influxdb
        volumes:
        # Mount for telegraf config
        - ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
        #- ./rocm/bin/rocm-smi:/opt/rocm/bin/rocm-smi
        env_file:
        - influxv2.env

Resources

About

Implementation of AMD ROCm System Management Interface (SMI) Input Plugin plugin in a docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published