Interface MonitordGrpc.AsyncService
- All Known Implementing Classes:
MonitordGrpc.MonitordImplBase
- Enclosing class:
- MonitordGrpc
public static interface MonitordGrpc.AsyncService
Monitor daemon service definition. Port 5305.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
clearResetReasons
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Clear all reset resons (see SystemInformation message).default void
getCPUUsage
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.CPUUsage> responseObserver) Get current CPU usage.default void
getCPUUsageHistory
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetCPUUsageHistoryReply> responseObserver) Get history of CPU usage.default void
getFullSystemStatus
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetFullSystemStatusReply> responseObserver) Get full system status (single call for 7 most used calls).default void
getGNSSInformation
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GNSSInformation> responseObserver) Get information related to the Global Navigation Satellite System (GNSS).default void
getLogMessages
(MonitorDProto.GetLogMessagesRequest request, io.grpc.stub.StreamObserver<MonitorDProto.GetLogMessagesReply> responseObserver) Get log messages (without streaming/waiting for new ones).default void
getMemoryUsage
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.MemoryUsage> responseObserver) Get current memory usage.default void
getMemoryUsageHistory
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetMemoryUsageHistoryReply> responseObserver) Get history of memory usage.default void
getMountedFilesystemUsage
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetMountedFilesystemUsageReply> responseObserver) Get current file system usage.default void
getNetworkCounters
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetNetworkCountersReply> responseObserver) Get counters (in contrast to the rates) of the network usage.default void
getNetworkUsage
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetNetworkUsageReply> responseObserver) Get current network usage.default void
getNetworkUsageHistory
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetNetworkUsageHistoryReply> responseObserver) Get history of network usage.default void
getProcessList
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetProcessListReply> responseObserver) Get a list of processes.default void
getSwapUsage
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.SwapUsage> responseObserver) Get current swap usage.default void
getSwapUsageHistory
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetSwapUsageHistoryReply> responseObserver) Get history of swap usage.default void
getSystemHealth
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.SystemHealth> responseObserver) Get current system health.default void
getSystemHealthHistory
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetSystemHealthHistoryReply> responseObserver) Get history of system health.default void
getSystemInformation
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.SystemInformation> responseObserver) Get (lower level) information about the system, like e.g.default void
getSystemLoad
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.SystemLoad> responseObserver) Get current system load.default void
getSystemLoadHistory
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetSystemLoadHistoryReply> responseObserver) Get history of system load.default void
getSystemPackages
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetSystemPackagesReply> responseObserver) Get a list of (installed) system packages.default void
getUnitList
(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetUnitListReply> responseObserver) Get a list (with states) of systemd units.
-
Method Details
-
getCPUUsage
default void getCPUUsage(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.CPUUsage> responseObserver) Get current CPU usage.
-
getCPUUsageHistory
default void getCPUUsageHistory(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetCPUUsageHistoryReply> responseObserver) Get history of CPU usage.
-
getMemoryUsage
default void getMemoryUsage(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.MemoryUsage> responseObserver) Get current memory usage.
-
getMemoryUsageHistory
default void getMemoryUsageHistory(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetMemoryUsageHistoryReply> responseObserver) Get history of memory usage.
-
getSwapUsage
default void getSwapUsage(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.SwapUsage> responseObserver) Get current swap usage.
-
getSwapUsageHistory
default void getSwapUsageHistory(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetSwapUsageHistoryReply> responseObserver) Get history of swap usage.
-
getMountedFilesystemUsage
default void getMountedFilesystemUsage(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetMountedFilesystemUsageReply> responseObserver) Get current file system usage.
-
getProcessList
default void getProcessList(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetProcessListReply> responseObserver) Get a list of processes.
-
getSystemPackages
default void getSystemPackages(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetSystemPackagesReply> responseObserver) Get a list of (installed) system packages.
-
getLogMessages
default void getLogMessages(MonitorDProto.GetLogMessagesRequest request, io.grpc.stub.StreamObserver<MonitorDProto.GetLogMessagesReply> responseObserver) Get log messages (without streaming/waiting for new ones).
-
getUnitList
default void getUnitList(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetUnitListReply> responseObserver) Get a list (with states) of systemd units.
-
getNetworkUsage
default void getNetworkUsage(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetNetworkUsageReply> responseObserver) Get current network usage.
-
getNetworkUsageHistory
default void getNetworkUsageHistory(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetNetworkUsageHistoryReply> responseObserver) Get history of network usage.
-
getNetworkCounters
default void getNetworkCounters(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetNetworkCountersReply> responseObserver) Get counters (in contrast to the rates) of the network usage.
-
getSystemHealth
default void getSystemHealth(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.SystemHealth> responseObserver) Get current system health.
-
getSystemHealthHistory
default void getSystemHealthHistory(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetSystemHealthHistoryReply> responseObserver) Get history of system health.
-
getSystemLoad
default void getSystemLoad(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.SystemLoad> responseObserver) Get current system load.
-
getSystemLoadHistory
default void getSystemLoadHistory(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetSystemLoadHistoryReply> responseObserver) Get history of system load.
-
getSystemInformation
default void getSystemInformation(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.SystemInformation> responseObserver) Get (lower level) information about the system, like e.g. uptime, reset reasons or low-level version information.
-
clearResetReasons
default void clearResetReasons(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) 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
default void getGNSSInformation(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GNSSInformation> responseObserver) 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
default void getFullSystemStatus(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<MonitorDProto.GetFullSystemStatusReply> responseObserver) 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.
-