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. 
 
  • Method Details

    • build

      protected MonitordGrpc.MonitordBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<MonitordGrpc.MonitordBlockingStub>
    • getCPUUsage

      public MonitorDProto.CPUUsage getCPUUsage(com.google.protobuf.Empty request)
       Get current CPU usage. 
       
    • getCPUUsageHistory

      public MonitorDProto.GetCPUUsageHistoryReply getCPUUsageHistory(com.google.protobuf.Empty request)
       Get history of CPU usage. 
       
    • getMemoryUsage

      public MonitorDProto.MemoryUsage getMemoryUsage(com.google.protobuf.Empty request)
       Get current memory usage. 
       
    • getMemoryUsageHistory

      public MonitorDProto.GetMemoryUsageHistoryReply getMemoryUsageHistory(com.google.protobuf.Empty request)
       Get history of memory usage. 
       
    • getSwapUsage

      public MonitorDProto.SwapUsage getSwapUsage(com.google.protobuf.Empty request)
       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

      public MonitorDProto.GetProcessListReply getProcessList(com.google.protobuf.Empty request)
       Get a list of processes. 
       
    • getSystemPackages

      public MonitorDProto.GetSystemPackagesReply getSystemPackages(com.google.protobuf.Empty request)
       Get a list of (installed) system packages. 
       
    • getLogMessages

       Get log messages (without streaming/waiting for new ones). 
       
    • getUnitList

      public MonitorDProto.GetUnitListReply getUnitList(com.google.protobuf.Empty request)
       Get a list (with states) of systemd units. 
       
    • getNetworkUsage

      public MonitorDProto.GetNetworkUsageReply getNetworkUsage(com.google.protobuf.Empty request)
       Get current network usage. 
       
    • getNetworkUsageHistory

      public MonitorDProto.GetNetworkUsageHistoryReply getNetworkUsageHistory(com.google.protobuf.Empty request)
       Get history of network usage. 
       
    • getNetworkCounters

      public MonitorDProto.GetNetworkCountersReply getNetworkCounters(com.google.protobuf.Empty request)
       Get counters (in contrast to the rates) of the network usage. 
       
    • getSystemHealth

      public MonitorDProto.SystemHealth getSystemHealth(com.google.protobuf.Empty request)
       Get current system health. 
       
    • getSystemHealthHistory

      public MonitorDProto.GetSystemHealthHistoryReply getSystemHealthHistory(com.google.protobuf.Empty request)
       Get history of system health. 
       
    • getSystemLoad

      public MonitorDProto.SystemLoad getSystemLoad(com.google.protobuf.Empty request)
       Get current system load. 
       
    • getSystemLoadHistory

      public MonitorDProto.GetSystemLoadHistoryReply getSystemLoadHistory(com.google.protobuf.Empty request)
       Get history of system load. 
       
    • getSystemInformation

      public MonitorDProto.SystemInformation getSystemInformation(com.google.protobuf.Empty request)
       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

      public MonitorDProto.GNSSInformation getGNSSInformation(com.google.protobuf.Empty request)
       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.