25.01.2015 Views

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

D<br />

<strong>Monitoring</strong> <strong>Caché</strong> Using Web Services<br />

This appendix introduces and briefly describes how to use <strong>Caché</strong> support for the WS-Management specification, which<br />

enables you to remotely monitor a <strong>Caché</strong> instance via SOAP.<br />

D.1 Overview of <strong>Caché</strong> Support for WS-<strong>Monitoring</strong><br />

Following the WS-Management specification, the SYS.WSMon package provides a web service that you can use to remotely<br />

monitor a <strong>Caché</strong> instance. It is functionally similar to the SNMP interface (see the “<strong>Monitoring</strong> <strong>Caché</strong> Using SNMP”<br />

appendix of this guide) and WMI interface (see the “<strong>Monitoring</strong> <strong>Caché</strong> Using WMI” appendix of this guide), but uses the<br />

built-in <strong>Caché</strong> web services support.<br />

The support for WS-Management includes the following elements:<br />

• The <strong>Caché</strong> <strong>Monitoring</strong> Web Service (SYS.WSMon.Service) that provides methods that return information about a <strong>Caché</strong><br />

instance.<br />

• A <strong>Caché</strong> web client (SYS.WSMon.Client) that can invoke methods in this <strong>Monitoring</strong> Web Service or in the <strong>Monitoring</strong><br />

Web Service of another <strong>Caché</strong> instance.<br />

Instead of using this web client, you can create your own web client, possibly using third-party technology.<br />

• Several XML-enabled classes that this web service and client use to represent monitoring information.<br />

These classes include SYS.WSMon.wsEvent, which can represent events.<br />

• A sample event sink web service (SYS.WSMon.EventSink) that can receive and process events. Via a SOAP call, you<br />

can subscribe to this sample event sink service so that it will receive events from any <strong>Monitoring</strong> Web Service.<br />

Instead of using this sample, you can create your own, possibly using third-party technology.<br />

These classes are available only in the %SYS namespace.<br />

For basic monitoring, you can use the <strong>Caché</strong> <strong>Monitoring</strong> Web Service with a web client in another instance as follows:<br />

<strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong> 123

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

Saved successfully!

Ooh no, something went wrong!