--- Dave Shield <[EMAIL PROTECTED]> wrote:

> 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
>
The snmpd.conf file on the FC6 machine look like:
# cat /usr/local/share/snmp/snmpd.conf
rwuser "admin" priv
trapsess 172.20.11.58:162 -u "admin" -a MD5 -A
"12345678" -x DES -X "87654321" -v 3 -l authPriv
trapsess 172.20.10.149:162 -u "adminwindows" -a MD5 -A
"12345678" -x DES -X "87654321" -v 3 -l authPriv

I can send a trap from the FC6 machine to my snmptrapd
at 172.20.11.58:
# snmptrap -v 3 -u test_MD5_AES -l authPriv -a MD5 -A
12345678 -x AES -X 87654321 -e
0x800000000102030405060708 172.20.11.58 0 coldStart.0

Therefore the problem is that restarting snmpd at the
FC6 machine do not send a trap properly to my
snmptrapd.
How to configure the FC6 machine to do that?



      Looking for a X-Mas gift?  Everybody needs a Flickr Pro Account.

 

http://www.flickr.com/gift/


-------------------------------------------------------------------------
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
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

Reply via email to