@Path(value="/monitoring")
public interface IMonitoring
Modifier and Type | Method and Description |
---|---|
Config |
getConfig()
TMP: fetches CPU and RAM information
|
MethodInformation |
getMethodInfo(java.lang.String plugin,
java.lang.String service,
java.lang.String method)
Fetches all information from a method belonging to a given service
|
PluginInformation |
getPluginInfo(java.lang.String plugin)
Fetches all information from a single given plugin
|
PluginsList |
getPluginsInfo()
Fetches a list of all information (plugin information, service
information, method information, server information) from every
monitoring plugin.
|
ServerInformation |
getServerInfo(java.lang.String plugin,
java.lang.String service,
java.lang.String method,
java.lang.String server)
Fetches information from a given method belonging to a specific server
|
ServiceInformation |
getServiceInfo(java.lang.String plugin,
java.lang.String service)
Fetches all information from a service belonging to a given plugin
|
@GET @Path(value="_all") PluginsList getPluginsInfo() throws java.lang.Exception
java.lang.Exception
@GET @Path(value="_config") Config getConfig() throws java.lang.Exception
java.lang.Exception
@GET @Path(value="{plugin}") PluginInformation getPluginInfo(@PathParam(value="plugin") java.lang.String plugin) throws java.lang.Exception
plugin
- the plugin from which the information must be fetchedjava.lang.Exception
@GET @Path(value="{plugin}/{service}") ServiceInformation getServiceInfo(@PathParam(value="plugin") java.lang.String plugin, @PathParam(value="service") java.lang.String service) throws java.lang.Exception
plugin
- the plugin containing the serviceservice
- the service from which the information must be fetchedjava.lang.Exception
@GET @Path(value="{plugin}/{service}/{method}") MethodInformation getMethodInfo(@PathParam(value="plugin") java.lang.String plugin, @PathParam(value="service") java.lang.String service, @PathParam(value="method") java.lang.String method) throws java.lang.Exception
plugin
- the plugin containing the serviceservice
- the service containing the methodmethod
- the method from which the information must be fetchedjava.lang.Exception
@GET @Path(value="{plugin}/{service}/{method}/{server}") ServerInformation getServerInfo(@PathParam(value="plugin") java.lang.String plugin, @PathParam(value="service") java.lang.String service, @PathParam(value="method") java.lang.String method, @PathParam(value="server") java.lang.String server) throws java.lang.Exception
plugin
- the plugin containing the serviceservice
- the service containing the methodmethod
- the method to be usedserver
- the server from which the information must be fetchedjava.lang.Exception
Copyright © 2021. All Rights Reserved.