I have a discovery running and its working
What I want to do is scan subnet for hosts with agents and drop them into one host group and apply template.
Any other hosts that respond to ping but no agent should go into a different host group call unknown servers
Discovery rule
ip range - 172.16.40.0-255
Checks
ICMP ping
Zabbix agent "system.uname"
Action 1
condition A received value like windows
condition B service type= zabbix agent
condition C Host IP = 172.16.40.0-255
Operation 1
Add host
Add host to groups Windows servers
Link template - template os windows
Action 2
service type = ICMP ping
host ip = 172.16.40.0-255
service type <> zabbix agent
The discovery rule works and all agent machines end up in the windows group but also end up in the other group. Anything that responds to ping ends up in the other group. I only want machines that have no agent to end up in the other group.
Any way to do what I am trying?
What I want to do is scan subnet for hosts with agents and drop them into one host group and apply template.
Any other hosts that respond to ping but no agent should go into a different host group call unknown servers
Discovery rule
ip range - 172.16.40.0-255
Checks
ICMP ping
Zabbix agent "system.uname"
Action 1
condition A received value like windows
condition B service type= zabbix agent
condition C Host IP = 172.16.40.0-255
Operation 1
Add host
Add host to groups Windows servers
Link template - template os windows
Action 2
service type = ICMP ping
host ip = 172.16.40.0-255
service type <> zabbix agent
The discovery rule works and all agent machines end up in the windows group but also end up in the other group. Anything that responds to ping ends up in the other group. I only want machines that have no agent to end up in the other group.
Any way to do what I am trying?
Comment