Skip to:
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%) 
on node %nodelabel%. New Outage records have been created 
and service level availability calculations will be impacted 
until this outage is resolved. 
</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>
Fixed on revision 1bce5aabc3f775935967a3801f7eda47e26f8ba1 for 1.10
This will be merged soon to 1.12 and master.
This is related to user ticket:
https://mynms.opennms.com/Ticket/Display.html?id=2302
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%) 
on node %nodelabel%. New Outage records have been created 
and service level availability calculations will be impacted 
until this outage is resolved. 
</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>