Type: Change Request
Affects Version/s: 4.2.0
Fix Version/s: None
Component/s: Server (S)
I think it would be great if it will be possible to configure an IP range in a discovery rule as a host group, instead of just plain IP address range.
My use case for discovery is to run a command on the hosts (using Zabbix agent --> system.run key) to check if certain service is installed, and link the relevant template to the host. Scanning an entire IP range for this matter is unnecessary, resource-consuming, and time-consuming.
As a workaround, I wrote a script that runs in a fixed interval to take all the IPs of the hosts configured in Zabbix, and add them as single IP addresses to the discovery rule (using the API), but of course having the ability to just add an host group as an IP range will be great.