How to grab the IP address from the interface/port model (0x12dbb attribute ID) and print it in the Alarm Title?
Release : Any version
Add the following entries in the $SPECROOT/custom/Events/EventDisp file:
0x480004 P "\
CreateEventWithVariables( \
{C CURRENT_MODEL}, \
{H 0xfff00000}, \
SetEventVariable( \
GetEventVariableList(), \
{H 0x12b4c}, \
Append( \
{S \"WAN LINK UTILIZATION REACHED MORE THAN 85%, IP: \"}, \
ReadAttribute( \
{C CURRENT_MODEL}, \
{H 0x12dbb}))))"
0xfff00000 E 10 A 3,0x480004
Where:
Save the changes.
Click on the "Update Event Configuration" button under the SpectroSERVER Control subview of the VNM model to load the changes into the SS memory.
Launch the Event Configuration Editor and copy the Event Message from the 0x480004 event code and paste it to the 0xfff00000 event code.
Save the change.
Once a new 0x480004 event code is generated, it will generate the dynamic alarm title: