The Data Service Agent is a windows service that run on the web server, alongside the forecast listening service. The agent queries the AGR databases and system URL for the customer’s AGR system health and configuration data and posts it via HTTPS to an API hosted at AGR Dynamics.
The web server, where the System Monitor Data Service Agent is installed, needs .Net Framework v4.6.1 to be able to install. If you can run the installer without problems, you don’t need to worry about this. If the installer reports that the server is missing the .NET Framework v4.6.1, please ask the customer’s IT person to install it.
Step 1
Download the AGRSystemMonitorServiceInstaller and run it on the customer’s web service machine
Step 2
Keep the default path and install the AGR System Monitor for “Just me”.
Step 3
In the Account Key input field, type the customer’s account key which can be found on Jira Tempo under Accounts.
Step 4
Under Connection information, fill out the following input fields:
The URL must state the transfer protocol, i.e. start with http:// or https://. It varies between customers whether they use http:// or https:// so please make sure you test which one works.
Examples:
Step 5
During installation, the Set Service Login dialog box pops up. Input the username including domain that should run the service. This should be a user that has the appropriate rights on the web server to run a service and reading rights on the AGR production and staging databases.
Most of the time, the user that is already used for running the AGR forecast service can be used here.
Once the installation is finished, you should now see that AGR System Monitor service is running.
If the service doesn’t move to status = running and once you try and start it manually you get the error: The “service name” service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other service or programs. This means that the service user(Log On As) doesn’t have the required rights to read from the config file. To fix this simply edit the rights for the folder C:\Program Files (x86)\AGR Dynamics. Give full control to the service user on this folder.
The AGR System Monitor Data Service Agent can be configured in the AGRSysMonService.exe file in the AGR System Monitor folder.
This section is optional if the input to the installer was correct. The service will receive default settings.
In the appSettings section, the configuration elements are the following:
In the connectionStrings section, the connection strings are:
Dbo.settings → Various settings in the AGR system, i.e. whether demand in stockout is seen as lost sale and similar cases.
Dbo.log_system_status and dbo.log_system_status_config → The tables that the status lights on the home page use to check and notify when the data transfer failed.
Divides the nightly run into Data Transfer, Orders and Reports. Stores data from 30 days back.
Dbo.log_system_status_forecast → An additional table that the status lights use to check and notify if the forecasts failed.
We fetch information about the number of open item numbers, number of warehouses and number of suppliers from dbo.items and dbo.locations.
Log.transfer_log_steps → Logs all steps in the nightly run. It includes time of each step and the error message if appropriate and similar things regarding each step.
Ctr.data_transfer_settings → Keeps the name and version of the ERP, i.e. Navision 2015 and the name of the server that the ERP is stored on.
AGR version, build number and build suffix.
The version of the Windows Server and the SQL Server on the AGR server.
Available space on each drive on the AGR server. Lack of space is often the cause of errors in the system.
The storage capacity of each drive on the AGR server.
For this to work, the Ole Automation Procedures need to be enabled. If not, this information is skipped and consultants only see how much space is left on the disk.