Trap length

By default the maximum length of traps generated by IBM® Sterling Control Center Monitor is 1024 bytes.

If the content of a trap generated by IBM Sterling Control Center Monitor exceeds this length and an attempt is made to send the trap, an SnmpStatusException occurs and is written to the engine log file.The maximum trap length can be changed by changing the value specified for the bufferSize element in the configuration file (indicated in bold type in the sample xml file).

If the underlying computer network does not support traps of the length generated by IBM Sterling Control Center Monitor, an SnmpStatusException still occurs and is logged regardless of the buffer size specified.

One element included in the SnmpAdaptorWrapper.xml file is called omitIfEmpty (indicated in bold type in the sample file). The default value for this element is “false.” If it is set to “true,” traps generated by IBM Sterling Control Center Monitor contain only event values whose length is greater than zero.