NetXMS Support Forum

English Support => General Support => Topic started by: Dani@M3T on June 26, 2014, 10:08:40 AM

Title: ConditionStatus()
Post by: Dani@M3T on June 26, 2014, 10:08:40 AM
I tried to use the internal DCI ConditionStatus() on a node to read the status of a condition. As I read in the forum the node must be in the trusted node list of the condition. But there is no trusted node list in condition (V1.2.14).
And what is the argument of ConditionStatus()? The condition "name" or the "Object ID"?
Title: Re: ConditionStatus()
Post by: Victor Kirhenshtein on June 26, 2014, 06:57:23 PM
It could be either condition object ID or name - if number is given server will interpret it as ID otherwise as name. If condition name is a number then you should use object ID :)

It's a bug that "Trusted nodes" is not shown for condition object. Just fixed it in development branch. As a workaround you can use legacy console to edit condition's trusted nodes list.

Best regards,
Victor
Title: Re: ConditionStatus()
Post by: Dani@M3T on June 26, 2014, 07:09:27 PM
Ok, thank's. The workaround with legacy console is absolutely ok.
Title: Re: ConditionStatus()
Post by: Dani@M3T on July 28, 2014, 09:28:29 PM
I can confirm it's fixed in V1.2.15.