NetXMS Support Forum

English Support => General Support => Topic started by: gkaudewitz on August 05, 2016, 12:17:19 PM

Title: Conditions in table-dcis matching against tabledata
Post by: gkaudewitz on August 05, 2016, 12:17:19 PM
Hello together,

writing a threshold condition for a table dci I would need to refer to a value of an other column in that table.

Example:
Having columns:
* Amps with an ampervalue describing actual power consumptions
* maxamps with an value for maximal allowed powerconsuption

I will need a condition like:
if (amps >= maxamps)
  Activationevent
else
  Deactivationevent;

Is there a way to implement such a condition with thersholds GUI?

As a workaround currently I create an activationevent within transformationscript.....

Best regards

Georg
Title: Re: Conditions in table-dcis matching against tabledata
Post by: Victor Kirhenshtein on August 16, 2016, 04:06:27 PM
Hi,

currently it's not possible. Actually table thresholds need major rework, I'll try to do at least some improvements in 2.1.

Best regards,
Victor