Duplicate tags \n unable to parse


#1

I am encountering a scenario where Im not able to get metrics into InfluxDB.

Log:
{“timestamp”:“2018-12-12T17:10:16.388272+0000”,“level”:“error”,“message”:"InfluxDB response: {“error”:"unable to parse 'disk_metrics.fd0.reads,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=1.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.readsMerged,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=0.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.sectorsRead,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=8.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.readTime,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=71.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.writes,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=0.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.writesMerged,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=0.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.sectorsWritten,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=0.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.writeTime,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=0.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.ioInProgress,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=0.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.ioTime,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=71.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse 'disk_metrics.fd0.ioTimeWeighted,env=poc,host=mue1monitoringsensupocsim02,host=mue1monitoringsensupocsim02 value=71.0,duration=0.085 1544634612 ': duplicate tags\nunable to parse

My files:
[root@mue1monitoringsensupocsim00 conf.d]# cat handlers.json
{
“handlers”: {
“metrics”: {
“type”: “set”,
“handlers”: [“influxdb”]
}
}
}
[root@mue1monitoringsensupocsim00 conf.d]# cat influxdb_extension.json
{
“influxdb”: {
“database”: “sensugrafana”,
“host”: “xxxxx”,
“port”: “8086”,
“username”: “influxdbadmin”,
“password”: “xxxxxxxx”,
“strip_metric”: “host”,
“tags”: {
“env”: “poc”
}
}
}
[root@mue1monitoringsensupocsim00 conf.d]# cat extensions.json
{
“extensions”: {
“influxdb”: {
“gem”: “sensu-extensions-influxdb2”
},
“history”: {
“gem”: “sensu-extensions-history”
}
}
}
[root@mue1monitoringsensupocsim00 conf.d]# cat checks.json
{
“checks”: {
“metrics-load”: {
“command”: “/opt/sensu/embedded/bin/metrics-load.rb --scheme load”,
“handler”: “metrics”,
“interval”:10,
“subscribers”:[“linux”],
“type”:“metric”
}
}
}
[root@mue1monitoringsensupocsim00 conf.d]#

InfluxDB via CLI:
I dont see historical data for my measurements. I just see value for a single timestamp.
Every time I do a “redis-cli flushall”, I see new data being added to influxDB

Kindly let me know if there’s something I’m missing.