summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-25 21:54:25 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-25 22:33:59 +0100
commit2bec8b20d0c7e6f4cb405f7e0d4a0df121d08736 (patch)
tree8ccc50eac488c80243c6471f5bbf1e451910924e
parent91dd1e7134c6321d84d39aa5d301d911dca61243 (diff)
downloadvyos-1x-2bec8b20d0c7e6f4cb405f7e0d4a0df121d08736.tar.gz
vyos-1x-2bec8b20d0c7e6f4cb405f7e0d4a0df121d08736.zip
monitoring: T3872: re-use "port" building block from port-number.xml.i
(cherry picked from commit 0ec8927476e7d654d52df4c803a6694be0b1e9e2)
-rw-r--r--interface-definitions/service_monitoring_telegraf.xml.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/interface-definitions/service_monitoring_telegraf.xml.in b/interface-definitions/service_monitoring_telegraf.xml.in
index 0db9052ff..81ba67430 100644
--- a/interface-definitions/service_monitoring_telegraf.xml.in
+++ b/interface-definitions/service_monitoring_telegraf.xml.in
@@ -98,10 +98,8 @@
<constraintErrorMessage>Incorrect URL format.</constraintErrorMessage>
</properties>
</leafNode>
+ #include <include/port-number.xml.i>
<leafNode name="port">
- <properties>
- <help>Remote port (default: 8086)</help>
- </properties>
<defaultValue>8086</defaultValue>
</leafNode>
</children>