the client check_memory module cannot properly parse
the output of top on systems with RAM or swap space
exceeding 10Gb's and shown in top in Gb's instead of
Mb's
To add support for big memory systems, in check_memory
replace all "kmb" with 'kmgb", KM with KMG, and add in
the "sub to_KB" the following line:
if ($_[$i] =~ /^(\d+)G$/) { $_[$i] = floor($1*1048576); next; }
Was tested with Spong 2.7.7
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
To add support for big memory systems, in check_memory
replace all "kmb" with 'kmgb", KM with KMG, and add in
the "sub to_KB" the following line:
if ($_[$i] =~ /^(\d+)G$/) { $_[$i] = floor($1*1048576); next; }
Was tested with Spong 2.7.7