How to Find list of ossec agents along with it's status on command line.

From khika
Revision as of 10:11, 13 August 2019 by Rituja darandale (talk | contribs) (Created page with "==How to Find list of ossec agents along with it's status on command line.==  1. Do ssh login as user "'''khika'''” or “'''root'''" on KHIKA Aggregator 2. Use f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

==How to Find list of ossec agents along with it's status on command line.== 


   1. Do ssh login as user "khika” or “root" on KHIKA Aggregator
   2. Use following command ( if you login as user khika)

  sudo su

   3. Go to directory  "/opt/ossec/bin" 

        cd /opt/ossec/bin

   4. Use the following command to list all agents added on ossec server (see below screenshot)

     ./agent_control -l

   Win116.jpg