Revert "allows passing of warn and crit variables"

This reverts commit 5d6d65f7b3d97ae022df4739d0d23be699170c1a.

Conflicts:
	check_memory.sh