OSSEC - Agent端查看命令

命令:/opt/ossec/bin/agent_control -h
注释:/opt/为安装目录
 1 [root@redhat rules]# /opt/ossec/bin/agent_control -h
 2 
 3 OSSEC HIDS agent_control: Control remote agents.
 4 Available options:
 5     -h          This help message.
 6     -l          List available (active or not) agents.
 7     -lc         List active agents.
 8     -i <id>     Extracts information from an agent.
 9     -R <id>     Restarts agent.
10     -r -a       Runs the integrity/rootkit checking on all agents now.
11     -r -u <id>  Runs the integrity/rootkit checking on one agent now.
12 
13     -b <ip>     Blocks the specified ip address.
14     -f <ar>     Used with -b, specifies which response to run.
15     -L          List available active responses.
16     -s          Changes the output to CSV (comma delimited).
17 [root@redhat rules]# 

常用的有查看已激活那些Agent端命令

因为目前还没有关联Agent端,所以除了本机外尚未有其他记录。

 

转载于:https://www.cnblogs.com/tdcqma/p/5083628.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值