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

Wrong ticket status ids in automation (CLOSED is 5 not 3 it seems)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 20.0.0
    • Component/s: Ticketing
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      For intended operation I had to change the following in vaccumd-configuration.xml

      For trigger "selectClosedTicketStateForProblemAlarms"

      WHERE a.tticketstate = 3 --> WHERE a.tticketstate = 5

      For action "deletePastClearedAlarms"

      AND (alarmacktime IS NULL AND (tticketState IS NULL OR tticketState = 3)) --> [..]tticketState = 5[..]

      it even says in comment that "<!-- ticket state of 3 is closed -->" --apparently not
      The same problem is in some others like "deleteAllPastClearedAlarms" (ok, maybe that's the only one)

      It caused me quite an headache so I want to spare others the same, thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                igilama LibreMan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: