Check_mem doesn't match documentation


#1

The Windows check_mem documentation shows the default output should look like this:

check_nrpe --host 192.168.56.103 --command check_memory
OK memory within bounds.|'page'=531G;3;3;0;3 'page %'=12%;79;89;0;100 'physical'=530G;1;1;0;1 'physical %'=25%;79;89;0;100

But when I’ve tried it against several different NSClient++ installations I always get different output:

/usr/lib64/nagios/plugins/check_nrpe -H 192.168.30.140 -c check_memory 
OK: committed = 2.113GB, physical = 1.418GB|'committed'=2.11297GB;3.1992;3.5991;0;3.999 'committed %'=53%;80;90;0;100 'physical'=1.41768GB;1.5996;1.79955;0;1.9995 'physical %'=71%;80;90;0;100

Is there something I need to do in the nsclient.ini file to get the format shown in the documentation?