Re: restarting snmpd does not generate a trap

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 12/12/2007, PoWah Wong <[email protected]> wrote:
> Killing snmpd generate a trap but snmptrapd still does
> not receive it.

OK - so the issue seems to lie with the trap receiver,
rather than the agent.



> # snmpd -f -Le -Dtrap -d

> trap: sending trap type=167, version=3
>
> Sending 190 bytes to UDP: [172.20.11.58]:162
   [snip]

>
> trap: sending trap type=167, version=3
>
> Sending 194 bytes to UDP: [172.20.10.149]:162
   [snip]



> NET-SNMP version 5.4.1
> Reconfiguring daemon
> NET-SNMP version 5.4.1 restarted

> trap: sending trap type=167, version=3
>
> Sending 190 bytes to UDP: [172.20.11.58]:162
   [snip]
>
> trap: sending trap type=167, version=3
>
> Sending 194 bytes to UDP: [172.20.10.149]:162
   [snip]


The agent is clearly sending the relevant traps.
But the receiver isn't receiving them.
So we need to find out why.

Try shutting down snmptrapd, and restarting it using:

    snmptrapd -f -Le -Dsnmptrapd -d

Then start up the snmpd agent again.
What does the trap receiver display?

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.