From the look of the Event Procedure, you are saving the model name of the neighbor to event variable 100 ({U 100}).
Starting with Spectrum 23.3.7, you can add event variables to the alarm title:
Use Event Table Variables for Dynamic Alarm Titles
Spectrum now allows you to use Event table variables for dynamic alarm titles. This enhancement ensures that alarm titles display the actual value present in the Event table, rather than just the lookup number of the table. By providing users with accurate information directly in the alarm title, this ability streamlines the troubleshooting process.
For more information, see Use Event Table Variables for Dynamic Alarm Titles.
One thing to note though, you are modifying the 0x10d11 by adding an Event Procedure and removing the out of the box alarming. The following is the out of the box configuration of the 0x10d11 event:
0x00010d11 E 50 A 3, 0x0001040a
The out of the box configuration of the 0x10d11 event should not be changes as it can cause undesirable results. Reference Event and Alarm Customization. You can ADD to the out of the box configuration but not change it. I recommend to change your event procedure as following:
0x00010d11 E 50 A 3, 0x0001040a P "\
CreateEventWithVariables (\
{C CURRENT_MODEL},\
{H 0xfff00118},\
SetEventVariable (\
GetEventVariableList(),\
{U 100},\
ToString(ReadAttribute(\
GetElement(\
GetModelsByRelationId(\
{C CURRENT_MODEL},\
{H 0x10005},\
{C RELATION_SIDE_RIGHT}),\
{U 1})),{ H 0x1006e})))"
0xfff00118 E 10 A 3,0x1040a
Regards,
Joe
Original Message:
Sent: Nov 18, 2024 08:20 AM
From: Rangaswamy Jupalle
Subject: add RELATION_SIDE_RIGHT model to bad link detected alarm
HOstname name of connected device should be in alarm title or part of alarm description
Original Message:
Sent: Nov 18, 2024 08:15 AM
From: Joseph Ackley
Subject: add RELATION_SIDE_RIGHT model to bad link detected alarm
What details from the connected device are you looking for?
Original Message:
Sent: Nov 18, 2024 07:40 AM
From: Rangaswamy Jupalle
Subject: add RELATION_SIDE_RIGHT model to bad link detected alarm
Hi All,
I have created event procedure to add right side connected device details to "BAD LINK DETECTED" alarm, but its not fetching connected device (Neighbor) details.
Please help me to fix event procedure
0x10d11 E 10 P "\
CreateEventWithVariables (\
{C CURRENT_MODEL},\
{H 0xfff00118},\
SetEventVariable (\
GetEventVariableList(),\
{U 100},\
ToString(ReadAttribute(\
GetElement(\
GetModelsByRelationId(\
{C CURRENT_MODEL},\
{H 0x10005},\
{C RELATION_SIDE_RIGHT}),\
{U 1})),{ H 0x1006e})))"
0xfff00118 E 10 A 3,0x1040a