Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Monitoring</strong> <strong>Caché</strong> Using Web Services<br />
See the comments for EnumBuffer() and see the class reference for SYS.Stats.Resource.<br />
EnumWriteDaemon()<br />
EventCancel()<br />
method EnumWriteDaemon() as %XML.DataSet<br />
Returns an instance of %XML.DataSet that enumerates statistics for all write daemons. For this instance, the dataset<br />
uses the Sample() class query of the SYS.Stats.WriteDaemon class.<br />
See the comments for EnumBuffer() and see the class reference for SYS.Stats.WriteDaemon.<br />
method EventCancel(id) as %Integer<br />
Cancels the subscription for a given web service; see EventSubscribe().<br />
EventSubscribe()<br />
GetDisk()<br />
method EventSubscribe(location) as %String<br />
Subscribes the given web service to receive information about events in this <strong>Caché</strong> instance. This can be your own<br />
web service or can be the SYS.WSMon.EventSink web service, which is provided as an example. If you create<br />
your own web service, it must follow the WSDL of the SYS.WSMon.EventSink web service.<br />
For location, specify the URL needed to invoke the EventSink() method of the web service. For<br />
SYS.WSMon.EventSink, you might specify location as the following:<br />
http://server:port/csp/sys/SYS.WSMon.EventSink.cls<br />
Where server is the server on which <strong>Caché</strong> is running, and port is the port that <strong>Caché</strong> uses.<br />
For each event, <strong>Caché</strong> will attempt to call EventSink() method of the given web service, sending an instance of<br />
SYS.WSMon.wsEvent.<br />
This method returns an ID that you can use to cancel the subscription; see EventCancel().<br />
method GetDisk() as SYS.Stats.Disk<br />
Returns an instance of SYS.Stats.Disk that contains metrics of disk usage for globals for this instance.<br />
See the class reference for SYS.Stats.Disk.<br />
GetECPAppSvr()<br />
method GetECPAppSvr() as SYS.Stats.ECPAppSvr<br />
Returns an instance of SYS.Stats.ECPAppSvr that contains ECP application server metrics for this instance.<br />
See the class reference for SYS.Stats.ECPAppSvr.<br />
GetECPDataSvr()<br />
method GetECPDataSvr() as SYS.Stats.ECPDataSvr<br />
Returns an instance of SYS.Stats.ECPDataSvr that contains ECP database server metrics for this instance.<br />
See the class reference for SYS.Stats.ECPDataSvr.<br />
126 <strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong>