From: Jan M. <jan...@gm...> - 2017-12-07 16:28:09
|
Hi all, thank you for a lovely source of information. I'm coming to Zabbix from Nagios/Icinga1 and a bit of Icinga2 knowledge and trying to figure out whether we should use it instead of heading towards Icinga2. I have created discovery rule in Configuration -> Discovery (IP range 10.10.0.0/16, ICMP ping check ) and it nicely discovers hosts on my network and shows them in Monitoring -> Discovery ( with proper DNS entries as monitored hosts ) I wanted now to start adding these discovered hosts to various groups based on their DNS names as we have quite strict rules I can rely on. so in Configuration -> Actions I have created a new action called 'web servers' (with Event source: Discovery ) with Condition: 'Received value like web' and Operation: 'Add to host groups: webs' I assumed reverse DNS entry would somehow be in 'Received Value' but since it is not automatically adding any hosts into the host group, I'm guessing I was wrong. I have done some googling and clearly, I am not the first one who is trying to do this, but I either can not google good enough or there really was no answer to this in past. So, here goes the question :) Am I missing some concept in Zabbix that would prevent me from doing this or am I just doing it wrong? with best regards Jan |