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”
top reports
KiB Mem: 1014632 total, 905872 used, 108760 free, 42176 buffers
uchiwa reports
Mem Critical free system memory 475Mb
Questions
-
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 ?
When I say “optimal memory usage”. I mean that this is my benchmark memory usage (reported by top).
Siddharth
···
On Thursday, October 13, 2016 at 6:09:22 PM UTC+5:30, Siddharth Jagtiani wrote:
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”
top reports
KiB Mem: 1014632 total, 905872 used, 108760 free, 42176 buffers
uchiwa reports
Mem Critical free system memory 475Mb
Questions
- 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 ?