Re: Issue with ifPhysAddress

2009-06-27 Thread Robert Story
On Sat, 27 Jun 2009 03:45:14 +0100 Stuart wrote: SB> I have sorted this issue with the ifIn/OutOctets but the issue I am having SB> is that using val.integer is not producing a large enough value. For example SB> if I simply do a straight SNMPGet I get the value of 2791567717 now I take a SB> simpl

Re: Issue with ifPhysAddress

2009-06-26 Thread Robert Story
On Fri, 26 Jun 2009 03:23:15 +0100 Stuart wrote: SB> Are most of the values such as ifInOctets the same or are they just SB> integers? The appropriate MIB can tell you they type of the object. Try snmptranslate -Td -IR ifInOctets --

Re: Issue with ifPhysAddress

2009-06-17 Thread Robert Story
On Wed, 17 Jun 2009 15:51:39 +0100 Stuart wrote: SB> I am fairly new to working with the Net-SNMP libraries using C++ and an SB> trying to get a MAC address converted to a string value but an not having SB> much luck. I have tried if vars->type ASN_OCTET_STR and ASN_BIT_STR but all SB> I get is gib

Issue with ifPhysAddress

2009-06-17 Thread Stuart Burgis
Hi there, I am fairly new to working with the Net-SNMP libraries using C++ and an trying to get a MAC address converted to a string value but an not having much luck. I have tried if vars->type ASN_OCTET_STR and ASN_BIT_STR but all I get is gibberish can anyone help? Many thanks Stuart Burgis --