I am looking to monitor a DNS server (or multiple) through heartbeat. Now it appears this isn't supported out of the box but it is possible to submit TCP requests. Is it at all possible to set up the following and if so how?:
The main aim here is to ensure the DNS service of a domain controller is functional. And before you ask, no I cannot install an agent on the DC. That would be far too easy!! Corporate policy restricts this due to the environment being highly secure, therefore a DNS lookup is the next best thing. A secondary aim is to trend response times for the DNS lookup, but this is secondary and not essential.
Basically, the way it works is, the tcp check is just to make sure it is reachable, the "real" check is the dns processor, which is forced to perform a lookup against the monitored DNS server.
You can then have a check which looks for the tag: _dns_reverse_lookup_failed, if this tag shows up, that means your DNS server while reachable, doesn't actually work.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.