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

Broken provisiond policy does not appear in the logs

    XMLWordPrintable

Details

    • Horizon 2021 - Feb 3 - Feb 17
    • NB

    Description

      There were these typos in the class (one s too much and a space):

      <policy name="assets" class="org.opennms.netmgt.provision.persist.policiess
       .ScriptPolicy">
         <parameter key="matchBehavior" value="ALL_PARAMETERS"/>
         <parameter key="script" value="set_assets.groovy"/>
       </policy>
      

      and I was wondering why the policy does not do it's job. In the provisiond debug log was no hint to find this issue.
      The UI does not allow such faults but when the configs are created directly in the config files it can happen.

      Attachments

        Issue Links

          Activity

            People

              cpape Christian Pape
              fuhrmann Marcel Fuhrmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: