O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.5.2 Monitoring the name server with dig

The plugin check_dig provides more options for monitoring a name server than check_dns. As the name implies, it is based on the external utility dig, intended for precisely this purpose.

-H address / --hostname=address

The address is the IP address for the DNS server to be tested. It is also possible to specify a host name (instead of an IP address), but in most cases this makes little sense, because this would first have to be resolved before it can reach the name server.

-p port / --port=port

This switch specifies the UDP port to be used. The default is 53.

−1 hostname / --lookup= hostuame

The hostname is the host name to be tested. If no particular computer is looked up, but only the functionality of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required