On 28 January 2013 06:48, Khalid Mumtaz -X (kmumtaz - Paxterra
Software SPL at Cisco) <kmum...@cisco.com> wrote:
>                                So I would like to know if there is
> any mechanism through which we can configure the SNMP agent in such a way
> that it starts to send traps to SNMP server in the new network.

Look at the file 'snmpd.conf'
This should include a line starting with one of the tokens
"trapsink" or "trap2sink" or "informsink" or "trapsession".
This line will include an IP address - change this to the new
management server, and restart the agent.   That will then
direct traps to the new server.

If you want to keep sending traps to the old location as well,
then duplicate the line and change the IP address in second version.
If there are two entries, then the agent will send two traps.

[And if you've got both 'trapsink' AND 'trap2sink' AND 'informsink'
 listed in the snmpd.conf file, then
     a) you haven't read the documentation carefully enough, and
     b) you will be getting three copies of every trap.
          Three lines, three traps.  Simples
]

Dave

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
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/listinfo/net-snmp-users
  • Dynamic Config... Khalid Mumtaz -X (kmumtaz - Paxterra Software SPL at Cisco)
    • Re: Dynam... Dave Shield
      • RE: D... Khalid Mumtaz -X (kmumtaz - Paxterra Software SPL at Cisco)

Reply via email to