ossec / ossec-hids

OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.
http://www.ossec.net
Other
4.42k stars 1.03k forks source link

Monitor currently configured agents #1446

Open kevinray0030 opened 6 years ago

kevinray0030 commented 6 years ago

Hey all,

Is there a way to monitor the state of currently configured Agents? We have about 100 agents, but are planning to add quite a few more and are needing a way to monitor if those agents are Active or not.

Is it possible to monitor those agents in alphabetical order or is it only based on ID?

valzaitsev commented 6 years ago

Probably the command /var/ossec/bin/list_agents -c|cut -d' ' -f1|sort will suit your needs.