NetXMS Support Forum

English Support => General Support => Topic started by: Luis Montaño on February 13, 2019, 01:17:42 AM

Title: how to create a threshold based on elapsed time and compare with previous values
Post by: Luis Montaño on February 13, 2019, 01:17:42 AM
Hi everyone.
1) Is there a way to create thresholds if a event keeps for last n minutes.
For example, alert if a node is down for more than 5 minutes or alert if bandwith is above xxx for more than 10 minutes?

2) I need to check for network interfaces error and create an alert if error on some interface increase, I suppose that I have tu use the option "diff with previous value" do you have any example?
Title: Re: how to create a threshold based on elapsed time and compare with previous values
Post by: Victor Kirhenshtein on February 14, 2019, 10:41:49 PM
Hi!

1) You can use actions with timers. For example, execute action on node down event with timer set to 5 minutes, and cancel this timer on "node up" event. If node will recover within 5 minute interval, timer will be cancelled and action never executed.

2) Yes, diff will be correct method in this case.

Best regards,
Victor