sending sensu data to influxdb


#1

I am unable to send sensu data to influxdb. Below are my setting

/etc/sensu/config.json

{

rabbitmq”: {

“host”: “localhost”,

“port”:5672,

“vhost”: “/”,

“user”: “user”,

“password”: “password”

},

redis”: {

“host”: “localhost”,

“port”: 6379

},

api”: {

“host”: “localhost”,

“port”: 4567

}

}

/etc/sensu/conf.d/check_swap.json

{

checks”: {

“check-swap”: {

“command”: “/etc/sensu/plugins/check-swap.sh -p”,

“interval”: 10,

“subscribers”: [ “test” ],

“handlers”: [“metrics”],

“influxdb”: {

“database”: “database”

}

}

}

}

/etc/sensu/conf.d/client.json

{

client”: {

“name”: “sensu-server.dom.tld”,

“address”: “client-ip”,

“subscriptions”: [“ALL”]

}

}

/etc/sensu/conf.d/default_handler.json

{

handlers”: {

“default”: {

“type”: “pipe”,

“command”: “cat”

}

}

}

/etc/sensu/conf.d/influxdb.json

{

influxdb”: {

“host”: “localhost”,

“port”: “8086”,

“user”: “influx_user”,

“password”: “password”,

“database”: “database”,

“ssl_enable”: false

}

}

/etc/sensu/conf.d/handlers/metrics.json

{

handlers”: {

“metrics”: {

“type”: “set”,

“handlers”: [ “debug”, “influxdb”]

}

}

}

FYI: I got the idea from https://github.com/seegno/sensu-influxdb-extension

I can see sensu-server log but there is no log in influxdb log, nothing at all

At this point I should be able to browse some activity in localhost:8083 isnt it? I may be missing something here. Please help me on this.

version:

influxdb: 0.9.3

sensu: 0.20