The snmpgtw subscribes directly to the alarm subject on the message bus. This gives snmpgtw an unfiltered view of all alarms before alarm-enrichment or nas processing. To setup snmpgtw to be more specific as to what traps get set out we can setup a new "outbound" queue and forward alarms to it via nas Auto-Operator (AO) profiles.
- snmpgtw working as designed, but sending all alarms to the 'alarm' Subject as configured so those alarms were making their way through to Spectrum.
In the case of Spectrum alarms, when the steps above are followed, then the nas will process the alarms first before sending them to Spectrum. (instead of the snmpgtw).
For testing this configuration it is best to have 2 alarms being frequently generated, e.g., by ntevl, one which is bring excluded by the preprocessing rule and another which is not being excluded which should make it to Spectrum.