Hello hello, Dave, Thanks for the hints, they took me a long way and now I have started to hate are present trap sender's implementation.
- What we are doing is that we have a statically defined manager IP address and all the agents send trap tp that particuler IP address. We form our own snmp trap PDU with the variable bindings that we want the manager to be informed about and then send it over the socket. One way of sending traps to multiple Managers would be to have an N number of managers IPs defined for each agent like for instance we say that our agent sends traps to four managers at the most and then the agent is configured to send traps to manager Ip A, B , C and D. This can be done right? I m pretty confident that this can be done. Just need a second advise. - We are not using Net-snmp's trap sending API at the moment. we are sending snmp version 1 traps. we are using net-snmp (ucd-snmp) library for Get/Set though and the snmpd.conf file has configurations for that only. I want to change the present implementation of traps in a way that it uses ucd snmp version "1" traps library and sends version 1 traps. How should I go about it? What header files should I include? What functions should I use? Any template code would not only be much appreciated but the person would be given a fyling kiss too ;)) only if its a girl ;)) What are the steps that I should follow? have a fine day Best Regards, Asim. Quoting Dave Shield <[EMAIL PROTECTED]>: > On Thu, 2005-11-17 at 12:07 +0200, Asim Zaka wrote: > > Well yes I am trapped, I need to send traps to a Primary and 2 Secondary > hosts. > > How do I do it using net-snmp at the agent side? > > trapsink primary > trapsink secondary > trapsink tertiary > > (or trap2sink or informsink, as required). > > You can specify as many trap destinations as you like, > and each trap will be sent to all of them. > > Dave > > > ------------------------------------------------------- > 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_id=7628&alloc_id=16845&op=click > _______________________________________________ > Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > Regards, Asim Pervez Zaka. ------------------------------------------------------- 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-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders