Is there a function in the C library that will allow me to do this?
If I have to use C or even C++ that is fine.  No problem.


On Wed, 2004-11-17 at 12:33, Jeff Saxton wrote:
> Just a guess, see inline code.
> 
> Jeff Saxton
> Sr. Support Engineer
> SenSage, Inc. ( Formerly Addamark Technologies, Inc. )
> http://www.sensage.com
> mailto:[EMAIL PROTECTED]
> OFFICE: +1 415-281-1900x128
> CELL: +1 415-640-6392
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Christopher Fowler
> Sent: Tuesday, November 16, 2004 8:18 AM
> To: [EMAIL PROTECTED]
> Subject: using Net::SNMP::snmp_type_ntop()
> 
> 
> I have an agent on a remote device that returns me OID's in the number
> syntax.  I want to convert those numbers to a readable text string.
> 
> Here is my test code:
> use Net::SNMP;
> my $n = Net::SNMP->new();
> #my $t = $n->snmp_type_ntop('iso.3.6.1.4.1.14264.1.1.0.3');
> my @t = $n->snmp_type_ntop('iso.3.6.1.4.1.14264.1.1.0.3');
>  foreach $i ( @t ) {
>       print "$i\n";
>  }
> 
> #print "[$t]\n";
> 
> 
> Here is output:
> [EMAIL PROTECTED] SAM]$ /tmp/p.pl
> [?? [0x8174cb0]]
> 
> Can someone tell me what is the best way to accomplish this?
> 
> Thanks,
> Chris
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines robust
> object and relational technologies, making it a perfect match for Java,
> C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Net-snmp-users mailing list [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to