dns_sync.conf 733 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Check DNS sync
  3. object CheckCommand "dns_sync" {
  4. import "plugin-check-command"
  5. command = [ "/usr/local/share/monitoring-plugins/check_dns_sync" ]
  6. arguments = {
  7. "--reference-ns" = "$reference_ns$"
  8. "--replica-ns" = "$replica_ns$"
  9. "--timeout" = {
  10. set_if = "$timeout$"
  11. value = "$timeout$"
  12. }
  13. "--check_mode" = {
  14. set_if = "$check_mode$"
  15. value = "$check_mode$"
  16. }
  17. "zones" = {
  18. value = "$zones$"
  19. skip_key = true
  20. order = 99
  21. }
  22. }
  23. vars.reference_ns = "" # IP of reference NS Server
  24. vars.replica_ns = "" # IP of replica NS Server
  25. vars.timeout = "" # Timeout for DNS operations
  26. vars.check_mode = "serial" # Check mode: serial or axfr
  27. vars.zones = [] # List of zone names to be checked
  28. }