module Bixby::Monitoring
Public Class Methods
update_check_config(agent)
click to toggle source
Update the check configuration for the specified Agent and restart the monitoring daemon.
@param [Agent] agent
@return [CommandResponse]
# File lib/bixby-client/modules/monitoring.rb, line 11 def self.update_check_config(agent) if agent.kind_of? Bixby::Model::Agent then agent = agent.id end req = JsonRequest.new("monitoring:update_check_config", [ agent ]) return Bixby.client.exec_api(req) end