When fault finding with the electrical systems, the easy way to ensure the electrical components are doing what they are supposed to do, is to simply replace them with new parts, coils, spark plugs and voltage regulators for example; but, it only takes one faulty wire, HT lead or connector to cause a whole raft of problems! Renewal of as many parts as possible is sometimes the best way to ensure enduring electrical reliability.
More related components you may wish to consider:
Don't forget to order all the replacement fasteners required, like replacement fasteners 77251038B (new sharp threads and heads just make life easier) for example, and still only pay the same single fixed price shipping cost.
Please be aware that this component may have other applications within the Ducati model range - so ensure the part number/s you order is/are correct for your model.