I have a case of alert (specific one) from SCOM that not passing the descrition to the Notifier.
I do see the descrition on Spectrum, but the notifier.out it is missing:
Alarm Notification from SPECTRUM
Alarm SET:
Date: 09/22/2022
Time: 13:49:42
DeviceType: IP Device
Model type: Pingable
Model Name: sapcrmqa.tlv.gov.il
AlarmID: 248367
Severity: CRITICAL
IPAddress: 1.2.3.4
EventMessage: Thu 22 Sep, 2022 - 13:49:42 - Monitor Name: Created on: 9/22/2022 1:48:37 PM
Severity: Error, Priority: Normal, Repeat Count: 0
Alert URL - http://scomserrver1 :80/http://localhost:80/OperationsManager/default.aspx?DisplayMode=Pivot&AlertID=15acb5a7-858d-4386-8d39-7931dc0ca8d9 .
Description:
(event [0x03e00014])
Release : 21.2
This is due to the limitation from Operating System on environmental variables
The Event Size limit is coming from the Windows environment variables.
The event is passed from Notifier to the Setscript as an ENV variable.
As per Microsoft the limit is set to 32767 chars.
https://devblogs.microsoft.com/oldnewthing/20100203-00/?p=15083#:~:text=The%20theoretical%20maximum%20length%20of,a%20limit%20of%2032767%20characters.
As the limitation is on Operating System side hence nothing much can be done from Application side.