ansible-roles/nagios-nrpe/files/plugins/check_domains
2022-09-16 10:36:54 +02:00

15 lines
220 B
Bash
Executable file
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
#
# Check domains using script domains.
#
# Written by Will
#
if ! command -v evodomains >/dev/null; then
echo 'UNKNOWN - Missing dependency evodomains.'
exit 3
fi
evodomains -o nrpe -a check-dns