However, it should be possible to later change the dev_id via the alarm_enrichment probe to match the dev_id of the desired device.
For information about how to set up alarm enrichment itself, please review the information under "Additional Information".
The idea here is that you set up an \enrichment-source\cmdbs\os_enricher section in alarm_enrichment. The lookup would then be done via source (or udata,source, you would need to verify this field via dr.nimbus).
A viable query to find the devices would be something like 'select dev_id, dev_name as name from CM_DEVICE where name=?' .
After that the mapping and substitution could be build through the overwrite-rules section with:
match_alarm_field = prid
match_alarm_regexp = logmon
lookup_by_alarm_field = source (or udata.source)
key = dev_id
value = [cmdb.dev_id]