Không có mô tả

Nick Babcock 745aa76f9f Skip sensors without values 7 năm trước cách đây
LibreHardwareMonitor @ 28e20d2397 f439846293 Working version of ohm export to graphite 7 năm trước cách đây
OhmGraphite 745aa76f9f Skip sensors without values 7 năm trước cách đây
.gitattributes 8c87b003f4 Add .gitignore and .gitattributes. 7 năm trước cách đây
.gitignore 8c87b003f4 Add .gitignore and .gitattributes. 7 năm trước cách đây
.gitmodules f439846293 Working version of ohm export to graphite 7 năm trước cách đây
Dockerfile 6d5b7afc2d Use NLog built for docker 7 năm trước cách đây
LICENSE.txt 62a0c572e7 Add license and readme 7 năm trước cách đây
OhmGraphite.sln f439846293 Working version of ohm export to graphite 7 năm trước cách đây
README.md 8de684c33b Caveat on cross platform nature 7 năm trước cách đây

README.md

OhmGraphite

OhmGraphite takes the hard work of extracting hardware sensors from Open Hard Monitor (technically LibreHardwareMonitor for most up to date hardware) and exports the data in a graphite compatible format. If you're missing GPU, temperature, or power metrics in Grafana or (or other graphite UI), this tool is for you!

OhmGraphite functions as a console app (cross platform) or a Windows service that periodically polls the hardware. My recommendation is that even though OhmGraphite can be run via Mono / Docker, many hardware sensors aren't available in those modes.

Getting Started (Windows)

  • Create a directory that will home base for OhmGraphite (I use C:\Apps\OhmGraphite).
  • Download the latest zip and extract to our directory
  • Update app configuration (located at OhmGraphite.exe.config) to include the host and port of graphite and the hardware polling interval. This config can be updated, but a restart of the app is needed for affect

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <appSettings>
    <add key="host" value="localhost" />
    <add key="port" value="2003" />
    <add key="interval" value="5" />
    </appSettings>
    </configuration>
    
  • The app can be ran interactively by simply executing OhmGraphite.exe

  • To install the app .\OhmGraphite.exe install. The command will install OhmGraphite as a Windows service (so you can manage it with your favorite powershell commands or services.msc)

  • To start the app after installation: .\OhmGraphite.exe start or your favorite Windows service management tool

Getting Started (Docker)

Since the full gambit of metrics aren't available in a Docker container, I've refrained from putting the project on docker hub lest it misleads people to think otherwise.

docker build -t nickbabcock/ohm-graphite .
docker run -v $PWD/app.config:/opt/OhmGraphite/OhmGraphite.exe.config:ro nickbabcock/ohm-graphite

app.config is in the same format as the above configuration.