"big" trap, snmp_trapsend

Hello everybody,

I woul like to send SNMP trap to TMN by snmp_trapsend, which shold be looks like example below. It has been captured by Ethereal.

Has anybody know how to write parameters for this "big" trap ?

Thank you for any hint in advance.

magneral@centrum.cz

=============================================================================== ==

Frame 2 (493 bytes on wire, 493 bytes captured)

Ethernet II, Src: 00:03:ba:0f:79:60, Dst: 00:01:d7:14:b7:81

Internet Protocol, Src Addr: 192.192.192.192 (192.192.192.192), Dst Addr: 192.192.192.193 (192.192.192.193)

User Datagram Protocol, Src Port: 32861 (32861), Dst Port: snmptrap (162)

Simple Network Management Protocol

Version: 2C (1)

Community: public

PDU type: TRAP-V2 (7)

Request Id: 0x00001dbb

Error Status: NO ERROR (0)

Error Index: 0

Object identifier 1: 1.3.6.1.2.1.1.3.0 (iso.3.6.1.2.1.1.3.0)

Value: Timeticks: (536918162) 62 days, 3:26:21.62

Object identifier 2: 1.3.6.1.6.3.1.1.4.1.0 (iso.3.6.1.6.3.1.1.4.1.0)

Value: OID: iso.3.6.1.4.1.193.91.1.3.0.4

Object identifier 3: 1.3.6.1.4.1.193.91.1.2.4 (iso.3.6.1.4.1.193.91.1.2.4)

Value: INTEGER: 5

Object identifier 4: 1.3.6.1.4.1.193.91.1.2.5 (iso.3.6.1.4.1.193.91.1.2.5)

Value: INTEGER: 1

Object identifier 5: 1.3.6.1.4.1.193.91.1.3.4.1.3 (iso.3.6.1.4.1.193.91.1.3.4.1.3)

Value: STRING: "0x110"

Object identifier 6: 1.3.6.1.4.1.193.91.1.3.4.1.4 (iso.3.6.1.4.1.193.91.1.3.4.1.4)

Value: STRING: "relay1.operator.net"

Object identifier 7: 1.3.6.1.4.1.193.91.1.3.4.1.5 (iso.3.6.1.4.1.193.91.1.3.4.1.5)

Value: Gauge32: 0

Object identifier 8: 1.3.6.1.4.1.193.91.1.3.4.1.6 (iso.3.6.1.4.1.193.91.1.3.4.1.6)

Value: STRING: "2004-03-10,14:42:27.2,+0:0"

Object identifier 9: 1.3.6.1.4.1.193.91.1.3.4.1.7 (iso.3.6.1.4.1.193.91.1.3.4.1.7)

Value: INTEGER: 3

Object identifier 10: 1.3.6.1.4.1.193.91.1.3.4.1.8 (iso.3.6.1.4.1.193.91.1.3.4.1.8)

Value: STRING: "Unable to communicate with external system."

Object identifier 11: 1.3.6.1.4.1.193.91.1.3.4.1.9 (iso.3.6.1.4.1.193.91.1.3.4.1.9)

Value: STRING: "MAJOR"

Object identifier 12: 1.3.6.1.4.1.193.91.1.3.4.1.10 (iso.3.6.1.4.1.193.91.1.3.4.1.10)

Value: STRING: "HTTP connection to PPG failed"

Object identifier 13: 1.3.6.1.4.1.193.91.1.3.4.1.11 (iso.3.6.1.4.1.193.91.1.3.4.1.11)

Value: ""

Object identifier 14: 1.3.6.1.4.1.193.91.1.3.4.1.13 (iso.3.6.1.4.1.193.91.1.3.4.1.13)

Value: STRING: "abc.operator.xy"

=============================================================================== ==

[2715 byte] By [magneral] at [2007-11-26 5:54:32]
# 1
I think you are sending the traps of SNMPv2 with snmp_trapsend which supports only SNMPv1RegardsGANESH.
hg115875 at 2007-7-6 13:08:00 > top of Java-index,Administration Tools,Solstice Enterprise Agents...