check_xi_service_dns missing from modGearman machine

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

check_xi_service_dns missing from modGearman machine

Post by dlukinski »

Hello XI Support

We have installed new modGearman VM (with NRPE agent and plugins 2.2.1), but getting check_xi_service_dns missing.
Should it be replaced with check_dns for the services offloaded to that VM or should we copy over check_xi_service_dns to the modGearman machine (/usr/local/nagios/libexec)?

Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_xi_service_dns missing from modGearman machine

Post by lmiltchev »

The "check_xi_service_dns" is just a command that uses the "check_dns" plugin:

Code: Select all

define command {
       command_name                  		check_xi_service_dns
       command_line                  		$USER1$/check_dns -H $HOSTADDRESS$ $ARG1$
}
You can define the command on the worker to see if the error will go away.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_xi_service_dns missing from modGearman machine

Post by tgriep »

To compile the check_dns plugin, there are some requirements that have to be installed for the plugin to be compiled.
Prerequisites for check_dig check_dns plugins is the bind-utils package.
The best thing is to install this package on the remote server.

Code: Select all

yum install -y bind-utils
Then recompile the plugins and see if it works for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: check_xi_service_dns missing from modGearman machine

Post by dlukinski »

tgriep wrote:To compile the check_dns plugin, there are some requirements that have to be installed for the plugin to be compiled.
Prerequisites for check_dig check_dns plugins is the bind-utils package.
The best thing is to install this package on the remote server.

Code: Select all

yum install -y bind-utils
Then recompile the plugins and see if it works for you.
Yes installing or re-compiling bind utilities fix the problem

Please close this ticket
Locked