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. Development
  3. Issues with clearing alarms

Issues with clearing alarms

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 43.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.
  • D
    D
    djdenney
    wrote on last edited by
    #1

    As a long term administrator of HP OML/OMi, I (and the operations staff) are used to seeing a clearing alarm when an anomalous issue has been corrected.  The "standard" has always been to have the clearing alarm terminate the problem alarm, then after 60 seconds, the clearing alarm terminates automatically.

    I am looking for a way to accomplish this (if possible).

    Any help would be appreciated.

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

      This is done by alarm keys. When you create "problem" alarm, you create event processing policy rule that do "generate alarm" and here you can set the key. For terminating you create another rule that handles recovery event and do "terminate alarm" with the given key. You can look at rules for SYS_NODE_DOWN and SYS_NODE_UP events.

      Best regards,
      Victor

      P.S. Questions like this have much more chances to be responded quickly if placed into correct section on forum. "Development" section is intended for developing of product itself or using it's APIs, so many users simply never look at posts there.

      1 Reply Last reply
      0
      • D
        D
        djdenney
        wrote on last edited by
        #3

        thanks for the info Victor,  I will post in English Support/General Support. I know how to generate and terminate alarms and it works great.  I was looking for a way to generate a clearing alarm, then terminate it after 60 seconds.

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

          Two ways here:

          1. Set alarm timeout and what event will be generated, and then create another rule to terminate alarm on timeout event. Note that timeout event will be generated only if alarm will still be in outstanding state.

          2. Execute script action with required delay in same rule, and terminate alarm from that script.

          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