Smarts SAM Adapters: "TOO LARGE DATA" error seen in SDI log and notification data is truncated
search cancel

Smarts SAM Adapters: "TOO LARGE DATA" error seen in SDI log and notification data is truncated

book

Article ID: 332030

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




There are  "TOO LARGE DATA" errors in Smarts SAM Adapters SDI log:

MAIN_MSG-*-STDFD_ERR-stderr: TOO LARGE DATA (MAX=

[September 18, 2013 6:31:51 AM CDT +712ms] XXX XX platform
MAIN_MSG-*-STDFD_ERR-stderr: 1024|1501 To be truncated): EVENTTEXT:New Notification



Environment

VMware Smart Assurance - SMARTS

Cause

The reason for "TOO LARGE DATA" errors is that the EventText size is more than 1024 characters. Smarts SAM adapters have an EventText size limit of 1024.  Any EventText over the 1024 size limit will generate a "TOO LARGE DATA" error and truncate the text in the notification message down to the limit.

Resolution

To work around this issue, find the traps that have EventText over 1024 and shorten them.

The EventText field should be defined in smarts/icoi/trap/trap_mgr.conf. Using the attached ASL file (notification-check.asl), you can check the incoming notifications for the EventText size, and if it is over 1024 it will create a notification, enabling you to determine which traps need to have their EventText shortened to 1024 or less.