Using Reference Variables with Script Monitors

Reference variables (also called "percent variables") enable you reference and represent device properties and underlying SNMP or WMI object data. The use of reference variables in the Active Script Performance Monitor is optional.

Use Context.GetReferenceVariable,for reference variables to be polled and their data graphed. By using the Context.GetReferenceVariable (variable name), you only need to specify the name of a pre-defined variable. WhatsUp Gold uses device credentials and connects to the target device using SNMP or WMI to retrieve the requested information. This information is stored in a variable that you can use later in your script.

Note: You can use up to 10 reference variables in each Active Script Performance Monitor.

See Also

Active Script (Performance)

Add New Reference Variable

Using the Context Object with Performance Monitors