DNS Resolution Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
ciscosucks123
Posts: 17
Joined: Fri Oct 18, 2019 10:52 am

DNS Resolution Issue

Post by ciscosucks123 »

Hello i have created DNS resolution service checks for several network devices in my network. Im seeing the following output on two of the services "(No output on stdout) stderr:" however i can resolve the DNS on my local machine and all other DNS resolution service checks are working as expected.

Any ideas?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: DNS Resolution Issue

Post by tgriep »

Can you post the configurations for the service checks that are failing here so we can view the settings for the check?
Login to the XI GUI and go to the Core Config Manager > Services menu and find that service.
Click on the View Config icon (On the right side of the menu) copy the config data in to a text document and attach that to the ticket so I can view the settings.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ciscosucks123
Posts: 17
Joined: Fri Oct 18, 2019 10:52 am

Re: DNS Resolution Issue

Post by ciscosucks123 »

Hello see config below, strange as it works on most hosts but 4 specific hosts are having that issue.

###############################################################################
#
# Services configuration file
#
# Created by: Nagios CCM 3.0.3
# Date: 2019-11-07 12:15:30
# Version: Nagios Core 4.x
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################

define service {
service_description DNS Resolution
use xiwizard_website_dns_service
hostgroup_name HG-HTTP,HG-HTTPS
max_check_attempts 3
check_interval 10
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard website
register 1
}

###############################################################################
#
# Services configuration file
#
# END OF FILE
#
###############################################################################
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: DNS Resolution Issue

Post by tgriep »

Can you run the plugin against the 2 systems that are generating the error and post the output here?

Code: Select all

/usr/local/nagios/libexec/check_dns -H xxx.xxx.xxx.xxx ; echo $?
Have you verified that the 2 hosts can be resolved in DNS on the Nagios server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ciscosucks123
Posts: 17
Joined: Fri Oct 18, 2019 10:52 am

Re: DNS Resolution Issue

Post by ciscosucks123 »

Looks like we had missed creating reverse DNS lookups for these entries. Thanks for your help feel free to lock thread.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: DNS Resolution Issue

Post by scottwilkerson »

ciscosucks123 wrote:Looks like we had missed creating reverse DNS lookups for these entries. Thanks for your help feel free to lock thread.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked