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:
Code: Select all
[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")]