mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
233 stars 91 forks source link

check_nt CPULOAD returns extremly high CPU Load above 100% #824

Open ferox147 opened 5 months ago

ferox147 commented 5 months ago

Issue and Steps to Reproduce

Running "check_nt" CPULOAD on a physically installed Windows Server 2022 Standard returns e.g.: CPU Load 18446744017345409802% (5 min average)

'./icinga2/addons/check_nt' '-H' '$hostadress$' '-l' '5,80,90' '-p' '1248' '-s' '$secret$' '-v' 'CPULOAD'

Expected Behavior

In fact, a correct value between 0 and 100 % should be returned.

Actual Behavior

Unfortunately, an extremely high, unrealistic value is returned, which does not reflect the behavior of the system. (18446744017345409802% | 5 min avg)

Details

Additional Details

CPU: 2x 8-core / 16-threads: 32 logical processors

ferox147 commented 4 months ago

Also tested with check_nrpe command, I get the following negative percentage result:

OK: CPU load is ok.|'total 5m'=-3041937069%;80;90 'total 1m'=0%;80;90 'total 5s'=0%;80;90