Hi Imran,
Not really sure why its generating 2 different alerts for you , this is bit weird . May be something got messed up with the config file. If its acceptable just remove the cdm probe and install the new version from scratch. CDM is pretty straight forward and should not be causing such issues
It should generate only one alert with the number of process you mention in the configuration - this should answer your second question
To answer your first question - This can also be achieved if you set the Top CPU consuming process value to 1 in CDM.
Alternatively you can try the "Process probe" to pickup one process which is eating up the CPU beyond a threshold level . This can be achieved by creating a profile to monitor all the process instead of a specific process in the "Process Probe"
When creating the profile , in the "Process Name" field just give a wildcard (*) character instead of a process name so that it looks for all the process instead of one specific process and in the same screen make sure you select the "Outside CPU Range". In case you want to monitor memory consumption instead (or in addition) click on the "Outside Memory Usage Range" checkbox as well
Next select the "Process Usage" tab in the profile and select "Publish Alarms" check boxes. Below that you see the Min avg CPU and Max average CPU fields - set the values to 0 and 70 (or what ever is the threshold you want to set)
Save the config.
the next time if any of the process exceeds the threshold level, it would be picked up and send as an alarm.
Hope this helps