Opspack Marketplace

InfluxDB

InfluxDB Opspack Overview

InfluxDB is a TimeSeries database developed by InfluxData It is written in Go and optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, Internet of Things sensor data, and real-time analytics.

It provides the monitoring capabilities by providing SHOW STATS command available over HTTP query interface and on command line.

Using InfluxDB to view the Runtime Stats - Heap Summary set to a 30 second interval.

InfluxDB Opspack

What You Can Monitor

Opsview Monitor 5.3 now fully integrates with InfluxDB’s open-source time series database, allowing customers to capture more granular data over a longer period of time, enabling improved analytics. The addition of InfluxDB also helps IT teams collect and store detailed performance data that can be used to make more informed decisions. 

 

Prerequisites

The plugin was tested against versions 1.1 and 1.2.

Network Dependencies

HTTP port (by default 8086) opened for access from monitoring server.

Configuration

Quick Start Guide

To use the Opspack, follow these steps:

Step 1: Create a new host and add host template 'Application - InfluxDB' 

Step 2: Add a host attribute INFLUXDB_CREDENTIALS, and provide username/password if set. The default protocol schema is http, use https to use SSL. The default port is 8086 

Step 3: To use InfluxDB - Database service check, also include INFLUXDB_DATABASE and set its value to the name of database.

Step 4: Reload and view the InfluxDB statistics

Available modules

On server where InfluxDB is installed:

# list available modules - specified by -M flag to the plugin
$ influx -execute "show stats" | grep ^name
name: runtime
name: queryExecutor
name: shard
...
name: database
name: database
name: write
name: subscriber
name: cq
name: httpd
 
 
# get detailed information for given module
$ influx -execute "show stats for 'database'"
name: database
tags: database=_internal
numMeasurements numSeries
--------------- ---------
12              23
 
name: database
tags: database=opsview
numMeasurements numSeries
--------------- ---------
154             1885
  
# use tags information to locate wanted metrics
$ check_influxdb -M database -t database:opsview
OK: database stats(database:opsview) | numMeasurements=154;;;; numSeries=1885;;;;

Troubleshooting

If invalid SSL certificate is in use (eg. self-signed one) use --ignore-ssl-errors flag.

Opsview Supported
Runs on: 
Opsview
Author: 
aburzynski
aburzynski's picture
Product Architect
Opspack type: 
Application