Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Processing Event - Terminating Key

Processing Event - Terminating Key

Scheduled Pinned Locked Moved Support
11 Posts 2 Posters 71.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    jdl
    wrote on last edited by
    #1

    Hi,

    In user manual, last page lists all macros available for building key and message in event processing.
    Is there a way to do some regexp in the field where we define the pattern for terminating several alarms?

    A kind of EVENT_ERROR_(.*) or event EVENT_[ERROR|WARNING]_%i etc.

    Best regards,

    Jdamien

    1 Reply Last reply
    0
    • J
      J
      jdl
      wrote on last edited by
      #2

      By the way, is there no way to define "terminate alarm" while keeping the message in the event list?
      So having access to both "terminate alarms" and "Generate new alarm" sections?

      Regards,

      Jdamien

      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #3

        @jdl said in Processing Event - Terminating Key:

        In user manual, last page lists all macros available for building key and message in event processing.
        Is there a way to do some regexp in the field where we define the pattern for terminating several alarms?

        A kind of EVENT_ERROR_(.*) or event EVENT_[ERROR|WARNING]_%i etc.

        No, it is not possible (but idea is very good, I'll try not to forget it and implement). Currently you have to define multiple rules to terminate each kind of alarms.

        Best regards,
        Victor

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          @jdl said in Processing Event - Terminating Key:

          By the way, is there no way to define "terminate alarm" while keeping the message in the event list?
          So having access to both "terminate alarms" and "Generate new alarm" sections?

          I'm not sure I understand correctly - you wish to terminate alarm and then generate new alarm immediately? Then you have to define two rules with identical matching part, first will terminate alarm, and second create new alarm.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • J
            J
            jdl
            wrote on last edited by
            #5

            Don't know how complex or feasible it is but here is the idea...

            Today you can either "terminate alarm" by giving the message key OR "Generate new alarm". Indeed, as you say you can probably do it by defining two rules one to "terminate alarm" and a second one to "Generate new alarm". But what if you could do both in a simple rule? A rule could be defined to "terminate alarm" AND "generate new alarm".

            This can be useful if you enter an escalation scenario... First alarm is "warning" then "major", following "critical"... at each step you don't need the previous alarm... and finally the clearing event which will "terminate alarm" only. But for previous step, you when to "terminate alarm" and display the new alarm...

            Imagine how many rules you may get if you have many such scenarios? Allowing generation and termination in on rule would divide this number by two for those at least...

            Regards,

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              It's not very difficult - mostly UI change. Also, for escalation you can simply replace alarms (but this depends on how you create your alarm keys). Alarm key is also used by server to identify duplicate alarms, so if you generate new alarm with same key as existing one, server will update all fields in existing alarm except creation time, and increase repeat count.

              Best regards,
              Victor

              1 Reply Last reply
              0
              • J
                J
                jdl
                wrote on last edited by
                #7

                So in the event log, you will see the latest alarm text and severity will be increased or decreased according to last alarm, right?

                That's what we call "flexibility"  🙂

                JDamien

                1 Reply Last reply
                0
                • J
                  J
                  jdl
                  wrote on last edited by
                  #8

                  Hi,

                  Any news on having regex in the termination key of the event processing (see first input in this thread to get refreshed ;-)?
                  Best regards,

                  JDamien

                  1 Reply Last reply
                  0
                  • V
                    V
                    Victor Kirhenshtein
                    wrote on last edited by
                    #9

                    Hi!

                    Sorry, I forgot about it 😞 Now I have added this as feature request to bugtracker (issue 309), and hopefully it will be included in 1.0.7 release.

                    Best regards,
                    Victor

                    1 Reply Last reply
                    0
                    • J
                      J
                      jdl
                      wrote on last edited by
                      #10

                      Thanks - we will then wait for 1.0.7.

                      Best regards,
                      Jdamien

                      1 Reply Last reply
                      0
                      • V
                        V
                        Victor Kirhenshtein
                        wrote on last edited by
                        #11

                        Alarm termination by regular expression implemented in 1.0.7. You have to upgrade both server and management console to be able to configure it.

                        Best regards,
                        Victor

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups