Re: OID format and MIB

2016-05-18 Thread alessandro macuz
Many thanks all, you gave me really useful information. For the moment I going in the direction of parsing the output but I wonder if the type STRING can be overriden by any other dattype in a specific MIB written on purpose. As noticed it's a bit risky because for the string type we don't know an

Re: OID format and MIB

2016-05-13 Thread Mattias Barthel
Lets look at snmp type BITS which is actually an OCTET-STRING with a very special format. It can be used for to assign what parts of a quantity an entity supports. Take a network interface for example. What media types does it support? BITS is an snmp type derived from a primitive snmp type. http

Re: OID format and MIB

2016-05-13 Thread Fulko Hew
On Fri, May 13, 2016 at 3:24 AM, 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 be processed and graphed but a string that loo

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: OID format and MIB

2016-05-13 Thread alessandro macuz
Thank you Fedor and Mattias. @Mattias I haven't seen such MIBs. I have to admit that I tried to learn them but I haven't understood 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

Re: OID format and MIB

2016-05-13 Thread Fedor Sumkin
Hi Allesandro, Sure, MIB declaration have types for each leaf oid it have declared, but unfortunatelly I'm not sure if the SNMP Poller you use is using type presented in MIB. I think that SNMP Poller you use is doing it's type assumptions based on SNMP PDU type it receives, so I think that it wou

OID format and MIB

2016-05-13 Thread alessandro macuz
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 be processed and graphed but a string that looks like the following .1.3.6.1.3456.c.f.r.t.h.y.j.uu.i.w. : STRIN