Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10637

%interface% & %interfaceresolve% variables do not resolve values in notifications

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      As you can see, %interface% does not resolve an interface.

         <notification name="Virtual IT node down" status="on">
            <uei>uei.opennms.org/nodes/nodeDown</uei>
            <rule>(catincLichtsignalanlage &amp; catincvirtual)</rule>
            <destinationPath>slack-1m</destinationPath>
            <text-message>Interface: %interface% - Description: %asset[description]%</text-message>
            <subject>Virtual machine %nodelabel% is down</subject>
            <numeric-message>111-%noticeid%</numeric-message>
         </notification>
      

      It's the same with %interfaceresolve%. I already tested the DNS resolution using the Karaf shell. The resolution works there.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fuhrmann Marcel Fuhrmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: