Class MonitordGrpc.MonitordBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<MonitordGrpc.MonitordBlockingStub>
de.serosystems.proto.v3.grx.monitord.MonitordGrpc.MonitordBlockingStub
- Enclosing class:
- MonitordGrpc
public static final class MonitordGrpc.MonitordBlockingStub
extends io.grpc.stub.AbstractBlockingStub<MonitordGrpc.MonitordBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Monitord.
Monitor daemon service definition. Port 5305.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionprotected MonitordGrpc.MonitordBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.protobuf.Empty
clearResetReasons
(com.google.protobuf.Empty request) Clear all reset resons (see SystemInformation message).getCPUUsage
(com.google.protobuf.Empty request) Get current CPU usage.getCPUUsageHistory
(com.google.protobuf.Empty request) Get history of CPU usage.getFullSystemStatus
(com.google.protobuf.Empty request) Get full system status (single call for 7 most used calls).getGNSSInformation
(com.google.protobuf.Empty request) Get information related to the Global Navigation Satellite System (GNSS).Get log messages (without streaming/waiting for new ones).getMemoryUsage
(com.google.protobuf.Empty request) Get current memory usage.getMemoryUsageHistory
(com.google.protobuf.Empty request) Get history of memory usage.getMountedFilesystemUsage
(com.google.protobuf.Empty request) Get current file system usage.getNetworkCounters
(com.google.protobuf.Empty request) Get counters (in contrast to the rates) of the network usage.getNetworkUsage
(com.google.protobuf.Empty request) Get current network usage.getNetworkUsageHistory
(com.google.protobuf.Empty request) Get history of network usage.getProcessList
(com.google.protobuf.Empty request) Get a list of processes.getSwapUsage
(com.google.protobuf.Empty request) Get current swap usage.getSwapUsageHistory
(com.google.protobuf.Empty request) Get history of swap usage.getSystemHealth
(com.google.protobuf.Empty request) Get current system health.getSystemHealthHistory
(com.google.protobuf.Empty request) Get history of system health.getSystemInformation
(com.google.protobuf.Empty request) Get (lower level) information about the system, like e.g.getSystemLoad
(com.google.protobuf.Empty request) Get current system load.getSystemLoadHistory
(com.google.protobuf.Empty request) Get history of system load.getSystemPackages
(com.google.protobuf.Empty request) Get a list of (installed) system packages.getUnitList
(com.google.protobuf.Empty request) Get a list (with states) of systemd units.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected MonitordGrpc.MonitordBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<MonitordGrpc.MonitordBlockingStub>
-
getCPUUsage
Get current CPU usage.
-
getCPUUsageHistory
Get history of CPU usage.
-
getMemoryUsage
Get current memory usage.
-
getMemoryUsageHistory
public MonitorDProto.GetMemoryUsageHistoryReply getMemoryUsageHistory(com.google.protobuf.Empty request) Get history of memory usage.
-
getSwapUsage
Get current swap usage.
-
getSwapUsageHistory
public MonitorDProto.GetSwapUsageHistoryReply getSwapUsageHistory(com.google.protobuf.Empty request) Get history of swap usage.
-
getMountedFilesystemUsage
public MonitorDProto.GetMountedFilesystemUsageReply getMountedFilesystemUsage(com.google.protobuf.Empty request) Get current file system usage.
-
getProcessList
Get a list of processes.
-
getSystemPackages
Get a list of (installed) system packages.
-
getLogMessages
public MonitorDProto.GetLogMessagesReply getLogMessages(MonitorDProto.GetLogMessagesRequest request) Get log messages (without streaming/waiting for new ones).
-
getUnitList
Get a list (with states) of systemd units.
-
getNetworkUsage
Get current network usage.
-
getNetworkUsageHistory
public MonitorDProto.GetNetworkUsageHistoryReply getNetworkUsageHistory(com.google.protobuf.Empty request) Get history of network usage.
-
getNetworkCounters
Get counters (in contrast to the rates) of the network usage.
-
getSystemHealth
Get current system health.
-
getSystemHealthHistory
public MonitorDProto.GetSystemHealthHistoryReply getSystemHealthHistory(com.google.protobuf.Empty request) Get history of system health.
-
getSystemLoad
Get current system load.
-
getSystemLoadHistory
public MonitorDProto.GetSystemLoadHistoryReply getSystemLoadHistory(com.google.protobuf.Empty request) Get history of system load.
-
getSystemInformation
Get (lower level) information about the system, like e.g. uptime, reset reasons or low-level version information.
-
clearResetReasons
public com.google.protobuf.Empty clearResetReasons(com.google.protobuf.Empty request) Clear all reset resons (see SystemInformation message). This can be used to "acknowledge" certain events, such as a watchdog reset (or also a simple "power on reset").
-
getGNSSInformation
Get information related to the Global Navigation Satellite System (GNSS). Note: if the information is not available or outdated, the gRPC call will fail with status code ABORTED.
-
getFullSystemStatus
public MonitorDProto.GetFullSystemStatusReply getFullSystemStatus(com.google.protobuf.Empty request) Get full system status (single call for 7 most used calls). Note: submessages may be omitted if the "sub calls" fail, e.g. if GNSS information are invalid, the `gnss_information` submessage will not be included.
-