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 />

Properties<br />

Property Description<br />

GetDB; This property returns an open connection to the <strong>WhatsUp</strong> <strong>Gold</strong><br />

database.<br />

Example Active Script Active Monitors<br />

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

Active Script Active Monitors created by other <strong>WhatsUp</strong> <strong>Gold</strong> users, visit the <strong>WhatsUp</strong> <strong>Gold</strong><br />

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

Monitoring printer ink level and utilization (on page 913)<br />

Alert when temperature exceeds or drops out of range (on page 915)<br />

Determine invalid user account activity (on page 916)<br />

Monitor bandwidth utilization on an interface (on page 920)<br />

Monitor an SNMP agent running on a non standard port (on page 923)<br />

Monitor for unknown MAC addresses (on page 924)<br />

Monitoring printer ink level and utilization<br />

Note: This example is provided as an illustration only and is not supported. Technical support<br />

is available for the Context object, SNMP API, and scripting environment, but <strong>Ipswitch</strong> does<br />

not provide support for JScript, VBScript, or developing and debugging Active Script<br />

monitors or actions. For assistance with this example or with writing your own scripts, visit<br />

the <strong>WhatsUp</strong> <strong>Gold</strong> user community (http://www.whatsupgold.com/wugspace).<br />

This active monitor polls an object of the printer mib to gather the ink level information and<br />

then computes the ink percent utilization of a printer.<br />

The active monitor will fire an alert if the utilization exceeds a value set on the first line of the<br />

script.<br />

Note: This script was tested on an HP MIB.<br />

913

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

Saved successfully!

Ooh no, something went wrong!