Just for clarification, a charmed mob will only attack something if you are being attacked.
Charmed mob will not attack something you are attacking if you are not being attacked by it.
So, if you charm something in a party where only the tank has hate, the charmed mob will sit and do nothing, even if you are attacking the mob.
Does nothing to beastmen and some mobs like Cockatrices, Wyverns, Manticores and some others.