TECHZEN Zenoss User Community ARCHIVE  

DNS server resolutation time

Subject: DNS server resolutation time
Author: [Not Specified]
Posted: 2014-10-07 01:20

Anybody can give me some advice for how to monitor DNS resolutation time I only want to apply template on device class for DNS server.

I combined digMonitor template on DNS servers device class.

I got some events not generate by thresold
DNS CRITICAL - 11.338 seconds response time (No ANSWER SECTION found)
And very strange, this kind of event will be auto cleared by below event message
Datasource DigMonitor/dig command timed out

As I tested, these DNS servers have some problem , always timeout cannot lookup record. How can the "DNS CRITICAL" be cleared



Subject: Your problem is "No ANSWER
Author: Jan Garaj
Posted: 2014-10-07 06:05

Your problem is "No ANSWER SECTION found", no resolution time.
Investigate it with command: dig

"command timed out" is standard clear message (severity 0) from zencommand, so don't worry.
If you want to monitor DNS resolution time, try to find commercial DNS Monitor Zenpack or write your custom solution.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: it shouldn't be hard to write
Author: Andrew Kirch
Posted: 2014-10-07 10:45

it shouldn't be hard to write your own template with a command datasource. Simply time dig, or nslookup

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: But here was not domain
Author: Jan Garaj
Posted: 2014-10-07 17:17

But here was not domain resolved. Example:
-bash-3.2$ dig ddsfsdfd.com

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> ddsfsdfd.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 49363
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;ddsfsdfd.com. IN A

;; AUTHORITY SECTION:
com. 120 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1412719862 1800 900 604800 86400

;; Query time: 340 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 7 23:11:28 2014
;; MSG SIZE rcvd: 103

This domain doesn't exist => no ANSWER section. If dig will provide any answer, then we can have response time. But now it's "error" state -> event is correct and genuine. Apparently resolution of tested Kimmy's domain is flapping -> main problem in this case.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: I don't understand the
Author: Andrew Kirch
Posted: 2014-10-10 09:40

I don't understand the problem, nslookup exits 0 if successful and doesn't return a code if it fails

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
DANGLING REFERENCE (POSKeyError)
  Next
Zenoss on RHEL 5 and RHEL6
>