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

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.

Acceptance / Success Criteria

None

Attachments

1
  • 04 Apr 2019, 08:27 AM

Lucidchart Diagrams

Activity

Show:

Marcel Fuhrmann April 4, 2019 at 2:09 PM

The described behaviour is correct. %interface% and %interfaceresolve% only works with interfaceDown event because then there is a direct relation to the corresponding interface.

Fixed

Details

Assignee

Reporter

Priority

PagerDuty

Created April 4, 2019 at 8:34 AM
Updated April 4, 2019 at 2:09 PM
Resolved April 4, 2019 at 2:09 PM

Flag notifications