The Sunday Times newspaper of Sri Lanka (26 December 2010) published a solicited commentary by Dr. Wolfgang Dittus of how best to prevent macaque monkeys harassing tourists at the Dambulla temple.
He suggested an educational program whereby vendors and visitors are prevented from carrying food to the site.
For details see http://www.sundaytimes.lk/101226/News/nws_09.html