summaryrefslogtreecommitdiff
path: root/interface-definitions/include/monitoring
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-05-06 16:35:39 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-05-20 13:59:01 +0000
commitdd2b753fb7c60cba0c79d9a3a19611312282dbce (patch)
tree0cd85634cdd1129326cfd337f3723533d5773210 /interface-definitions/include/monitoring
parent55d2ee80dcddfbaae8600f6389088f1d718965a8 (diff)
downloadvyos-1x-dd2b753fb7c60cba0c79d9a3a19611312282dbce.tar.gz
vyos-1x-dd2b753fb7c60cba0c79d9a3a19611312282dbce.zip
monitoring: T4418: Add output plugin azure-data-explorer
Add output telegraf Plugin Azure Data Explorer set service monitoring telegraf azure-data-explorer authentication client-id 'x' set service monitoring telegraf azure-data-explorer authentication client-secret 'x' set service monitoring telegraf azure-data-explorer authentication tenant-id 'x' set service monitoring telegraf azure-data-explorer database 'x' set service monitoring telegraf azure-data-explorer group-metrics 'single-table' set service monitoring telegraf azure-data-explorer url 'http://localhost.loc'
Diffstat (limited to 'interface-definitions/include/monitoring')
-rw-r--r--interface-definitions/include/monitoring/url.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/monitoring/url.xml.i b/interface-definitions/include/monitoring/url.xml.i
new file mode 100644
index 000000000..32c81122d
--- /dev/null
+++ b/interface-definitions/include/monitoring/url.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from monitoring/url.xml.i -->
+<leafNode name="url">
+ <properties>
+ <help>Remote URL [REQUIRED]</help>
+ <valueHelp>
+ <format>url</format>
+ <description>Remote URL</description>
+ </valueHelp>
+ <constraint>
+ <regex>(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}?(\/.*)?</regex>
+ </constraint>
+ <constraintErrorMessage>Incorrect URL format</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->