Sign inSign up

bendews/easyinflux

By bendews

•Updated over 9 years ago

Convenient solution for inputting common data metrics into InfluxDB

Image
1

50K+

bendews/easyinflux repository overview

⁠EasyInflux

Image Size Docker pull Github issues License

A Docker⁠ container that simplifies the collection of many common SNMP and IPMI data points to insert into InfluxDB.

Initial inspiration drawn from the work done by dencur⁠ in this blog post⁠

View image on Docker Hub⁠

⁠Preview of supported stats

Grafana Preview with EasyInflux stats

⁠Getting started

EasyInflux is... easy! All you need:

  • Configuration file
  • VMWare SNMP MIB files from VMWare KB 1013445⁠ (Only if monitoring ESXi hosts)
docker run -d --name easy-influx \
-v [PATH TO CONFIG FILE]:/config/config.yaml:ro \
-v [PATH TO MIB FOLDER]:/usr/share/snmp/mibs:ro \
bendews/easyinflux

⁠Configuration

A sample configuration file is located at root/sampleConfig.yaml. Please view the sample configuration file to get a better understanding of its options. Option descriptions are as follows:

⁠REQUIRED - influxdb
KeyDescription
hostnameThe hostname (or IP address) of the influxDB Server
portThe API port of the influxDB server (usually 8086)
databaseThe database for EasyInflux to write data to (a new database is recommended)
insert_intervalThe time interval in seconds that values are collected and sent to InfluxDB (a value of 30 or higher is recommended)
⁠Optional - esxi_hosts
KeyDescription
hostnameThe hostname (or IP address) of the ESXi Server
snmp_communityThe SNMP community string for this host
snmp_versionThe SNMP version for this host ("1" or "2c" supported at this time)
⁠Optional - synology_hosts
KeyDescription
hostnameThe hostname (or IP address) of the Synology Server
snmp_communityThe SNMP community string for this host
snmp_versionThe SNMP version for this host ("1" or "2c" supported at this time)
volumesThe volumes on the Synology host to be reported ("volume1", "volume2" etc.)
⁠Optional - ipmi_hosts
KeyDescription
hostnameThe hostname (or IP address) of the IPMI supported device
ipmi_usernameThe IPMI username for this host
ipmi_passwordThe IPMI password for this host
⁠Optional - ups_hosts
KeyDescription
hostnameThe hostname (or IP address) of the UPS SNMP interface
snmp_communityThe SNMP community string for this host
snmp_versionThe SNMP version for this host ("1" or "2c" supported at this time)

Note that ALL values should be string escaped (I.E, be within "quotation marks")

⁠License⁠

Tag summary

Content type

Image

Digest

Size

76.2 MB

Last updated

over 9 years ago

docker pull bendews/easyinflux