[ZBX-24782] Wrong default value for hostname in zabbix agent 2 configuration Created: 2024 Jul 04 Updated: 2024 Jul 04 |
|
| Status: | Confirmed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Agent (G) |
| Affects Version/s: | 7.0.0 |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Trivial |
| Reporter: | KB Jørgensen | Assignee: | Zabbix Development Team |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Steps to reproduce:
Result: Expected:
When installing zabbix agent 2 on many machines, we need to set Hostname to the empty string on all of them, for it to pick up the machine's hostname. If it followed the default described in the configuration of not setting it there and then picking the machine's hostname, that wouldn't be necessary. |
| Comments |
| Comment by KB Jørgensen [ 2024 Jul 04 ] |
|
The setting is here: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/go/conf/zabbix_agent2.conf#138 |