Once you have published an performance counter in WinGate, you can then set the Data module to begin monitoring the counter data.
Since there is a processing overhead when monitoring data, all data that is published to the Monitoring tab will not be monitored, until you explicitly enable a selected value on the Monitoring tab.
Right click on the selected performance counter and select Enable monitoring. Alternatively double click the published performance counter data that you wish to monitor. This will open the Monitoring properties.
When you are configuring the properties of a piece monitored data, the Threshold checking options are optional.
You can stop WinGate from monitoring a piece of data by right clicking on it (in the Monitoring tab) and selecting Disable monitoring.
It is also possible to begin monitoring performance counter data (that has been published for monitoring) when using a WinGate scripting system, or a configuration that has access to a Symbol browser. The Data system publishes the Data.GetMonitor(Text DataSource, Text DataItem) method for this purpose.
When you use this method, it will check to see if the specified published data provided by the specified data source is currently being monitored. If it isn't, it will automatically turn on monitoring for the selected piece of published data. This alleviates the need to switch on monitoring for the selected data from the Monitoring tab, before being able to access or refer to it in script.
e.g.
A script could contain:
Data.GetMonitor("PerfCounters","externalPackets")
This would attempt to see if a piece of performance counter data called externalPackets (DataItem) published by PerfCounters (DataSource) is currently being monitored. If it isn't, then WinGate will begin monitoring the published data named externalPackets.
Read more about using WinGate objects
Once you have set a piece of data to be monitored, it is available to be read and referred to by other WinGate services and components just like global data items.
Read about accessing monitored data
©2012 Qbik New Zealand Limited
no comments yet...
You can use basic Full-Text Searches against the page title and body to find matching articles. Use the following search modifiers to refine your query:
You can create a new account or reset your password at forum.wingate.com.