You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
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_column__is_tag;false
metrics_column__is_tag;false
metrics_column__is_tag;true
metrics_column__is_tag;true
metrics_column__is_tag;true
metrics_column__is_tag;true
metrics_column__name;time
metrics_column__name;value
metrics_column__name;host
metrics_column__name;service
metrics_column__name;host_id
metrics_column__name;service_id
metrics_column__type;string
metrics_column__type;string
metrics_column__type;string
metrics_column__type;string
metrics_column__type;string
metrics_column__type;string
metrics_column__value;$TIME$
metrics_column__value;$VALUE$
metrics_column__value;$HOST$
metrics_column__value;$SERVICE$
metrics_column__value;$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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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_column__is_tag;false
metrics_column__is_tag;false
metrics_column__is_tag;true
metrics_column__is_tag;true
metrics_column__is_tag;true
metrics_column__is_tag;true
metrics_column__name;time
metrics_column__name;value
metrics_column__name;host
metrics_column__name;service
metrics_column__name;host_id
metrics_column__name;service_id
metrics_column__type;string
metrics_column__type;string
metrics_column__type;string
metrics_column__type;string
metrics_column__type;string
metrics_column__type;string
metrics_column__value;$TIME$
metrics_column__value;$VALUE$
metrics_column__value;$HOST$
metrics_column__value;$SERVICE$
metrics_column__value;$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
The text was updated successfully, but these errors were encountered: