Author Topic: Setting alarm severity based on a container value  (Read 83 times)

djdenney

  • Newbie
  • *
  • Posts: 13
    • View Profile
Setting alarm severity based on a container value
« on: January 11, 2021, 08:56:18 pm »
Hello,
I have created a container named "Critical Nodes" and any object assigned to that container will have an attribute named "CriticalNode" set to 1.  When I get a node down alarm, I would like to check if CriticalNode equals 0 and set an alarm severity to warning or minor.  I am new to NetXMS.

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 7140
    • View Profile
Re: Setting alarm severity based on a container value
« Reply #1 on: January 12, 2021, 09:40:08 am »
Hello!

Probably easiest way is to create two rules in event processing policy, one for critical nodes and one for everything else, and set different severity to generated alarms. See attached screenshot for an example.

Best regards,
Victor

djdenney

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Setting alarm severity based on a container value
« Reply #2 on: January 21, 2021, 05:45:40 pm »
Thank you Victor, that worked perfectly.