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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

GetProperty(sPropertyName); This property offers access to many device specific aspects. You<br />

obtain access to these items using the names listed. Theses names<br />

are case sensitive.<br />

"ActionName" The action display name<br />

"Address" The IP Address of the device<br />

"Name" Network name of the device<br />

"DisplayName" Display name of the device<br />

"DeviceID" The device ID<br />

"ActionTypeID" The action type ID<br />

"TriggerCondition" The reason the action was<br />

fired.<br />

Example<br />

JScript<br />

Example Active Script Actions<br />

Trigger values:<br />

1 Monitor changed from<br />

DOWN to UP<br />

2 Monitor changed from UP<br />

to DOWN<br />

4 A Passive Monitor was<br />

received...<br />

8 The "Test" Button was hit<br />

16 This is a recurring action...<br />

32 Device is UP<br />

64 Device is DOWN<br />

var sAddress = Context.GetProperty("Address");<br />

var nDeviceID = Context.GetProperty("DeviceID");<br />

These scripts demonstrate a few potential uses of Active Script Actions. To view other Active<br />

Script Actions created by other <strong>WhatsUp</strong> <strong>Gold</strong> users, visit the <strong>WhatsUp</strong> <strong>Gold</strong> user community<br />

(http://www.whatsupgold.com/wugspace).<br />

Post device status to Twitter (on page 940)<br />

Acknowledge all devices (on page 940)<br />

939

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

Saved successfully!

Ooh no, something went wrong!