[tkined] 2 scotty questions

Satinder Mundra (mundra@gte.com)
Tue, 30 Sep 1997 10:37:20 -0400

Hello,
I have 2 scotty-related questions; the scotty version I am
using is 2.1.5 (on AIX) --

1) How do you send a trap without variables. Scotty forces me to
specify at least one variable.

% $s trap coldStart
wrong # args: should be "snmp0 trap snmpTrapOID list"

% $s trap coldStart [list [list "" ""]]
OBJECT IDENTIFIER of length 0

2) How can I explicity specify the enterprise in a trap pdu? When
I use scotty to send generic traps, the enterprise comes out wrong.

********************************************************************************
SNMP Trap from 132.197.103.11 with '132.197.103.11'
Session ID : snmp0
Request ID : 0
Error Status : "noError" on index 0
--------------------------------------------------------------------------------
sysUpTime.0 = "0d 0:08:40.00"
snmpTrapOID.0 = "SNMPv2-MIB!coldStart"
ccitt = "0"
snmpTrapEnterprise.0 = "tubs"
********************************************************************************

Thanks,

Satinder Mundra

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.