Skip to content

Haffon/chip-netdata-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Netdata plugin for C.H.I.P.

This is a lightweight plugin for netdata that generates charts for C.H.I.P.'s hardware sensors, such as the internal temperature and battery information. It is written in C to be highly efficient and has no external dependencies. Think of it as a much prettier version of battery.sh.

Installation

  1. Install Netdata
  2. Build & install chip.plugin:
curl -O https://raw.githubusercontent.com/jengel/chip-netdata-plugin/master/chip.plugin.c
gcc -o chip.plugin chip.plugin.c
sudo cp chip.plugin /usr/libexec/netdata/plugins.d/
sudo adduser netdata i2c
  1. (Optional) Restart netdata to immediately pick up the new plugin. Otherwise, it will be automatically recognized within 60 seconds.
killall netdata
/usr/sbin/netdata

Charts

Here is the list of the graphs it produces:

  • Internal temperature (°F)
  • ACIN voltage (mV) & current (mA)
  • Battery voltage (mV)
  • Battery level (%)
  • Battery charge & discharge current (mA)
  • VBUS voltage (mV), current (mA), & current limit (mA)

License

MIT License.

About

Netdata plugin for the CHIP computer. I want to learn netdata c plugin from this repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%