How to monitor dns zone changes with zabbix? If a relevant address is modified or added to a zone file zabbix can monitors its change and email to all admins of the change.
Ad Widget
Collapse
Zabbix and DNS
Collapse
X
-
Tags: None
-
Partly it depends on where you are monitoring from, but the simplest solution is probably to implement it as an external check. Something like "dig" can return almost anything visible from the zone. For example, you could just return the SOA serial number as an item, and trigger on change. This tells you something changed, but not what. For what you'd need some mechanism for persistence, to download the zone (if you could, depending on context) and then compare to the last download, so again an external check might be needed. If your concern is just one specific address, on the other hand, you could do that as an item - use dig or something in an external check to return the translation, and trigger if the translation changes from one item to the next. And of course if you are running it on an agent on the host of the zone file, you may have access literally to a file you can monitor for changes.
Comment