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

AND PivotActiveMonitorTypeToDevice.bRemoved = 0<br />

To show all devices with disks that are 90% full or fuller:<br />

SELECT DISTINCT Device.nDeviceID<br />

FROM Device<br />

JOIN PivotStatisticalMonitorTypeToDevice<br />

ON Device.nDeviceID = PivotStatisticalMonitorTypeToDevice.nDeviceID<br />

JOIN StatisticalDiskIdentification<br />

ON PivotStatisticalMonitorTypeToDevice.nPivotStatisticalMonitorTypeToDeviceID =<br />

StatisticalDiskIdentification.nPivotStatisticalMonitorTypeToDeviceID<br />

JOIN StatisticalDiskCache<br />

ON StatisticalDiskIdentification.nStatisticalDiskIdentificationID =<br />

StatisticalDiskCache.nStatisticalDiskIdentificationID<br />

WHERE Device.bRemoved = 0<br />

AND PivotStatisticalMonitorTypeToDevice.bEnabled = 1<br />

AND StatisticalDiskCache.nDataType = 1<br />

AND (((nUsed_Avg / nSize) > 0.90)<br />

AND (NOT nSize = 0<br />

OR nSize IS<br />

NULL))<br />

To show all devices in maintenance or with at least one down active monitor and match<br />

the specified device types:<br />

SELECT DISTINCT Device.nDeviceID<br />

FROM Device<br />

JOIN MonitorState<br />

ON Device.nWorstStateID = MonitorState.nMonitorStateID<br />

WHERE Device.bRemoved = 0<br />

AND MonitorState.nInternalMonitorState IN (1,2)<br />

86

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

Saved successfully!

Ooh no, something went wrong!