bin/cloud66_agent in cloud66_agent-1.4.1 vs bin/cloud66_agent in cloud66_agent-1.4.2
- old
+ new
@@ -74,12 +74,9 @@
opts.on('--ip-address IP_ADDRESS', 'IP address to act on') { |v| @ip_address = v }
opts.on('--attack ATTACK', 'Attack type') { |v| @attack = v }
opts.on('--port PORT', 'Attack port') { |v| @port = v }
end.order!
Cloud66Agent.fail2ban(@is_banned, @ip_address, @attack, @port)
-elsif command == 'vitals'
- # disable vital signs
- exit 0
elsif command == 'send_message'
OptionParser.new do |opts|
opts.on('--key KEY', 'Key related to message ') { |v| @key = v }
opts.on('--options OPTIONS', 'Added options for message') { |v| @options = JSON.parse(v) unless v.nil? }
end.order!