16.01.2013 Views

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Ipswitch</strong> <strong>WhatsUp</strong> <strong>Gold</strong> <strong>User</strong> <strong>Guide</strong><br />

multiple values using the feature, only one value will be stored to the database: the outcome<br />

of your scripted calculation.<br />

Reference Variables<br />

Reference variables simplify your scripting code and enable you to write scripts efficiently,<br />

without having to grab a list of device properties, as with the Script Action and Script Active<br />

Monitor. They take care of the underlying SNMP or WMI mechanisms that you would<br />

normally have to deal with to access SNMP or WMI counters on a remote device.<br />

By using the Context.GetReferenceVariable (variable name), you only need to specify<br />

the name of a pre-defined variable. <strong>WhatsUp</strong> <strong>Gold</strong> uses a device's credentials to connect to<br />

the target device using SNMP or WMI to retrieve the requested information. This information<br />

is stored in a variable that you can use later in your script.<br />

Important: The use of reference variables in the Active Script Performance Monitor is<br />

optional. If you do use them, you must use Context.GetReferenceVariable,for reference<br />

variables to be polled and their data graphed.<br />

927

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!