hi,

running ubuntu 8.1
installed net-snmp succesfull

when runnning: snmptrapd -f -Le -d:
2009-04-27 10:46:36 NET-SNMP version 5.2.1.2 Started.

then send test trap, and this works:
Received 134 bytes from UDP: [87.xxx.xxx.xxx]:1368
0000: 30 81 83 02  01 00 04 06  43 4F 4D 50  41 51 A4 76 0.......COMPAQ.v
0016: 06 07 2B 06  01 04 01 81  68 40 04 57  E9 8C 52 02 [email protected].
0032: 01 06 2 02  2A FB 43 04  12 D6 AE D5  30 58 30 1B ....*.C.....0X0.
0048: 06 08 2B 06  01 02 0101  05 00 04 0F  45 53 58 31    ..+.........EX1
0064: 2E 77 69 7A  7A 65 72 74  2E 6E 6C 30  10 06 0B 2B    .wert.nl0...+
0080: 06 01 04 01  81 68 0B 02  0B 01 02 01  00 30 27 06 .....h.......0'.
0096: 0B 2B 0 01  04 01 81 68  0B 02 08 01  04 18 52 65 .+.....h......Re
0112: 6D 6F 74 65  20 49 6E 73  69 67 68 74  20 54 65 73    mote Insight 
Tes
0128: 74 20 54 72  61 70                                    t Trap

2009-04-27 10:43:40 87.xx.xx.xx(via UDP: [87.xx.xx.xx]:1368) TRAP, SNMP 
v1, community COMPAQ
        SNMPv2-SMI::enterprises.232 Enterprise Specific Trap (11003) 
Uptime: 36 days, 13:56:33.49
        SNMPv2-MIB::sysName.0 = STRING: Ex.wert.nl 
SNMPv2-SMI::enterprises.232.11.2.11.1 = INTEGER: 0 
SNMPv2-SMI::enterprises.232.11.2.8.1 = STRING: "Remote Insight Test Trap"

The trap is forwarded to e-mail with default traphandle in the 
snmptrapd.conf, and this is received when i am in this console mode.
this is my snmptrapd.conf:
=================================
traphandle default /usr/bin/traptoemail -f [email protected] -s localhost 
[email protected]
=================================
PROBLEM: 
When I stop the console mode and start the deamon as a service, no errors, 
but e-mail is not received?
I start the deamon with: /etc/init.d/snmpd start
Any help appreciated

Remy 

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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

Reply via email to