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. Custom node down

Custom node down

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 31.9k 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.
  • R
    R
    Rabid
    wrote on last edited by
    #1

    Is it possible to do the following when a node goes down?

    ServerA nodes goes down, send an email to userA.

    ServerB nodes goes down, send an email to userA and userB.

    1 Reply Last reply
    0
    • S
      S
      SKYnv
      wrote on last edited by
      #2

      possible

      Create another event processing with filter on server_B

      1 Reply Last reply
      0
      • R
        R
        Rabid
        wrote on last edited by
        #3

        I am guessing that I am missing something.

        I created two new events (node_down_emailB and node_up_emailB).

        I copied the Node Down and Node Up event processing policies and replaced with the events above.  I also added new email actions.

        I then went to the node status DCI and added a new threshold using the above events with 1 sample < 0.  (I already have a sys_node_down event that fires an email to a certain group and this part works).  I then checked process all thresholds.

        I reboot the server and userA gets an email (belongs to the sys_node_down event) but userB does not get an email (belongs to the node_down_emailB event).

        1 Reply Last reply
        0
        • S
          S
          SKYnv
          wrote on last edited by
          #4

          @rabid said in Custom node down:

          I am guessing that I am missing something.

          I created two new events (node_down_emailB and node_up_emailB).

          I copied the Node Down and Node Up event processing policies and replaced with the events above.  I also added new email actions.

          I then went to the node status DCI and added a new threshold using the above events with 1 sample < 0.  (I already have a sys_node_down event that fires an email to a certain group and this part works).  I then checked process all thresholds.

          I reboot the server and userA gets an email (belongs to the sys_node_down event) but userB does not get an email (belongs to the node_down_emailB event).

          wrong

          all events is standart. you need sys_node_down.

          1. create two server action mail_a mail_b
          2. go to event processing policy.
          3. copy policy №1 (Show alarm when node is down)
          4. go to properties for this copied policy:
             a) add to source object your server_B
             b) add to server action your mail_b action
            also you can use filtering script instead source objects.
          1 Reply Last reply
          0
          • R
            R
            Rabid
            wrote on last edited by
            #5

            Thanks, it works like a charm!

            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