Re: OID format and MIB

2016-05-13 Thread Mattias Barthel
d this capabilities of their of parsing the OID > output. > > Maybe I haven't sought the Internet in the right way. > > Do you perhaps have an example or a web-page where I can read of this > specific MIBs that parse the OID value and learn from it? > > Many thanks in advan

Re: OID format and MIB

2016-05-13 Thread Mattias Barthel
A MIB writer can define a new type. We do that a lot. On Friday, 13 May 2016, alessandro macuz wrote: > Hello all, > > I tried to search the Internet for my answer but I don't seem to find it. > > At my company we have an appliance that for some OIDs it doesn't return an > integer calue that can

Re: how to Initialise the contents of the table?

2015-02-11 Thread Mattias Barthel
trings obviously. changing it to entry->myIndex_len does the trick. On Wed, Feb 11, 2015 at 11:35 AM, Mattias Barthel wrote: > I tried to do the same with an Unsigned32 index. And this worked fine. > > ENDPOINT-MGMT-MIB::endpointMgmtSEPIndex.1 = Gauge32: 1 > ENDPOINT-MGMT-MIB::e

Re: how to Initialise the contents of the table?

2015-02-11 Thread Mattias Barthel
: Actuator-2 ENDPOINT-MGMT-MIB::endpointMgmtSEPState.1 = INTEGER: disconnected(1) ENDPOINT-MGMT-MIB::endpointMgmtSEPState.2 = INTEGER: connected(2) Are stringed indices supported? If so, is there something I might be missing? On Tue, Feb 10, 2015 at 7:03 PM, Mattias Barthel wrote: > Hey, > &g

Re: how to Initialise the contents of the table?

2015-02-10 Thread Mattias Barthel
Hey, >From a mail conversation dug up from 2006, I am trying to do exactly what Qiang was doing, namely initialise the table just to test the mechanism. My table has an OCTET_STRING as index. I have this code: char *name, *endPointSEPName = "Endpoint-%d"; int i; /* Initialise

mib2c databas access

2015-02-10 Thread Mattias Barthel
Hi, I am going to create mib tables the are populated from a database. Would the iterate config style be the best fitted to use from mib2c? Thanks! Mattias -- Avis de confidentialité Les informations contenues dans le présent message et dans toute pièce qui lui est jointe sont confidentie