Check_centreon_nrpe -> failed to get values



the following command will work on my server centreon 2.8.13 centos7 :

/usr/lib/nagios/plugins #./check_centreon_nrpe -H -p 5666 -c check_pdh -a “counter:C: % Read Time=\LogicalDisk(C:)% Disk Read Time” “warning=value>50” “critical=value>75”

OK: C: % Read Time = 0|‘C: % Read Time_value’=0;50;75

But in centreon, Service Status = UNKNOWN and output = Failed to get values

On the remote server windows server, in nsclient log : 2017-09-28 14:03:59: error:c:\source\master\modules\CheckSystem\pdh_thread.cpp:363: Counter was not found: LogicalDisk(C:)% Disk Read Time

it would appear to be linked to the command line separators.

Thank you for your help.


In Centreon, this command work fine :

./check_centreon_nrpe -H -p 5666 -c check_pdh -a “counter:C: % Read Time=\\\\LogicalDisk(C:)\\\% Disk Read Time” “warning=value>50” “critical=value>75”

4 back-slash !!!


thank you