lib/lm_rest/api_client.rb
# Ack a down collector, pass the ID and a comment
Ack a down collector, pass the ID and a comment
Ack a down collector pass the ID and a comment
def ack_collector_down(id, comment)
      if id.class == LMRest::Resource
        Resource.parse request(:post, "/setting/collectors/#{id.id}/ackdown", {comment: comment})
      else
        Resource.parse request(:post, "/setting/collectors/#{id}/ackdown", {comment: comment})
      end
    end
def ack_collector_down ( id , comment ) if id . class == LMRest :: Resource Resource . parse request ( :post , "/setting/collectors/#{id.id}/ackdown" , { comment : comment } ) else Resource . parse request ( :post , "/setting/collectors/#{id}/ackdown" , { comment : comment } ) end end
Ack a down collector, pass the ID and a comment
Ack a down collector pass the ID and a comment
id
<not_specific>
comment
<not_specific>