{"action":"opened","issue":{"url":"https://api.github.com/repos/centreon/centreon-clapi/issues/367","repository_url":"https://api.github.com/repos/centreon/centreon-clapi","labels_url":"https://api.github.com/repos/centreon/centreon-clapi/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/centreon/centreon-clapi/issues/367/comments","events_url":"https://api.github.com/repos/centreon/centreon-clapi/issues/367/events","html_url":"https://github.com/centreon/centreon-clapi/issues/367","id":308949170,"number":367,"title":"create influxdb output using clapi","user":{"login":"mavynet","id":30039504,"avatar_url":"https://avatars1.githubusercontent.com/u/30039504?v=4","gravatar_id":"","url":"https://api.github.com/users/mavynet","html_url":"https://github.com/mavynet","followers_url":"https://api.github.com/users/mavynet/followers","following_url":"https://api.github.com/users/mavynet/following{/other_user}","gists_url":"https://api.github.com/users/mavynet/gists{/gist_id}","starred_url":"https://api.github.com/users/mavynet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavynet/subscriptions","organizations_url":"https://api.github.com/users/mavynet/orgs","repos_url":"https://api.github.com/users/mavynet/repos","events_url":"https://api.github.com/users/mavynet/events{/privacy}","received_events_url":"https://api.github.com/users/mavynet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T12:33:18Z","updated_at":"2018-03-27T12:33:18Z","closed_at":null,"author_association":"NONE","body":"I'm trying to create a new broker output of type influxdb, but I can't figure out how to add the metrics columns.\r\nIn the getoutput command the columns are not indexed:\r\n-o CENTBROKERCFG -a getoutput -v \"central-broker-influx-master;Central\"\r\nparameter key;parameter value\r\ncache;yes\r\ndb_host;192.168.137.21\r\ndb_name;centreon\r\ndb_password;centpass\r\ndb_port;8086\r\ndb_user;centreon\r\nmetrics_column__is_tag;false\r\nmetrics_column__is_tag;false\r\nmetrics_column__is_tag;true\r\nmetrics_column__is_tag;true\r\nmetrics_column__is_tag;true\r\nmetrics_column__is_tag;true\r\nmetrics_column__name;time\r\nmetrics_column__name;value\r\nmetrics_column__name;host\r\nmetrics_column__name;service\r\nmetrics_column__name;host_id\r\nmetrics_column__name;service_id\r\nmetrics_column__type;string\r\nmetrics_column__type;string\r\nmetrics_column__type;string\r\nmetrics_column__type;string\r\nmetrics_column__type;string\r\nmetrics_column__type;string\r\nmetrics_column__value;$TIME$\r\nmetrics_column__value;$VALUE$\r\nmetrics_column__value;$HOST$\r\nmetrics_column__value;$SERVICE$\r\nmetrics_column__value;$HOSTID$\r\nmetrics_column__value;$SERVICEID$\r\nmetrics_timeseries;$METRIC$\r\n\r\nThe output was inserted ok and all other options are set:\r\n -o CENTBROKERCFG -a listoutput -v \"central-broker-influx-test;Central\"\r\nid;name\r\n1;Influxdb\r\n\r\nbut when i try to set the output using the same option it fails:\r\n -o CENTBROKERCFG -a setoutput -v \"central-broker-influx-test;1;metrics_column__name;time\"\r\nInvalid field\r\n\r\nIn the documentation I couldn't find any example for this type of field. Is it not implemented?\r\n\r\nThanks\r\n"}}
{"actor":{"display_login":"mavynet"}}