Your sweat will smell like ammonia only if an excessive amount of amino acids are being used for energy, or you are not receiving adequate water. The key to avoiding that ammonia smell is to ingest sufficient amounts of carbohydrates, such as whole grains.
Wrong diet is the main cause, too much protein, or other imbalances in diet as per constitution. As for Dosha this is more an Agni problem and may include a number of problems related to ama or other digestive problems like mal-absorption syndrome, IBS, etc. - all Agni related. This kind of problem is most likely to occur to people who have an exercise routine that is not balanced according to their diet. Or to Pitta prakriti people with either a vata or pitta vikriti.
Follow ayurvedic protocol:
correct exercise routine to match prakriti