Thursday 15 December 2016

Installing AWS Inspector Agent on EC2 Hosts

Installing AWS inspector Agent on EC2 Hosts



1. wget https://d1wk0tztpsntt1.cloudfront.net/linux/latest/install

2. sudo bash install

Installed:
  AwsAgent.x86_64 0:1.0.578.0-100578

Complete!
HTTP/1.1 200 OK

3. to stop :
sudo /etc/init.d/awsagent stop

4. to start :
sudo /etc/init.d/awsagent start
configuration file /opt/aws/awsagent/etc/agent.cfg

to check the status
sudo /opt/aws/awsagent/bin/awsagent status



Known issues:

[ec2-user@*********~]$ sudo bash install
install: line 9: class: command not found
install: line 11: syntax error near unexpected token `('
install: line 11: ` undef_method m unless m =~ /(^__|^send$|^object_id$)/'


Solution:  Make sure to move all the existing files: install* and then download using wget as seen above in step1.


5 comments:

  1. Wow.. Thanks much for sharing.. My friend also recommended you so that i can have a helping hand to make my blog as effective as possible.
    Study in USA Consultants in Chennai | Overseas Education Consultants in Chennai | Australia education Consultants in Chennai

    ReplyDelete
  2. A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article. I am learning a lot from you.

    MSBI Training in Chennai

    ReplyDelete
  3. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Oracle Applications DBA, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on Oracle Applications DBA . We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us:
    Name : Arunkumar U
    Email : arun@maxmunus.com
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –http://www.maxmunus.com



    ReplyDelete
  4. Interesting blog which attracted me more.Spend a worthful time.keep updating more.
    Digital marketing company in Chennai

    ReplyDelete
  5. Nice blog! Thanks for providing your information AWS Online Training Hyderabad

    ReplyDelete