NetXMS Support Forum

English Support => General Support => Topic started by: mitchellj on October 18, 2013, 04:13:51 PM

Title: Getting all previous values from a DCI
Post by: mitchellj on October 18, 2013, 04:13:51 PM
So like a few others I'm trying to get the 95th percentile for a interface, the way I'm trying to solve this would be to make a new DCI which takes all the values of a DCI, bubblesorts them and lops off the top 5% and then takes the next item.

The roadblock i'm running into :- is there a function to get a array of all previous DCI values?

If there isn't I don't suppose I can put in a feature request could I? GetDCIValues(nodeID, startTime, endTime) which just accepts a node id, a unix timestamp start time and a unix timestamp end time and all it does is spit out an array of all the DCI Values between the two values?

Thanks!
mitch
Title: Re: Getting all previous values from a DCI
Post by: Victor Kirhenshtein on October 22, 2013, 01:56:37 PM
Hi!

Yes, it is a feature request. It is not hard to implement, I'll make it for 1.2.10 release.

Best regards,
Victor
Title: Re: Getting all previous values from a DCI
Post by: mitchellj on October 22, 2013, 03:01:46 PM
Thanks!

It would be much appreciated!

mitch