On 26 March 2011 06:00, akshata s harkantra <[email protected]> wrote:
> I am facing a strange behaviour with snmp running on my linux box. I see
> that two dynamic ports are opened by the daemon
> I have only single trap2sink entry in my configuration file snmpd.conf.
> Not sure why I am seeing two ports. Due to this I also get duplicate traps
> at the receiver whenever a trap event occurs. Please advise on why such a
> behavior is seen.
The most likely explanation is that the snmpd.conf file is being read twice,
and hence two trap destinations are being set up.
You haven't said anything about how you are starting the agent - i.e. what
command this uses - or the location(s) of your snmpd.conf file(s).
Try shutting down the agent, and then restarting it manually, using the
command-line options
-f -Le -Dread_config
plus any other options that you normally use.
This will show the processing of config file entries, and hopefully
indicate whether this is indeed the cause.
Dave
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders