summaryrefslogtreecommitdiff
path: root/interface-definitions/service-monitoring-zabbix-agent.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-23 20:20:12 +0200
committerGitHub <noreply@github.com>2023-08-23 20:20:12 +0200
commitf25e1c9fa166c22d2a329ae435ae8be4f80985ef (patch)
tree670c37b6fbb95f7b0a390cdd7a7471c503d078f8 /interface-definitions/service-monitoring-zabbix-agent.xml.in
parent7659c452f8d390773e48e5873552bde601e2fbca (diff)
parent661fa646915907c0f909b8e79c51fbb2f455007b (diff)
downloadvyos-1x-f25e1c9fa166c22d2a329ae435ae8be4f80985ef.tar.gz
vyos-1x-f25e1c9fa166c22d2a329ae435ae8be4f80985ef.zip
Merge pull request #2160 from sever-sever/T5448
T5448: Add configuration host-name for zabbix-agent
Diffstat (limited to 'interface-definitions/service-monitoring-zabbix-agent.xml.in')
-rw-r--r--interface-definitions/service-monitoring-zabbix-agent.xml.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/interface-definitions/service-monitoring-zabbix-agent.xml.in b/interface-definitions/service-monitoring-zabbix-agent.xml.in
index cfeb02ce0..40f2df642 100644
--- a/interface-definitions/service-monitoring-zabbix-agent.xml.in
+++ b/interface-definitions/service-monitoring-zabbix-agent.xml.in
@@ -17,6 +17,15 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="host-name">
+ <properties>
+ <help>Zabbix agent hostname</help>
+ <constraint>
+ #include <include/constraint/host-name.xml.i>
+ </constraint>
+ <constraintErrorMessage>Host-name must be alphanumeric and can contain hyphens</constraintErrorMessage>
+ </properties>
+ </leafNode>
<node name="limits">
<properties>
<help>Limit settings</help>