EAServer includes several APIs that you can use to create your own monitoring applications, including:
Jaguar::Monitoring provides methods to monitor the server state, connected users, and performance statistics such as the number of active and pooled component instances.
Jaguar::PerfMonitor provides performance statistics in a per-second, per-minute, and per-hour bucket model for systems that have a statistics provider component installed. EAServer includes statistics providers for the connection caching and HTTP protocol handler subsystems. You can implement additional statistics providers for your application code using the Jaguar::StatProvider and Jaguar::StatProviderController interfaces.
CtsComponents::CacheMonitor allows you to retrieve cache statistics for HTTP response caching, EJB CMP entity bean instance caching, and EJB CMP finder-results caching.
The logPerfManagerStats method in the Jaguar::Management interface reports statistics for components and network listeners that have monitoring thresholds configured for the EAServer Performance Monitor. For an example program that calls this method, see “Obtaining performance monitor statistics”.
For additional documentation of these APIs, see the generated HTML reference documentation in the html/ir subdirectory of your EAServer installation.
Copyright © 2005. Sybase Inc. All rights reserved. |