diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-23 09:32:43 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-23 09:42:04 +0000 |
commit | 661fa646915907c0f909b8e79c51fbb2f455007b (patch) | |
tree | 79ad5c9a93de8ec501f69aebfe4ed204d433ca53 /interface-definitions/service-monitoring-zabbix-agent.xml.in | |
parent | 8c7fbec24f8bfe064d8ad804951f5ae59b54748f (diff) | |
download | vyos-1x-661fa646915907c0f909b8e79c51fbb2f455007b.tar.gz vyos-1x-661fa646915907c0f909b8e79c51fbb2f455007b.zip |
T5448: Add configuration host-name for zabbix-agent
Ability to configure host-name for zabbix-agent
set service monitoring zabbix-agent host-name 'r-vyos'
Diffstat (limited to 'interface-definitions/service-monitoring-zabbix-agent.xml.in')
-rw-r--r-- | interface-definitions/service-monitoring-zabbix-agent.xml.in | 9 |
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> |