I create 1 rule for every GPU count. 1 Rule for 6 GPU Rigs and 1 rule for 8 GPU Rigs and so on. if a GPU not detected, it add a Tag (GPU Missing). But if you integrate such feature in AM would be nice.
@Patrike:
If you add such feature, keep in mind: 1 Rig with 7 AMD and 6 Nvidia Cards, it runs 2 Miners.
So it must be configurated per Miner and not per Rig, and we must configurate which GPU´s the miner instance use and check.
I hope you understand the problem.
I agree that it must be per Managed Miner (or Managed Profit Miner).
There are more than one way of having a configuration for this:
1) You enter a number for the Managed Miner, like 6 GPUs. The trigger will look if the number of GPUs reported by the mining software are less than 6.
In this case you need to configure this specific number for each miner and this concept is explicit and easy to understand
2) An alternative would be for Awesome Miner to look at the GPU's you have selected for this specific miner. You might have picked 6 nVidia GPUs from the list. The trigger would understand that by selecting exactly 6 GPUs from this list, it should look if the number of reported GPUs from the mining software are less than 6.
In this case you don't need to explicitly configure the number 6, as Awesome Miner can figure it out based on your GPU selection.
However, the default is to use all GPUs so option #2 isn't always possible.
3) A final alternative would be to combine #1 and #2, where you in the GPU selection dialog either select All GPUs and enter the minimum number of GPUs the trigger should expect - or you select specific GPUs and then there is no need to specify the number of GPUs the trigger should look for.
Final thoughts:
The benefit of specifying an explicit number is that it would work fine on CPU and ASIC miners as well. Not be specific for GPU mining. For this reason the most basic solution, #1, is probably the winner.