I'm trying to create a new broker output of type influxdb, but I can't figure out how to add the metrics columns.
In the getoutput command the columns are not indexed:
-o CENTBROKERCFG -a getoutput -v "central-broker-influx-master;Central"
parameter key;parameter value
cache;yes
db_host;192.168.137.21
db_name;centreon
db_password;centpass
db_port;8086
db_user;centreon
metrics_columnis_tag;false
metrics_columnis_tag;false
metrics_columnis_tag;true
metrics_columnis_tag;true
metrics_columnis_tag;true
metrics_columnis_tag;true
metrics_columnname;time
metrics_column__name;value
metrics_columnname;host
metrics_columnname;service
metrics_columnname;host_id
metrics_columnname;service_id
metrics_column__type;string
metrics_columntype;string
metrics_columntype;string
metrics_column__type;string
metrics_columntype;string
metrics_columntype;string
metrics_column__value;$TIME$
metrics_columnvalue;$VALUE$
metrics_columnvalue;$HOST$
metrics_column__value;$SERVICE$
metrics_columnvalue;$HOSTID$
metrics_column__value;$SERVICEID$
metrics_timeseries;$METRIC$
The output was inserted ok and all other options are set:
-o CENTBROKERCFG -a listoutput -v "central-broker-influx-test;Central"
id;name
1;Influxdb
but when i try to set the output using the same option it fails:
-o CENTBROKERCFG -a setoutput -v "central-broker-influx-test;1;metrics_column__name;time"
Invalid field
In the documentation I couldn't find any example for this type of field. Is it not implemented?
I'm trying to create a new broker output of type influxdb, but I can't figure out how to add the metrics columns. In the getoutput command the columns are not indexed: -o CENTBROKERCFG -a getoutput -v "central-broker-influx-master;Central" parameter key;parameter value cache;yes db_host;192.168.137.21 db_name;centreon db_password;centpass db_port;8086 db_user;centreon metrics_columnis_tag;false metrics_columnis_tag;false metrics_columnis_tag;true metrics_columnis_tag;true metrics_columnis_tag;true metrics_columnis_tag;true metrics_columnname;time metrics_column__name;value metrics_columnname;host metrics_columnname;service metrics_columnname;host_id metrics_columnname;service_id metrics_column__type;string metrics_columntype;string metrics_columntype;string metrics_column__type;string metrics_columntype;string metrics_columntype;string metrics_column__value;$TIME$ metrics_columnvalue;$VALUE$ metrics_columnvalue;$HOST$ metrics_column__value;$SERVICE$ metrics_columnvalue;$HOSTID$ metrics_column__value;$SERVICEID$ metrics_timeseries;$METRIC$
The output was inserted ok and all other options are set: -o CENTBROKERCFG -a listoutput -v "central-broker-influx-test;Central" id;name 1;Influxdb
but when i try to set the output using the same option it fails: -o CENTBROKERCFG -a setoutput -v "central-broker-influx-test;1;metrics_column__name;time" Invalid field
In the documentation I couldn't find any example for this type of field. Is it not implemented?
Thanks