Class: OPNsenseAPI::Core::Diagnostics::SystemHealth

Inherits:
Object
  • Object
show all
Includes:
OPNsenseAPI::Core
Defined in:
lib/opnsense_api/core/diagnostics/system_health.rb

Constant Summary collapse

BASE_PATH =
'/diagnostics/systemhealth'

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#get_interfaces(params = {}) ⇒ Object



26
27
28
# File 'lib/opnsense_api/core/diagnostics/system_health.rb', line 26

def get_interfaces(params = {})
  @client.get("#{BASE_PATH}/getInterfaces", params)
end

#get_rrd_list(params = {}) ⇒ Object



30
31
32
# File 'lib/opnsense_api/core/diagnostics/system_health.rb', line 30

def get_rrd_list(params = {})
  @client.get("#{BASE_PATH}/getRRDList", params)
end