Hi.
I used net-snmp library to write an application which get data via snmp.
My API contain 3 functions:
1. Open Session(host, community).
2. Close Session().
3. Get data(oid). (=get single value.)
it was very easy to understand it when using the tutorials.
I want to ask:
1. How do I get an array size ?
(what I mean is: if I put the root MIB and I want to know how many
children it has?)
2. How can I listen to traps without using the snmptrapd executable?
(to embaded the snmp utilities in some program)
thanks a lot.
***********************************************************************************
Information contained in this email message is intended only for use of the
individual or entity named above. If the reader of this message is not the
intended recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please immediately notify the [EMAIL
PROTECTED] and destroy the original message.
***********************************************************************************
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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