From the documentation https://github.com/sensu-plugins/sensu-plugins-memory-checks
/opt/sensu/embedded/bin/check-memory.rb -w 2500 -c 3000- Values in Megabytes
My config.json has
“command”: “check-memory.sh -w 50000000 -c 100000000”
KiB Mem: 1014632 total, 905872 used, 108760 free, 42176 buffers
Mem Critical free system memory 475Mb
I am just not able to get the check-memory to green. The current system is at optimal memory usage. I need to set a -w just above, so I tried -w 500 and did not work. Thats why I kept increasing the 0’s. But no help.
uchiwa reprots free memory, shouldn’t it report “used memory” since the -w is set to the “max used memory”, confusing ?