Publishing data for monitoring
WinGate components will publish what data they have available to be monitored with the Data system. These published data items are displayed on the Monitoring tab, located at Control Panel > Data in the WinGate Management console. From here you can select which of the published pieces of data will be monitored.
Usually available data items will be published by the various sources to the Monitoring tab automatically. However, there are two cases where you will have to manually publish data for monitoring:
-
Manual publishing option in WinGate configurations
Some WinGate configurations have a manual option for whether a particular piece of data will be published for monitoring. For example, when you create a global data counter, there is a configuration option to Publish the counter for monitoring. In cases like this the data item will only be listed on the Monitoring tab (and be available for monitoring) if this configuration option is selected.
-
Operating System performance counters
Since performance counters are provided from outside WinGate by the operating system (or targeted machine) you must first select which performance counters you wish to publish into WinGate, before they will be available for monitoring.
Read more
Publishing from script
When you are using a WinGate script system, or the Symbol browser to create a global data counter using the Data.GetCounter(Text CounterName) method, there is the additional Publish(boolean) method available for you to optionally publish the counter as it is created.
This allows you to create a global data counter and have it published for monitoring all within the one call.
e.g. A script could contain:
Data.GetCounter("testcounter").Publish(1)
This would first check to see if there was a global data counter item called testcounter. If there was, it would publish it to the Monitoring tab making it available to be monitored.
If the counter doesn't exist, then a new global data counter called testcounter will be created and published to the Monitoring tab automatically.
Read more about using WinGate objects
Note
When a piece of data is published to the Monitoring tab, it will not monitor data until you explicitly set it to begin monitoring.
Read more