In Edgar Rice Burroughs' original novel Tarzan of the Apes, the primates that chase Jane are not specifically identified by species—Burroughs uses the general term "apes" (often interchangeable with "monkeys" in early 1900s usage).
Given the African setting, the animals are likely inspired by baboons or mandrills—large, terrestrial, aggressive in groups.
So while the book leaves it vague, baboons are the most zoologically and cinematically consistent answer.