Navixy platform by default has certain limits when working with reports and alerts. You can build reports and set up notifications only for a certain number of devices, and in addition, build reports for no more than a certain period. These restrictions are imposed to prevent excessive load on the server, as generation of reports and notifications is a rather resource-intensive operation.
In various business cases, you may find that you need to change (usually increase) the limits mentioned above. For Navixy On-premise solution this can be done if your server performance is sufficient enough.
Number of devices in Reports
Maximum number of devices per report may vary depending on the platform version and the previously made settings.
To change the maximum number of devices, you need to edit Config.js file located at the path:
In this file you need to find the reportsMaxTrackersCount block. In recent versions of the platform it looks like this:
In this block you can specify limits separately for each report type.
However, in most cases it is not necessary to configure the limits separately, and it is enough to specify a general limit for all the reports. To do this, add the line
maxTrackersPerReport: XXXXX to the configuration after the above block. Example (limit of 1000 devices per report):
After these changes, the maximum number of devices per report will be increased to 1000.
Number of devices in Alerts
The maximum number of devices for alerts is also specified in the Config.js file:
You need to find the line:
The value in this line adjusts the number of devices you can select when setting up an alert.
Date range in Reports
By default, the maximum date range for most reports is 90 days. This value can also be increased, but you need to change a different configuration file to do this.
You need to find the api-server configuration. The file is located at the path:
Open this file in a text editor and find the following line:
Change the 90d value to whatever you need. Note that the number of days must be followed by the letter d.