Faulty Plugin return status from check_memory.exe

(Michael Klug) #1

Using the current Icinga2 Version (2.10.2) I think the NOT NSClient++ Plugin check_memory.exe returns a wrong output:

PS C:\Program Files\ICINGA2\sbin> .\check_memory.exe -c 80% -w 75% MEMORY WARNING - 72.349% free| 'memory'=11834.2MB;12267.825000000001;13085.68;0;16357.1 PS C:\Program Files\ICINGA2\sbin> .\check_memory.exe -U -c 20% -w 15% MEMORY WARNING - 27.6509% used| 'memory'=4522.89MB;2453.5650000000001;3271.4200000000001;0;16357.1 PS C:\Program Files\ICINGA2\sbin>

Looking at the performance data both checks should return Critical or am I missing something?