From c3ba275a16a8985aaa795c36bb11ef7e1985459a Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Tue, 8 Feb 2022 15:11:10 +0000 Subject: monitoring: T3872: Add CLI XML for configuration telegraf --- .../service_monitoring_telegraf.xml.in | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 interface-definitions/service_monitoring_telegraf.xml.in (limited to 'interface-definitions/service_monitoring_telegraf.xml.in') diff --git a/interface-definitions/service_monitoring_telegraf.xml.in b/interface-definitions/service_monitoring_telegraf.xml.in new file mode 100644 index 000000000..0db9052ff --- /dev/null +++ b/interface-definitions/service_monitoring_telegraf.xml.in @@ -0,0 +1,113 @@ + + + + + + + Monitoring services + 1280 + + + + + Telegraf monitoring + + + + + Authentication parameters + + + + + Authentication organization for InfluxDB v2 [REQUIRED] + + ^[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 [REQUIRED] + + 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, by default (main) + + main + + + + Source parameters for monitoring (default: all) + + all hardware-utilization logs network system telegraf + + + all + All parameters (default) + + + hardware-utilization + Hardware-utilization parameters (CPU, disk, memory) + + + logs + Logs parameters + + + network + Network parameters (net, netstat, nftables) + + + system + System parameters (system, processes, interrupts) + + + telegraf + Telegraf internal statistics + + + ^(all|hardware-utilization|logs|network|system|telegraf)$ + + + + all + + + + Remote URL [REQUIRED] + + url + Remote URL to InfluxDB v2 + + + ^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}?(\/.*)?$ + + Incorrect URL format. + + + + + Remote port (default: 8086) + + 8086 + + + + + + + + -- cgit v1.2.3