Rajeswari, --- Rajeswari Natarajan <[EMAIL PROTECTED]> wrote:
> > > Hi, > > Here is a general SNMP quesstion. > > Our system has many cpus and different SNMP > agents (some of them are 3rd > party agents) are > running on each host.We send trap from all the hosts > to a specific host.That > host receives all the traps and then it forwards > those traps to Network > monitoring station. > > In the network monitoring station,traps received > have the agent address as > the individual > host address,which actaually generated the traps. > > But we have a requirement that the agent address > need to be modified to > the address of the host which forwards the > traps.And introduce a new > varbind in SNMP PDU to show the actual host > which forwarded the trap. > > This can be done by reformatting the received trap > before sending it by > adding a new OID field.As long as the SNMP agents > are our agent's we can > add a new variable (with new OID). > But is it OK to add new variable in 3rd party > MIBs.Please let me know. > > If you do this, you are effectively violating the trap definition in MIB. So probably your application on monitoring station will not be able to handle it. Otherwise, as far as you have trap PDU and it is just a question of forwarding it with enhanced varbind, I do not see why you should not be able to do it. One option is to define a new trap to be implemented on your trap forwarding station which your application will be aware of. Duplicate base trap vardind in this trap definition in and add your custmosied varbind here too. That way you no longer violate base trap mib definition. I dont know if makes sense, but just my $0.02 Thanks, Dipesh > Thanks in advance, > > Rajeswari > ===== I thought I wanted a career; turns out I just wanted a salary. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
