shawn-sterling / graphios

A program to send nagios perf data to graphite (carbon) / statsd / librato / influxdb
289 stars 100 forks source link

Unable to enable influxdb as destination #142

Closed lgwapnitsky closed 6 years ago

lgwapnitsky commented 6 years ago

Running latest version of Graphios from pip

Error message:

graphios.py --config_file=/etc/graphios/graphios.cfg --verbose --test Enabled backends: [] graphios startup. Processing spool directory /opt/omd/sites/coromd/var/graphios/spool At least one Back-end must be enabled in graphios.cfg

config:

------------------------------------------------------------------------------

InfluxDB Details (if you are using InfluxDB 0.8)

------------------------------------------------------------------------------

enable_influxdb = True

------------------------------------------------------------------------------

InfluxDB Details (if you are using InfluxDB 0.9)

This will work a bit differently because of the addition of tags in

InfluxDB 0.9. Now the metric will be named after the service description,

the perfdata field will be a tag, and the host name will be a tag. The value

of the metric is stored in the 'value' column.

Requires use_service_desc = True.

------------------------------------------------------------------------------

enable_influxdb09 = True

Extra tags to add to metrics, like data center location etc.

Only valid for 0.9

influxdb_extra_tags = {"location": "la"}

Comma separated list of server:ports

defaults to 127.0.0.1:8086 (:8087 if using SSL).

influxdb_servers = 127.0.0.1:8087

influxdb_servers = 10.101.1.78:8086

SSL, defaults to False

influxdb_use_ssl = True

Database-name, defaults to nagios

influxdb_db =

influxdb_db = thnstats

Credentials (required)

influxdb_user = thnstats influxdb_password = thnstats

Max metrics to send / request, defaults to 250

influxdb_max_metrics = 500