From 976e1df8ecf3445c6bc76ec3bb4f083086a2f55e Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Thu, 7 Jul 2022 17:40:07 +0000 Subject: monitoring: T4411: Migrate influxdb options to influxdb node As we have specific configuration for each plugin: set service monitoring telegraf xxx - azure-data-explorer - prometheus-client - splunk We should to move configuration that related to influxdb under influxdb node Replace: set service monitoring telegraf - authentication xxx - bucket xxx - port xxx - url To: set service monitoring telegraf influxdb xxx --- .../include/version/monitoring-version.xml.i | 3 + .../service-monitoring-telegraf.xml.in | 67 ++++++++++++---------- 2 files changed, 40 insertions(+), 30 deletions(-) create mode 100644 interface-definitions/include/version/monitoring-version.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/version/monitoring-version.xml.i b/interface-definitions/include/version/monitoring-version.xml.i new file mode 100644 index 000000000..6a275a5d8 --- /dev/null +++ b/interface-definitions/include/version/monitoring-version.xml.i @@ -0,0 +1,3 @@ + + + diff --git a/interface-definitions/service-monitoring-telegraf.xml.in b/interface-definitions/service-monitoring-telegraf.xml.in index d0d9202c1..36f40a539 100644 --- a/interface-definitions/service-monitoring-telegraf.xml.in +++ b/interface-definitions/service-monitoring-telegraf.xml.in @@ -13,32 +13,50 @@ Telegraf monitoring - + - Authentication parameters + Output plugin InfluxDB - + - Authentication organization for InfluxDB v2 - - [a-zA-Z][1-9a-zA-Z@_\-.]{2,50} - - Organization name must be alphanumeric and can contain hyphens, underscores and at symbol. + Authentication parameters - - + + + + Authentication organization for InfluxDB v2 + + [a-zA-Z][1-9a-zA-Z@_\-.]{2,50} + + Organization name must be alphanumeric and can contain hyphens, underscores and at symbol. + + + + + Authentication token for InfluxDB v2 + + txt + Authentication token + + + [a-zA-Z0-9-_]{86}== + + Token must be 88 characters long and must contain only [a-zA-Z0-9-_] and '==' characters. + + + + + - Authentication token for InfluxDB v2 - - txt - Authentication token - - - [a-zA-Z0-9-_]{86}== - - Token must be 88 characters long and must contain only [a-zA-Z0-9-_] and '==' characters. + Remote bucket + main + + #include + #include + + 8086 @@ -130,12 +148,6 @@ #include - - - Remote bucket - - main - Source parameters for monitoring @@ -294,11 +306,6 @@ - #include - #include - - 8086 - -- cgit v1.2.3