Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 13537

Alert Variables Not Working As Expected

$
0
0

Not sure what is wrong here.    Updated the email message text and now the substitions aren't working as expected.  This is the text of the email:

 

SUBJECT:

Alert: ${NodeName} Has An Interface Down

 

MESSAGE:

 

Interface ${N=SwisEntity;M=InterfaceName} is ${N=SwisEntity;M=Status;F=Status}

Node Details:

    Node Name:  ${NodeName}

    Model:  ${N=SwisEntity;M=MachineType}

    IP Address:  ${IP_Address}

    IOS Version:  ${IOSVersion}

    Last Reboot:  ${LastBoot}

Interface Details:

    Name:  ${N=SwisEntity;M=InterfaceName}

    If Name:  ${N=SwisEntity;M=IfName}

    Alias:  ${N=SwisEntity;M=Alias}

    Interface Description:  {N=SwisEntity;M=FCPort.InterfaceCaption}

    Carrier: ${N=SwisEntity;M=CustomProperties.CarrierName}

 

 

In the actual email that is sent, some substitutions are work, others are not.  Here is a sample:

 

SUBJECT:

Alert: MyNodeName Has An Interface Down

 

MESSAGE:

Node Details:

     Node Name:   MyNodeName

     Model:  ${N=SwisEntity;M=MachineType}

    IP Address:  ${IP_Address}

     IOS Version:  ${IOSVersion}

     Last Reboot:  ${LastBoot}

 

Interface Details:

     Name:  GigabitEthernet0/0

     If Name:  Gi0/0

     Alias:  MyNode LAN

     Interface Description: {N=SwisEntity;M=FCPort.InterfaceCaption}

     Carrier: 

 

 

Ideas oh why those lines in bold aren't resolving the variables?


Viewing all articles
Browse latest Browse all 13537

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>