conf/dns.conf
author Tomas Zeman <zeman@sloane.cz>
Sun, 15 May 2011 09:22:03 +0200
changeset 13 fd71994b6ce0
parent 9 8c143dccc517
permissions -rw-r--r--
scripts/run-cron: zabbix-friendly cron scripts runner

# Checks DNS A record $1 on server $2
# Returns exit code of host(1) command: 0 - Ok, 1 - error
# (Hint: define value map for 0, 1)
UserParameter=host[*],host -W 3 $1 $2 > /dev/null; echo $?