Cannot get a result with NCPA from windowscounters.
I'm trying to Run as a Nagios check for windows counter like this from NCPA API page:
Code: Select all
/Process(7zG.exe)/% Processor Timeit return me following result:
Code: Select all
{ "perfdata": "'\\Process(7zG.exe)\\% Processor Time'=0c;40.00;80.00;", "returncode": 0, "stdout": "OK: \\Process(7zG.exe)\\% Processor Time was 0 c | '\\Process(7zG.exe)\\% Processor Time'=0c;40.00;80.00;" }On the Nagios web page I receive an infomation like this:
Performance Data: '\Process(7zG)\% Processor Time'=0c;40;60;
Does it work like this? Is there any error in my query?