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. Different notifications for the same event, importance based

Different notifications for the same event, importance based

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 33.5k 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.
  • L
    L
    lroytman
    wrote on last edited by
    #1

    Hi,

    I'd like to have different notification levels for same events. For example, for "NODE DOWN", SMS should be send for the router node, direct email to system administrators should be sent for a critical server node, email to our ticketing system for a not-so-important server node. The same for other events. Can it be done by NXSL action script? I am quite sure it is not a problem to get information about the event source, but I cannot find any way to fire an action from the script (to send email, for example)... Is it possible?

    Thank you,
    Leo

    1 Reply Last reply
    0
    • L
      L
      lroytman
      wrote on last edited by
      #2

      OK, I think I figured it out. There is no direct way to start Action, we have to use PostEvent. Correct?

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

        From your description it seems that it's enough to create multiple rules for same event, but with different sources. No script is required in that case. And even if you need more complex filtering, you can implement it as filtering script for the rule.

        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