I was looking for a more optimized way of loading the datapoints; perhaps through a CURL POST because trying to paste 2000 datapoints worth of data using a browser via the import/export can be slow.
Latest posts made by djmolloyjr22
-
RE: bulk update polling intervals on datapoint
-
bulk update polling intervals on datapoint
Hello-
Does anyone have any tips to update the polling cycle interval on datapoints? For example, would like to change all the datapoints from 15 minute interval to 5 minute interval. Taking the import/export might be difficult as we currently have over 2000 points in a system.
Regards,
Daniel
-
RE: query realtime data by passing multiple XID
We had a little trouble with the path until we realized we needed to escape the slashes. For example: /rest/v1/realtime.json?like(path,/datacenter/5/room/4) would need to be sent as: /rest/v1/realtime.json?like(path,%2fdatacenter%2f5%2froom%2f4%2f)
-
query realtime data by passing multiple XID
Hello,
Using the new beta 1.6, trying to use REST/SWAGGER to query the latest real-time read data for multiple XID. For example, the query would be something like: ?XID0=DP_622107&XID1=DP_621502&XID2=DP_622361 and the return would be a set of the 3 values.
Thanks,
Dan
-
RE: Mango Performance Tuning
@jeremyh I'm swamped at work right but but will be happy to write up when I get a break, probably around 1July. Short story, we are a datacenter company and using the product as a backend data acquisition tool to provide energy and environmental (Critical and Essential) such as room temperature/humidity/air handler information. We have a various set of protocols ranging from ModBus, BacNet, SNMP, SQL, and custom SOAP calls and needed a one stop package that Mango provides. We have a front-end website that makes API calls to the Mango for data point retrieval.
-
RE: Mango Performance Tuning
we have about 14,000 currently loaded, with more on the way. The box is on a VmWare with 2 cores, 64-bit CentOs 7, Java 7, and 4 gig of memory. The TOP looks like this:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1352 root 20 0 3567912 2.229g 22884 S 33.6 60.2 246:32.96 java -
RE: Mango Performance Tuning
I edited the ma-start.sh and changed the memory to 2048m. After doing so, the H2 cache was automatically increased from 54m to 115m. Will monitor for stability, but CPU use seems to be lower now. Below is the config entry:
$EXECJAVA $JPDA $JAVAOPTS -Xmx2048m -Xms2048m -server -cp "$MA_CP"
"-Dma.home=$MA_HOME"
"-Djava.library.path=$MA_HOME/overrides/lib:$MA_HOME/lib:/usr/lib/jni/:$PATH"
com.serotonin.m2m2.Main & -
Mango Performance Tuning
Are there any steps to increase the Java and H2 memory from the defaults? I have large number of points and API use and think increase in these to areas would be helpful. Running on linux Centos 7 with Java 7 and the H2.
Thanks,
Dan
-
RE: query points via SOAP
I realized the "script" datasource would be sufficient. It would be cool to do some native SOAP calls, but this will get me through.
-
query points via SOAP
Hello-
I have a need to query a webService as a datasource. I could use a php or python script and curl/soap to output a value, but how would I go about creating a custom data source that would call a custom local script?
Thanks,
Dan