module Lunanode::APIActions::Monitor

Public Instance Methods

monitor_alert_add(check_id:, contact_id:) click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 38
def monitor_alert_add(check_id:, contact_id:)
  action(:monitor, :"alert-add", check_id: check_id, contact_id: contact_id)
end
monitor_alert_list(check_id:) click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 34
def monitor_alert_list(check_id:)
  action(:monitor, :"alert-list", check_id: check_id)
end
monitor_alert_remove(alert_id:) click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 42
def monitor_alert_remove(alert_id:)
  action(:monitor, :"alert-remove", alert_id: alert_id)
end
monitor_check_add(name:, type:, fail_count:, success_count:, check_interval:, **from_check_type) click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 14
def monitor_check_add(name:, type:, fail_count:, success_count:, check_interval:, **from_check_type)
  action(:monitor, :"check-add", name: name, type: type, fail_count: fail_count, success_count: success_count, check_interval: check_interval, **from_check_type)
end
monitor_check_list() click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 6
def monitor_check_list
  action(:monitor, :"check-list")
end
monitor_check_remove(check_id:) click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 18
def monitor_check_remove(check_id:)
  action(:monitor, :"check-remove", check_id: check_id)
end
monitor_check_types() click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 10
def monitor_check_types
  action(:monitor, :"check-types")
end
monitor_contact_add() click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 26
def monitor_contact_add
  action(:monitor, :"contact-add")
end
monitor_contact_list() click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 22
def monitor_contact_list
  action(:monitor, :"contact-list")
end
monitor_contact_remove(type:, rel:) click to toggle source
# File lib/lunanode/api_actions/default/monitor.rb, line 30
def monitor_contact_remove(type:, rel:)
  action(:monitor, :"contact-remove", type: type, rel: rel)
end