NCPA windowscounters no results
Posted: Mon Feb 25, 2019 11:26 am
Hello everybody
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:
Im running "7zG.exe" to simulate proc load by process
it return me following result:
But I was expecting a percentage answer, something like 80%.
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?
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?