Qbik Helpsys

Dashboard switches

The Dashboard allows you to create switches that you can use to control certain WinGate operations. Each module or component can register what points during its operation can be made into switches for each dashboard.

In the example below, the HTTPCache module has registered the Cache enabled (turn it on or off), Cache purge (purge the cache), and the reset Cache statistics control points. The switches created around these control points, provide quick access management while viewing the Cache performance meters on the same dashboard.

Boolean switches

The Data system will also register any global data Boolean value as a switch control point. This allows you to swap the current value of the global Boolean value (True or False) by simply creating the appropriate switch (on or off) on the dashboard. Since other WinGate modules and components may rely on this global Boolean value to determine their operations, switches provide a convenient way of having instant, stop/start control over their activity.

WinGate script systems (such as the Lua or Javascript event processors) have access to global Boolean values, and so you can control their script behaviour by using the boolean as a switch on the dashboard to set its value. Every time the script is run, it could be made to check the global Boolean value, and the script execution determined accordingly to the status set by the switch.

Similarly, the WinGate Policy system can utilize the Data boolean check policy item, to check the state of a global Boolean value during the policy evaluation. Using a switch on the dashboard allows you to control the processing path that the policy will take when it evaluates the current value of the Boolean using the Data boolean check policy item.

The switch on the dashboard allows you to easily control the entire process. Using Global Boolean values allows you to create different switches for any control requirements you may have.

To create a switch:

  1. Open the WinGate Management console.
  2. Navigate to Monitoring > Dashboard.
  3. Right click on the dashboard where you wish to place the switch, and select Design from the menu. Alternatively you can select Design from the Tasks menu on the Navigation panel. This will put the dashboard into Design mode.
  4. On the Dashboard Tool bar, select Switch. This will open the Switch Settings.
  5. Click the Input button next to the Control source entry. This will open up the Select Control data dialog.
  6. Select the registered control point you want the switch to manage, and click OK to return to the switch properties.
  7. Click OK to return to the dashboard where the switch will be selected. Create a suitable label for the switch to identify its purpose on the dashboard.
  1. no comments yet...

Download helpfile

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:

  • event management (no quotes) will find all pages containing the words "event" OR "management"
  • "event management" (with quotes) will find all pages containing the phrase "event management"
  • +event -management will find all pages containing the word "event", AND NOT the word "management"