Skip to content

opennms-forge/timeseries-integration-influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenNMS InfluxDB Plugin CircleCI

This plugin exposes an implementation of the TimeSeriesStorage interface. It stores the data in a InfluxDB database. It can be used in OpenNMS to store and retrieve timeseries data.

Prerequisite

  • A running instance of influxdb must be available.
  • For testing purposes you can run: docker run -d -p 8086:8086 -v $PWD:/var/lib/influxdb2 influxdb:2.0.7

Usage

Build and install the plugin into your local Maven repository using:

mvn clean install

From the OpenNMS Karaf shell:

feature:repo-add mvn:org.opennms.plugins.timeseries/influxdb-karaf-features/1.0.0-SNAPSHOT/xml
feature:install opennms-plugins-influxdb

Initialize InfluxDB with an organization and bucket:

opennms-influxdb:init --link http://localhost:8086

Use the create org and bucket:

config:edit org.opennms.plugins.influxdb
property-set bucket opennms
property-set org opennms
property-set token "FSuqxbAXTxgiI-6-KtYFZJZwJDfYpOOOEpgpBdOaX5zLo4MiFvWN4hWFu0kSOtQO-XnyNUWQrsqTrrdHl1BYBg=="
property-set url http://localhost:8086
config:update

Update automatically:

bundle:watch *

Links:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages