摘要:本文主要向大家介绍了Windows运维之Zabbix3.0 监控Windows Client,通过具体的内容向大家展现,希望对大家学习Windows运维有所帮助。
本文主要向大家介绍了Windows运维之Zabbix3.0 监控Windows Client,通过具体的内容向大家展现,希望对大家学习Windows运维有所帮助。
Zabbix3.0 监控Windows Clien我们前面介绍了Zabbix3.0监控linux主机,今天我们使用Zabbix监控windows主机,其实都是一样的;具体见下:我们首先下载windows zabbix agent安装服务;我们第一个url是下载链接,第二个第三个是最新的3.0和2.2.9的下载链接;//www.zabbix.com/download.php//www.zabbix.com/downloads/3.0.0/zabbix_agents_3.0.0.win.zip//www.zabbix.com/downloads/2.2.9/zabbix_agents_2.2.9.win.zip我们下载后,解压开始有多个文件;conf目录存放是agent配置文件bin文件存放windows下32位和64位安装程序找到conf下的配置文件 zabbix_agentd.win.conf ,修改LogFile、Server、、ServerActive、Hostname这四个参数。具体配置如下:LogFile=c:\zabbix_agentd.logServer=192.168.7.50Hostname=downloadServerActive=192.168.7.50 #zabbix server地址其中logfile是zabbix日志存放地址。Server 是zabbix服务端ip地址。Hostname是本机机器名。server=192.168.7.50192.168.7.50是zabbix -server的服务器地址server-active地址是主动通信服务器地址,该地址也是需要填写zabbix server的地址192.168.7.50是zabbix -server的服务器地址hostname我们需要填写zabbix agent本地的hostname信息配置好后,开始安装zabbix-agent,其实就是将zabbix-agent添加到windows服务中;在windows控制台下执行以下命令:c:\bin\win64\zabbix_agentd.exe -c c:\conf\zabbix_agentd.win.conf -i启动命令如下:c:\bin\win64\zabbix_agentd.exe -c c:\conf\zabbix_agentd.win.conf -s查看log文件发现,有错误提示13124:20160905:124128.317 Starting Zabbix Agent [Windows host]. Zabbix 3.0.0 (revision 58455).13124:20160905:124128.317 **** Enabled features ****13124:20160905:124128.317 IPv6 support: YES13124:20160905:124128.317 TLS support: NO13124:20160905:124128.317 **************************13124:20160905:124128.317 using configuration file: c:\conf\zabbix_agentd.win.conf13124:20160905:124128.332 agent #0 started [main process]9776:20160905:124128.332 agent #1 started [collector]12504:20160905:124128.332 agent #2 started [listener #1]12772:20160905:124128.332 agent #3 started [listener #2]13252:20160905:124128.332 agent #4 started [listener #3]12516:20160905:124128.332 agent #5 started [active checks #1]12516:20160905:124129.364 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: Connection refused.)我们通过查看端口,zabbix-agent已经正常启动我们通过打开服务控制台也可以看见,zabbix-agent已经添加到了服务列表中;我们在zabbix-server上添加主机了;添加模板:我们选择windows服务器的模板添加完成:我们通过查看图像来确认服务器的可用性资源;内存资源因为模板中有两条自动发现规则,主要是针对网络和系统文件信息的;所以会出现很多自动发现的相关信息;c盘磁盘空间D盘磁盘空间内存使用
本文由职坐标整理并发布,希望对同学们有所帮助。了解更多详情请关注系统运维windows频道!
您输入的评论内容中包含违禁敏感词
我知道了
请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式IT培训就业服务领导者 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号