This information can be obtained from the gateway by using the Gateway-SQL plug-in. The query works by looking up the sample interval property value for each sampler on the gateway. An example of the dataview is listed below. The xml of the sampler is attached at the bottom.
Please note:
1-Depending on the estate of your gateway the sampler may be expensive in terms of performance and may take some time to run.
2-Due to the above reason, the sampler is configured on purpose NOT to sample on startup and does not run on its own. It has a 0 sampling interval. As a result, you will see "0 rows, Manual sampling" in the dataview when the sampler is initialized.
3-To run the sampler manually, click on the "Sample now" or refresh icon in the dataview.
Further Reading
Users can check out the Gateway-SQL section in Gateway Reference Guide. The SQL statements are based on SQLite, which is described at https://www.sqlite.org/lang.html.
Comments
0 comments
Please sign in to leave a comment.