Dynamic indexes

Hi all! help solve the problem. Similar to what’s here: https://www.zabbix.com/documentation/current/en/manual/config/items/itemtypes/snmp/dynamicindex

I need to get the oid index by name somehow. it is the process ID. To further get data on used memory and CPU load. something like:

[if(array_find(oid_column("1.3.6.1.2.1.25.4.2.1.2"),"iRidiumServer32.exe")>0, 1, 0)]

those. "iRidiumServer32.exe" finds in oid "1.3.6.1.2.1.25.4.2.1.2.2892" I need to somehow select this tail "2892" and stick it into:

CPU: [oid("1.3.6.1.2.1.25.4.2.1.3.2892")]
Memory: [oid("1.3.6.1.2.1.25.4.2.1.4.2892")]

The fact is that this tail 2892 is the ide of the process and it will change if the server is restarted.