Help building manager

This is a discussion on Help building manager within the SNMP Users forums, part of the Networking and Network Related category; Hello, I'm trying to build a manager around Net-SNMP which uses both snmpd and snmptrapd demons. I have ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2005
Andres C
 
Posts: n/a
Default Help building manager


Hello,

I'm trying to build a manager around Net-SNMP which
uses both snmpd and snmptrapd demons. I have agents
distributed in some copmuters monitoring some events.
When it is necesary they generate a trap that needs to
be reveived by this manager. Basically I'm building a
manager to receive traps and to hava an MIB for
himself. I need to build this manager using Java, but
I would need that the snmptrapd demon forwards the
traps to this manager that would be expecting these
traps. I was thinking in embeding the trapreceiver in
the manager and to forward the traps to it (using
JNI). The problem is that I don't know how to acheive
this. I have read the FAQs and documentation and found
nothing usefull. I tried to use the forward option in
the snmptrapd.conf file, and it forwards the traps but
I can't seem to print the traps. The problem in doing
this is that it would need the manager to decrypt and
authenticate traps. since I use authPriv traps.

I have looked through the anmptrapd code but I'm a
little confused and I don't know what functions are
usefull and basic for building a snmptrapd demon. Can
you point me out how to do this?

Is there a way to acces the traps within the snmptrapd
code? Where can I see and manipulate the data in the
traps in the snmptrapd demon?

Are traps sent as a flow of characters?

Basically I need to send the traps to the manager so
that it can use them to graph some data and do some
calculations. Any guidance would be very appreciated.

Thanks a lot for your collaboration.



__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250


-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:53 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0