[AGENT++] get_next get's all leafs in MIB

Jochen Katz katz at agentpp.com
Fri Aug 18 23:47:06 CEST 2006


Hi,

I don't fully understand your questions... So here's my question:
Are you aware, that ONE MibLeaf object can only hold ONE value.
If your agent has values for more cameras you should use MibTables.

Regards,
  Jochen


> I want to get just values from some specified oid to the end of that oid say
> 
> I specify  1.3.6.1.4.1.26718.10.112.10, and then execute get_next and say
> this oid has 4 other inside from 1 to 4
> 
> But no matter what I do, get_next always gets all the values in agents MIB
> from 1 to last.  
> 
> And I want just those that belongs to specified Oid.
> 
> Ouh yeah, and another question. When I want to tell the manager that I want
> information from about IDnumber of some datalement in dynamic array.
> 
> And have a MibLeaf that will carry that IDnumber. How do I tell the agent
> witch dataelement he should send. I tried to set value on get(); but value
> isn't transmitted.
> 
> or I'm doing something wrong. If not How is that done. 
> 
> Say I want information about camera with cameraID =12; How does manager tell
> the agent that he want's just number 12. And MibLeaf is just a carrier for
> that info?




More information about the AGENTPP mailing list