Re: restarting snmpd does not generate a trap

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 07/12/2007, PoWah Wong <[email protected]> wrote:
> How to find out whether restarting snmpd has generated
> the trap on net-snmp 5.4.1?

The easiest way is to run either the SNMP agent or the
trap receiver using the '-d' option.  That will dump the
raw SNMP packets as they are sent/received (*before*
any access control checks that might discard an incoming
trap).


> Because the snmptrapd received the trap from a RH7.2
> running net-snmp 5.0.9, but did not receive any trap
> from a FC6 machine running net-snmp 5.4.1, so I
> suspect that the FC6 machine do not generate any trap.

If it's the exact same trapd, then I suspect you are correct.

Silly question:
   What does the snmpd.conf file on the FC6 machine look like?
Have you actually configured this agent to send traps to your
trap receiver?

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.