Discovery Error on HAProxy Discovery: Cannot locate config file: /elastic_cloud_apps/haproxy/haproxy.global.cfg - Exit status: 1Issue When I running discovery for HAProxy, the following error comes up in the Discovery Log: Cannot locate config file: /elastic_cloud_apps/haproxy/haproxy.global.cfg - Exit status: 1ReleaseAny And allCauseThe classification script for the HAProxy Process Classifier creates a variable called hp_cfgThe value of this variable it generally evaluates to:" /opt/kibana/haproxy-2.1.2/etc/haproxy/haproxy.cfg"In the process classifier it runs 2 triggered probes. One of them is HAProxy - Get Configuration:https://<InstanceName>.service-now.com/discovery_probes.do?sys_id=86b5c2c1d7622100a866ee5b5e6103feThis probe runs a shell script that is specified in the probe parameters called get-hacfg.shWhen it runs this probe it adds the argument for hp_cfg, essentially runningget-hacfg.sh hp_cfgwhich technically translates to:get-hacfg.sh /opt/kibana/haproxy-2.1.2/etc/haproxy/haproxy.cfgWhen we look at that script, the very beginning runs this code block:# if no path for haproxy.cfg then exitif [ ! -f $CFG_LOCATION ]; thenecho "Cannot locate config file: $CFG_LOCATION"exit 1fi ResolutionCheck the permissions of the credential being used and make sure it can access the file /opt/kibana/haproxy-2.1.2/etc/haproxy/haproxy.cfg on the target host