I have a check which need to be run from outside a Client. Because it should check smb shares (check_smb_shares). The Check will fail if it starts from the client.
How can i order this check to this Client but still will be run on the master?
command_endpoint = /location/
and the service will execute the check from the specified location.
See the example here :
apply Service "disk" {
check_command = "disk"
//specify where the check is executed
command_endpoint = host.vars.client_endpoint
assign where host.vars.client_endpoint
}