Duplicated parameter in notification.xml

Description

each time that I used the notification interface the parameter lines in notifications.xml were duplicated. See below:

<notification name="EMERGENCY_F4_InterfaceDown" status="on" writeable="yes">
<uei xmlns="">uei.opennms.org/nodes/interfaceDown</uei>
<rule xmlns="">(catincEMERGENCY_F4)</rule>
<destinationPath xmlns="">EMERGENCY_F4</destinationPath>
<text-message xmlns="">All services are down on interface %interfaceresolve% (%interface%) &#xd;
on node %nodelabel%. New Outage records have been created &#xd;
and service level availability calculations will be impacted &#xd;
until this outage is resolved. &#xd;
</text-message>
<subject xmlns="">Notice #%noticeid%: EMERGENCY_F4: %interfaceresolve% (%interface%) on node %nodelabel% down.</subject>
<numeric-message xmlns="">111-%noticeid% EMERGENCY_F4: %nodelabel%: %interface% down </numeric-message>
<parameter name="url-phone" value="http://172.25.200.184/asteriskinterface/alarmcall.py"/>
<parameter name="url-sms" value="http://172.25.200.184/sms/send_sms.py"/>
<parameter name="post-number" value="-mphone"/>
<parameter name="post-text" value="-nm"/>
<parameter name="post-id" value="%nodelabel%"/>
<parameter name="post-uniqueid" value="%eventid%"/>
<parameter name="result-match" value="^.Dati caricati correttamente."/>
<parameter name="url-phone" value="http://172.25.200.184/asteriskinterface/alarmcall.py"/>
<parameter name="url-sms" value="http://172.25.200.184/sms/send_sms.py"/>
<parameter name="post-number" value="-mphone"/>
<parameter name="post-text" value="-nm"/>
<parameter name="post-id" value="%nodelabel%"/>
<parameter name="post-uniqueid" value="%eventid%"/>
<parameter name="result-match" value="^.Dati caricati correttamente."/>
<parameter name="url-phone" value="http://172.25.200.184/asteriskinterface/alarmcall.py"/>
<parameter name="url-sms" value="http://172.25.200.184/sms/send_sms.py"/>
<parameter name="post-number" value="-mphone"/>
<parameter name="post-text" value="-nm"/>
<parameter name="post-id" value="%nodelabel%"/>
<parameter name="post-uniqueid" value="%eventid%"/>
<parameter name="result-match" value="^.Dati caricati correttamente."/>
<parameter name="url-phone" value="http://172.25.200.184/asteriskinterface/alarmcall.py"/>
<parameter name="url-sms" value="http://172.25.200.184/sms/send_sms.py"/>
<parameter name="post-number" value="-mphone"/>
<parameter name="post-text" value="-nm"/>
<parameter name="post-id" value="%nodelabel%"/>
<parameter name="post-uniqueid" value="%eventid%"/>
<parameter name="result-match" value="^.Dati caricati correttamente."/>
</notification>

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Alejandro Galue July 30, 2013 at 4:17 PM

Fixed on revision 1bce5aabc3f775935967a3801f7eda47e26f8ba1 for 1.10

This will be merged soon to 1.12 and master.

Antonio Russo June 27, 2013 at 12:04 PM

Fixed

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created June 27, 2013 at 12:02 PM
Updated January 27, 2017 at 4:21 PM
Resolved July 30, 2013 at 4:17 PM