It may have nothing to do with worms, but doing an FEC will verify this. It could very easily be pneumonia, which can cause coughing, nasal discharge and also a mucky bum (which is easy to assume is due to worms). The weather this year (at least over here) with hot dry spells, folowd by cold wet ones is perfect for pneumonia to develop. Were they treated with Heptavac P+? I have loads of coughing sheep with mucky bums and the only thing that changed was we used Bravoxin to vaccinate since Heptavac P was unavailable at the start of the year in small bottle sizes. Bravoxin does not vaccinate against pasturella, so they were extra vulnerable and we are paying the price now with several dead lambs. I do my own FECs so I knew it wasn't worms and they were all treated with Cydectin earlier in the year and Zolvix as a break dose at the end of August.
Since our supplier now appears to have miraculously found Heptavac again we have purchased the 250 doses (in 50ml bottles) that we expect to use next season whilst it is available!!!
In the meantime a long acting dose of oxytetracyclin antibiotic (Alamycin LA200 or similar) seems to be clearing up the coughing and the back ends of those that were not too far gone.
Lesson learned (at a cost) for the future.
We were helped in this diagnosis by our very experienced shearer (who has been farming for 60 years) who took one look at them and said "That's pnemonia! There is a h*ll of a lot of it about at present!". There is no substitute for experience!!!