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

Duplicated parameter in notification.xml

    XMLWordPrintable

    Details

      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%)
      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>

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              rssntn67 Antonio Russo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: