All pastes #742519 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-10-19 16:08 UTC
rendered paste body
Hi all,
I’m attempting to event translate remote service down to remote node down and am coming up with null.

This is my attempt

#less translator-configuration.xml
<?xml version="1.0" encoding="UTF-8"?>
<event-translator-configuration xmlns="http://xmlns.opennms.org/xsd/translator-configuration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schem
aLocation="http://xmlns.opennms.org/xsd/translator-configuration ../src/services/org/opennms/netmgt/config/translator-configuration.xsd ">

  <translation>
    <event-translation-spec uei="uei.opennms.org/remote/nodes/nodeLostService">
      <mappings>
        <mapping>
          <assignment type="field" name="uei">
            <value type="constant" result="uei.opennms.org/nodes/nodeDown"/>
          </assignment>
        </mapping>
      </mappings>
    </event-translation-spec>
  </translation>

</event-translator-configuration>


Regards

Mike Roberts