Usage of SNMP-TARGET_MIB

Robert Iakobashvili <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

net-snmp, version 5.2.1.2, on linux, built with support of
SNMP-TARGET-MIB works fine, enables to configure
multiple target destinations and keeps them in the configured
persistent file, strings per entry.

Here I see two general options, how to send traps to the
multiple configured destinations:

1. from a script by using snmptrap command and parsing the persistent file and
    extracting from it all info just from the test strings with targets.

2. from a C-application, using the API like send_v2trap and
    snmp_parse_config_targetAddr () from libnetsnmpmibs

 Are there better ways of using target destinations from SNMP-TARGET-MIB?

Can it be done easier?

Any pointers, directions, examples would be very much appreciated.

Thank you in advance for assistance.

Sincerely,
----------------------------------------------------------------
Robert Iakobashvili  - NAVIGARE NECESSE EST
coroberti at gmail dot com
---------------------------------------------------------------


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.