[ZBXNEXT-1585] Add ServerItem and ServerActiveItem to zabbix_agentd.conf Created: 2013 Jan 18 Updated: 2013 Dec 28 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | 2.0.4 |
Fix Version/s: | None |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Simon Matter | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | flexibility, patch, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
Description |
I wanted to define Server and ServerActive the same way as it's possible with HostnameItem. The main reason is that I'd like to configure Server as hostname somehow instead of IP address - but without the need to run nscd on the local host or add the host to /etc/hosts or make the agents flood the dns server with requests. With the ServerItem option, I can just call a script which resolves the hostname at agent startup time or any other way. Attached patch makes this possible and keeps things flexible and in line with HostnameItem. |