On Wed, Aug 29, 2012 at 11:29:29AM +0530, C Chiranjeevi wrote:
> I am replacing an existing SNMP system from TCL Scotty to NetSNMP.   As
> a part of it, I am planning to write a TCL interface over NetSNMP.
> There are few commands in Scotty, for which I am not able to find any
> SNMP equivalent API

Any good reason to send this request three times ;-?

> As per my current understanding there is no direct NetSNMP API , which
> can help me in doing so.    Can someone me please give me some tips on
> how to write these new API.  Or some code snippet to which I can refer
> to.

There is no documented way, no, but look at what snmptranslate does.

The relevant function is print_tree_node in snmplib/mib.c

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - [email protected]
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to