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

To show devices to which a particular active monitor is assigned:<br />

SELECT DISTINCT Device.nDeviceID<br />

FROM Device<br />

JOIN PivotActiveMonitorTypeToDevice<br />

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

JOIN ActiveMonitorType<br />

ON ActiveMonitorType.nActiveMonitorTypeID =<br />

PivotActiveMonitorTypeToDevice.nActiveMonitorTypeID<br />

WHERE Device.bRemoved = 0<br />

AND PivotActiveMonitorTypeToDevice.bRemoved = 0<br />

AND ActiveMonitorType.sMonitorTypeName LIKE '%Ping%'<br />

To find a device by its display name, host name, or IP address:<br />

SELECT DISTINCT Device.nDeviceID<br />

FROM Device<br />

JOIN NetworkInterface<br />

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

AND Device.nDefaultNetworkInterfaceID =<br />

NetworkInterface.nNetworkInterfaceID<br />

JOIN DeviceType<br />

ON Device.nDeviceTypeID = DeviceType.nDeviceTypeID<br />

WHERE (Device.sDisplayName LIKE '%Mail <strong>Server</strong>%'<br />

OR NetworkInterface.sNetworkName LIKE '%server1.ipswitch.com%'<br />

OR NetworkInterface.sNetworkAddress LIKE '%1.2.3.4%')<br />

AND Device.bRemoved = 0<br />

89

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

Saved successfully!

Ooh no, something went wrong!