UNIX Named Server (via SSH)

Description

Monitors a UNIX Named Domain Name Server. DNS services are monitored remotely. Monitoring scripts are installed on the remote server and called from the GroundWork server using the SSH protocol.  Please reference the SSH Monitoring document when using this profile.

Profile Package

This package includes the following files:

  • Profile definition: service-profile-ssh-named.xml

  • Plugin scripts (installed on the GroundWork server): check_dns, check_by_ssh

  • Plugin scripts (installed on the remote monitored server): check_procs

Installation

GroundWork Monitor includes many monitoring profiles for a variety of devices, systems and applications. Some profiles are pre-imported on a new GroundWork installation and others are distributed with the product. The configuration tool is used to import updated profiles and profiles that require additional setup, services can also be imported, see Importing Profiles.

Services Configuration

For plugin details you can run the service help command from within the nagios container. For example: Get to the nagios container from the gw8 directory: docker-compose exec -u 1000 nagios bash, then to the libexec directory: cd /usr/local/nagios/libexec, and enter a service help command e.g., ./check_snmp --help to receive help content.

Service/Command Line/Plugin CommandCommand Parameters

This column lists the Service Definition name, Service Command name with arguments to be passed to the plugin, and the Plugin Command line which is the plugin script called by Nagios for the service.

Command parameters are in the configuration services section with the following names and default values.

  • udp_dns

  • check_dns!www.groundworkopensource.com

  • $USER1$/check_dns -t 30 -s $HOSTADDRESS$ -H "$ARG1$"

Queries the assigned host to get the IP address of a host. The nslookup program is used to perform the query.

  • $ARG1$: Host name or IP address to query, default is www.groundworkopensource.com

  • ssh_process_named

  • check_by_ssh_process_named

  • $USER1$/check_by_ssh -H $HOSTADDRESS$ -t 60 -l "$USER17$" -C "$USER22$/check_procs -c 1:1 -C named -a /etc/named.conf"

Check for the number of named processes running.

  • udp_dns_expect

  • check_dns_expect!www.groundworkopensource.com!
    64.127.120.109

  • $USER1$/check_dns -t 30 -s $HOSTADDRESS$ -H "$ARG1$" -a "$ARG2$"

Queries the assigned host to get the IP address of a host and checks the reply with the expected IP address. The nslookup program is used to perform the query.

  • $ARG1$: Host name to query, default www.groundworkopensource.com

  • $ARG2$: IP address of the host name (default 64.127.120.109)

Related Resources