Hi

Ultimately i got the solution I need to manage following file

Thanks following line

netsnmp_ds_set_int(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_STRING_OUTPUT_FORMAT, mode);

mode =

mode = NETSNMP_STRING_OUTPUT_HEX; or

mode = NETSNMP_STRING_OUTPUT_ASCII;



well its late but generated my intrest in snmp

cheers

Manish

----- Original Message ----- 
From: "Manish Pohnekar" <manish.pohne...@info-spectrum.com>
To: "Dave Shield" <d.t.shi...@liverpool.ac.uk>
Cc: <net-snmp-users@lists.sourceforge.net>
Sent: Thursday, November 18, 2010 1:51 PM
Subject: Re: Fw: Ways to retrive ip address from cisco routers decimal 
orhexadecimal.


> Hi
>
> Sorry for late reply actualy I tried studying mib files before 
> questioning.
> I have lots of mib files and mib.txt file on my machine I am uable detect
> which nib file is being used
>
> Thanks
> Manish
>
>
> ----- Original Message ----- 
> From: "Dave Shield" <d.t.shi...@liverpool.ac.uk>
> To: "Manish Pohnekar" <manish.pohne...@info-spectrum.com>
> Cc: <net-snmp-users@lists.sourceforge.net>
> Sent: Tuesday, November 09, 2010 6:43 PM
> Subject: Re: Fw: Ways to retrive ip address from cisco routers decimal or
> hexadecimal.
>
>
>> On 9 November 2010 12:50, Manish Pohnekar
>> <manish.pohne...@info-spectrum.com> wrote:
>>> I really need to understand the question in details
>>> where I acn look the bits
>>> and defination
>>> as per #define statement one sourceaddress and another is target address
>>
>> I'm not talking about the source code or #define statements
>> I'm asking about the MIB file that defines the objects that you are
>> querying.
>>
>>
>> If you run "snmpwalk" or similar of these OIDs, then it should report
>> the results in the form:
>>
>>    SOME-MIB::someObject.1.2.3 = STRING: "some string"
>>
>> There should then be a file called 'SOME-MIB' (or possibly 
>> 'SOME-MIB.txt')
>> This will contain a chunk starting "someObject", which is the MIB
>> definition
>> of this particular MIB object.
>>
>> That is the block which should describe how to display the results in a
>> sensible manner.   What does that block look like?
>>
>>
>> Dave
>>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to