Bug #13582
closedZabbix service gives error about required "Hostname" field, even when the field is populated
0%
Description
When configuring the Zabbix agent service, I can't seem to get around the error that says "The following input errors were detected: - Hostname field is required." I've tested this with the packages for versions 5.4 and 6.0 of the zabbix agent. In our setup, I've populated the "Server" field with two IPs, "Server Active" with 127.0.0.1, "Hostname" with "Zabbix server", "Timeout" with 10, and set the respective TLS-related params to use PSK. I've found that I can populate all these fields without checking the box to enable the service, and save them without issues. Whenever that checkbox is checked to enable the service, though, it fails with the message above. This is the case whether I check the box and populate the fields all before clicking "Save"; or if I populate the fields, click "Save", then check the box and click "Save" again. In the second method, I was able to go to another part of the UI, then come back to the zabbix agent config page and verify that all the fields remained populated as I set them.