in reply to Re: How to send an SNMP V2C Trap
in thread How to send an SNMP V2C Trap

I have defined the following PDU for the SNMP ver 2c trap as

$sysUpoid="1.3.6.1.2.1.1.3.0"; $svSvcName="1.3.6.1.6.3.1.1.4.1.0"; $ColdStartoid="1.3.6.1.6.3.1.1.5.0"; @snmpColdTrap=qw($sysUpoid TIMETICKS 200 $svSvcName OBJECT_IDENTIFIER $svSvcName $ColdStartoid OBJECT_IDENTIFIER $ColdStartoid);

Perl is complaining about the OBJECT_IDENTIFIER. Not Sure what to do to correct this. The perl docs state the first two Varbinds are sysUpTime and snmpTrapOID before the coldstart OID. Not sure what the second varbind does? thanks W3NTP

Edit: g0n - code tags