Patch-ID# 107056-03 Keywords: mibcodegen sdk SDK SUNWsasdk trap Synopsis: Solstice Enterprise Agent 1.0.3: For SNMP and DMI Toolkit SUNWsasdk Date: Aug/09/00 Solaris Release: 2.5.1_x86 2.6_x86 SunOS Release: 5.5.1_x86 5.6_x86 Unbundled Product: Solstice Enterprise Agent Unbundled Release: 1.0.3 Relevant Architectures: i386 Xref: See patch 106892-xx for SEA DMI and patch 106872-xx for SEA SNMP BugId's fixed with this patch: 4189025 4218931 4186361 Changes incorporated in this version: 4189025 4218931 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 106872-05 Obsoleted by: Files included with this patch: /usr/bin/mibcodegen /usr/include/snmp/node.h Problem Description: 4189025 Mibcodegen allows agent mibs to have tables with indices of type OCTET STRING. The mib must include a length for the string. eg: SYNTAX OCTET STRING (SIZE(12)) 4218931 New api for sending traps is added. Previous versions required all trap variables to be scalars. Trap variables can now be a table index. The new api is : _SSASendTrap4(name, IndexType *pindex_obj) where name is the trap name, IndexType and *pindex_obj is an array of index objects, where each column entry can have its own index. eg: IndexType index_obj[3]; IndexType *pindex_obj; /* 1st column variable */ index_obj[0].type = 0; index_obj[0].len=1; index_obj[0].value[0]=1; /* 2nd column variable */ index_obj[1].type = 0; index_obj[1].len=1 index_obj[1].value[0]=1; /* 3rd */ index_obj[2].type = 0; index_obj[2].len=1; index_obj[2].value[0]=1; pindex_obj = index_obj; numCallItem = genNumCallItem; numTrapElem = genNumTrapElem; callItem = genCallItem; trapTableMap = genTrapTableMap; trapBucket = genTrapBucket; trapAnyEnterpriseInfo = genTrapAnyEnterpriseInfo; return(_SSASendTrap4("TrapName",pindex_obj)); (from 107056-01) 4186361 defining snmp trap causes mibcodegen to generate bad output Patch Installation Instructions: -------------------------------- Refer to the Install.info file for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below as special instructions. Special Install Instructions: ----------------------------- This patch is for SEA version 1.0.3 See SEA web page, if you need to add toolkit sdk (SUNWsasdk package) http://www.sun.com/solstice/products/ent.agents