Page 1 of 1

check_xi_service_dns missing from modGearman machine

Posted: Mon Jul 31, 2017 3:10 pm
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

Re: check_xi_service_dns missing from modGearman machine

Posted: Mon Jul 31, 2017 4:57 pm
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.

Re: check_xi_service_dns missing from modGearman machine

Posted: Mon Jul 31, 2017 4:57 pm
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.

Re: check_xi_service_dns missing from modGearman machine

Posted: Mon Nov 06, 2017 10:48 am
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