Is there any way to use one pass directive for multiple entries in a MIB?

 

Right now I have it working with full OID info such as

Pass .1.3.6.1.4.1.469.1000.2.1.1.1 myapp

 

But what I would really like to do, is

Pass .1.3.6.1.4.1.469.1000.2 myapp

 

And have this process the original example by looking at the remaining .1.1.1 in the OID.

So, in myapp I would parse the full OID and then figure out what to do for this particular entry in the subtree (.1.3.6.1.469.1000.2).

 

Right now, from what I can tell, I will need to have a "pass OID myapp", for every OID in my MIB.

 

Brian

Reply via email to