The fact that the service scripts are called in the wrong directory is clear. Correct display is :
Request: '/usr/lib/nagios/plugins/check_dns' '-H' 'www.google.com' '-s' '192.168.168.234'
This variable is defined in config.php.
So:
- either the definition is not done correctly (you checked and it seems OK with quotes etc).
- either the definition is overriden later in the file.
You can edit the file includes/services.inc.php
at line 124 and below to add some debug data, this is where the command string is built :
$check_script = Config::get('install_dir') . '/includes/services/check_' . strtolower($service['service_type']) . '.inc.php';
That should put you (and us) on tracks to understand what’s going on.
Bye