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

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.9.7
    • 20.0.0
    • Ticketing
    • Security Level: Default (Default Security Scheme)
    • 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

              ranger Benjamin Reed
              igilama LibreMan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: