The SatSCADA Watcher Service is a windows service used to import data into the SatSCADA Cloud. It uses a watched folder, and will upload .CSV and .DBD files to the SatSCADA server.
The Watcher can be installed on the SCADA host computer or on any Windows PC within the customers network.
Contact Bentek Systems Support to obtain the version you should be using.
The SatSCADA Watcher software is licensed to the customer by Bentek Systems for use with SatSCADA and SAT100/SAT110 Airtime Subscription.
From the Windows Task Manager you can stop, start, and restart the SatSCADA Watcher windows service as you would with any other windows service.
A restart is necessary whenever any configuration parameters are changed, either in the watcher.properties or log4j2.xml files.
There are a number of logs kept in c:/satscada/watcher/logs. These are time stamped and roll over when the size limit is reached. The current log has the .log extension and can be opened with any text editor. The older logs are archived in .gz format and need to be opened with a tool like 7zip.
Parameters controlling log file generation are in c:/satscada/watcher/log4j2.xml. The following table has the key parameters you might be interested in modifying. The other parameters normally do not need to be changed but if you are interested the detailed format specification of this XML file is at Log4j 2 User Guide.
If you change these you need to restart the SatSCADA Watcher service using the windows task manager.
| Element | Attribute | Description |
|---|---|---|
| SizeBasedTriggeringPolicy | size | Maximum size of a log file (10 MB is recommended). |
| DefaultRolloverStrategy | max | Maximum number of log files to retain. |
| Logger | level | Trace level. Can be: trace, debug, into, warn, error, fatal, off. Trace provides the most output and off the least. (trace is recommended). |
Configuration parameters are set in the c:/satscada/watcher/watcher.properties file using a text editor. If you change these you need to restart the SatSCADA Watcher service using the windows task manager.
| Property | Description |
|---|---|
| tagdata.username | Used to authenticate with the satscada server. Provided to you by Bentek. |
| tagdata.password | Encrypted password used to authenticate with the satscada server. The enctryped and unenctryped password will be provided to you by Bentek. |
| watched.folder | The folder monitored by the Watcher. This folder will have three sub-folders: input, archived and error. Files to upload should be placed in “input”. |
| tagdata.url | URL of the import web service on the satscada server. Normally never changed. |