I have written a lua script that will exclude alarms based on if the host has a net connect alarm, it excludes all the other probes like snmpget,int_traff,cisco monitor. I am sure something like this could be done essentially based off the orgin. In my case I make them invisible but excluding would be a return nil instead of turning invisible. Here is a piece of the script that should get you started it's based off a ao profile. My net_connect alarm that comes in has a sid of 3.1.1..
require ("msn/global")
alist=alarm.get()
probe = alist.prid
if alist ~= nil then
thisRobot = alist.robot
thisAlarm = alist.nimid
thisSource = alist.source
thisMsg = alist.message
al = alarm.list("hostname",thisSource)
if probe == "snmpget" then
if al ~= nil then
for i=1,#al do
a=al[i]
host,assto,sid,robot,almessage = a.hostname,a.assigned_to,a.sid,a.robot,a.message
--printf ("their is a match moving to next step for ip %s - %s", a.sid,thisSource)
if sid == "3.1.1" then
printf ("snmpget match setting to invisible exiting - %s", thisSource)
visible (thisAlarm)
exit()
else
printf ("snmpget - no critical net_connect alarm %s or not correct sid", thisSource)
--mkvisible (thisAlarm)
end
end
end
elseif probe == "cisco_monitor" then