For a monk you need at least 20, but Ogres get the racial 2x int -> agi conversion bonus so you are better off maxing int.