Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 2.98 KB

File metadata and controls

57 lines (39 loc) · 2.98 KB

systemlink-storeandforward-beacon

SystemLink Store and Forward Beacon is a SaltStack beacon for monitoring the health of the SystemLink Client store and forward feature. The beacon will monitor folders involved with the operation of store and forward to determine how many requests are pending to be forwarded, and how many requests have been quarantined due to errors reported from requests to the server.

This example has only been tested on Windows with a default installation of SystemLink 2022 Q1 and is provided as is.

For more information see Salt States and Salt Beacons.

Installation

Using NI Package (Recommended)

  1. Upload ni-systemlink-storeandforward-beacon_<version>_windows_all.nipkg to a feed in SystemLink Package Repository.
  2. Deploy the NI SystemLink Store and Forward Beacon package to the client.

Using SaltStack

  1. Copy the src/systemlink_storeandforward_beacon directory and and salt/systemlink_storeandforward_monitor.conf file to your server's salt root
    • Defaults to C:\ProgramData\National Instruments\salt\srv\salt
  2. Import salt/systemlink_storeandforward_beacon.sls file as a new state in the SystemLink States web UI
    • Open System Management > States from the navigation menu
    • Click the Import button in the toolbar
    • Browse to the .sls file
  3. Apply the state to the systems you'd like to monitor

Uninstallation

Using NI Package

Use Systems Management to uninstall the NI SystemLink Store and Forward Beacon package from the client.

Using SaltStack

Import salt/uninstall_systemlink_storeandforward_beacon.sls file as a new state and run it on the systems you wish to uninstall the beacon from.

Configuration

  1. Verify the tags appear in the SystemLink Tag Viewer web UI. See the SystemLink manual for details.
    • The tags will have the path <minion_id>.TestMonitor.StoreAndForward.*
  2. Create Alarms to be notified when the tags exceed limits for your application

Development

systemlink-storeandforward-beacon uses poetry to manage dependencies and Python version 3.6.8, which matches the version of Python included on SystemLink Client 2022 Q1 installations.

The package can be built using NI Package Builder.