zabbix-agentd监控Windows主机

1、防火墙设置开放10050和10051端口,搜索“zabbix-agent监控windows”下载相关资源到C盘

2、安装zabbix_agentd

c:\zabbix\bin\win64\zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.win.conf --install

3、卸载zabbix_agentd

c:\zabbix\bin\win64\zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.win.conf -d

4、启动zabbix-agentd

c:\zabbix\bin\win64\zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.win.conf -s
pause

5、停止zabbix-agentd

c:\zabbix\bin\win64\zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.win.conf -x
pause

6、查看帮助

C:\Users\User>c:\zabbix\bin\win64\zabbix_agentd.exe -h

7、使用帮助

usage:
  zabbix_agentd.exe [-c config-file]
  zabbix_agentd.exe [-c config-file] -p
  zabbix_agentd.exe [-c config-file] -t item-key
  zabbix_agentd.exe [-c config-file] -i [-m]
  zabbix_agentd.exe [-c config-file] -d [-m]
  zabbix_agentd.exe [-c config-file] -s [-m]
  zabbix_agentd.exe [-c config-file] -x [-m]
  zabbix_agentd.exe -h
  zabbix_agentd.exe -V

A Zabbix daemon for monitoring of various server parameters.

Options:
  -c --config config-file        Path to the configuration file
                                 (default: "C:\zabbix_agentd.conf")
  -f --foreground                Run Zabbix agent in foreground
  -p --print                     Print known items and exit
  -t --test item-key             Test specified item and exit
  -m --multiple-agents           For -i -d -s -x functions service name will
                                 include Hostname parameter specified in
                                 configuration file
Functions:

  -i --install                   Install Zabbix agent as service
  -d --uninstall                 Uninstall Zabbix agent from service
  -s --start                     Start Zabbix agent service
  -x --stop                      Stop Zabbix agent service

  -h --help                      Display this help message
  -V --version                   Display version number

Example: zabbix_agentd -c C:\zabbix\zabbix_agentd.conf

Report bugs to: <https://support.zabbix.com>
Zabbix home page: <http://www.zabbix.com>
Documentation: <https://www.zabbix.com/documentation>

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值