IBM / nagios-for-i

MIT License
19 stars 20 forks source link

CPUOverloadJobs always get 0.00% #12

Open BallonLac opened 3 years ago

BallonLac commented 3 years ago

Hi,

I created a simple CLP program to generate CPU load, but always get OK status. I checked by running manually the SQL request found in Java code, I got correct ELAPSED_CPU_PERCENTAGE (280.2 actually). While the "load generator" program was still running, i tried to re-launch the check command with "-W 0 -C 0", I got a list of all jobs, each showing a 0.00% CPU ! I tried some older versions of nagios4i.jar and jt400.jar, same result. Any idea ?

Thanks for the good job by the way :)

fcuerno001 commented 3 years ago

Im testing this check and don't works how @BallonLac say its always show 0.0

ITMentalist commented 2 years ago

Hi, see comment on https://github.com/IBM/nagios-for-i/issues/23 Duplicate of #23