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. Node down and situation setup

Node down and situation setup

Scheduled Pinned Locked Moved Support
1 Posts 1 Posters 14.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.
  • S
    S
    sharpspro
    wrote on last edited by
    #1

    I'm trying to get NetXMS to email me when a PRIMARY interface NODE is down and not the SECONDARY interface NODE. I created a node called NIC01 and a node called NIC02. The secondary NIC02 will not work if the primary NIC01 is down. I want NIC02 to report only if NIC01 is still up.

    I used the following link and other posts and could not get it figured out. https://www.netxms.org/forum/configuration/node-down-config-question/

    Below is what i have now:

    1. Open Situations and Create situation called "NodeDown"

    2. Using the SYS_NODE_DOWN event in Event Configuration

    3. Open Event Processing Policy

    4. Created  Event Processing Policy

    • Event: SYS_NODE_DOWN
    • Situtation object: NodeDown
    • Instance: %n
    • Attribute: NAME: status  VALUE: 1
    1. Created  Event Processing Policy
    • Event: SYS_NODE_DOWN
    • Filtering Script: SEE BELOW

    sub main()
    {
      s1 = FindSituation("NodeDown", "NIC01");
      isDownA = (s1 != null) ? s1->status : 0;
      s2 = FindSituation("NodeDown", "NIC02");
      isDownB = (s2 != null) ? s2->status : 0;
      return s1 && s2;
    }

    What am I missing? Do i need that 2nd Policy at step 5? or do I add the script on the first policy, where i defined the situation.

    Any help on this would be great. I love NetXMS and I have been tasked with figuring this out. Figuring this part out would be a great achievement for me.

    Thanks for any help on this
    Cheers!

    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