Zabbix Monitoring Windows Hosts

Source: Internet
Author: User

Zabbix Server version:2.0.4

Zabbix Agent (Windows 7 Ultimate) version:2.0.4

: http://www.zabbix.com/download2.php

get Zabbix Other installation package address: http://www.zabbix.com/download.php

Steps:

1. Create a new folder under C drive Zabbix

2. Create a new directory bin, conf, and log directory under the Zabbix directory

3, the download from the official website zabbix_agentd.exe, Zabbix_get.exe, Zabbix_sender.exe copy to the bin directory; zabbix_ agentd.win.conf Copy to the Conf directory and modify the configuration

4. Modification

Logfile=c:\zabbix\log\zabbix_agentd.logserver=192.168.100.245serveractive=192.168.100.245:10051hostname= Windows Host

The following is a written Windows Agent startup script

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/95/wKioL1cjSSPC_YAgAAAfJMpXAvQ171.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cjsspc_yagaaafjmpxavq171.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/97/wKiom1cjSFbTp-A7AAA9j-0b9DE655.png "style=" float: none; "title=" 2.png "alt=" Wkiom1cjsfbtp-a7aaa9j-0b9de655.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/95/wKioL1cjSSSBW4ZPAAAqnVryA9U129.png "style=" float: none; "title=" 3.png "alt=" Wkiol1cjsssbw4zpaaaqnvrya9u129.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/97/wKiom1cjSFfBSSSrAABDTQc45UQ638.png "style=" float: none; "title=" 4.png "alt=" Wkiom1cjsffbsssraabdtqc45uq638.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/97/wKiom1cjSFfC6vSkAAAfNzNfB-c857.png "style=" float: none; "title=" 5.png "alt=" Wkiom1cjsffc6vskaaafnznfb-c857.png "/>

Method One:

TYPEPERF-QX | Find "Network Interface" | Find "Bytes"

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/95/wKioL1cjSVmAo_SPAAA-9dUdQlE869.png "title=" 1.png " alt= "Wkiol1cjsvmao_spaaa-9dudqle869.png"/>

C:\windows\system32>typeperf "\Memory\Available Bytes"//Get data locally in Windows, note: Execute commands with administrator

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/97/wKiom1cjSLbzN-9rAAA1smhEcJI332.png "title=" 1.png " alt= "Wkiom1cjslbzn-9raaa1smhecji332.png"/>

Execute on Zabbix server

[Email protected] ~]#/usr/local/zabbix/bin/zabbix_get-s 192.168.100.97-k perf_counter["\memory\modified page List Bytes "]

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/95/wKioL1cjSbuwcFBmAAAxXcgZjME360.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cjsbuwcfbmaaaxxcgzjme360.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/97/wKiom1cjSO2h8bwGAACp65l58do675.png "style=" float: none; "title=" 2.png "alt=" Wkiom1cjso2h8bwgaacp65l58do675.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7F/97/wKiom1cjSO2RnLtkAABYVIPRFRM946.png "style=" float: none; "title=" 3.png "alt=" Wkiom1cjso2rnltkaabyviprfrm946.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/95/wKioL1cjSbywguP5AAB7f5IiXnQ136.png "style=" float: none; "title=" 4.png "alt=" Wkiol1cjsbywgup5aab7f5iixnq136.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/97/wKiom1cjSO7iipDKAACayJJNHrA258.png "style=" float: none; "title=" 5.png "alt=" Wkiom1cjso7iipdkaacayjjnhra258.png "/>


Method Two:

Open the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Nt\currentversion\perflib\009\counter

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/97/wKiom1cjSYviQ75UAAAa6ivTNMQ695.png "title=" 1.png " alt= "Wkiom1cjsyviq75uaaaa6ivtnmq695.png"/>

Note: Each Windows value is not the same, note: some numbers do not work, the number of poor readability

Https://msdn.microsoft.com/en-us/library/ms803973.aspx

In

# Monitor windows 7 Ultimate

Perfcounter=win7_ava_mem, "\4\24", 30

Perfcounter=win7_mod_mem, "\4\1678", 30

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/95/wKioL1cjSo6yLZ-MAAAjKG2zCA4323.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cjso6ylz-maaajkg2zca4323.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/95/wKioL1cjSo_Qk5STAAFT1l-GN4U311.png "style=" float: none; "title=" 2.png "alt=" Wkiol1cjso_qk5staaft1l-gn4u311.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/97/wKiom1cjScGiZP7UAABNcXG_7Fs472.png "style=" float: none; "title=" 3.png "alt=" Wkiom1cjscgizp7uaabncxg_7fs472.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/97/wKiom1cjScLzpEtqAAC9RfuTQhM750.png "style=" float: none; "title=" 4.png "alt=" Wkiom1cjsclzpetqaac9rfutqhm750.png "/>

Using Zabbix's own template for monitoring (note: The template is used by SNMP monitoring)

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/95/wKioL1cjSrLD4gP8AAB0UaYTb5g223.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cjsrld4gp8aab0uaytb5g223.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/95/wKioL1cjSrPh2HbVAADO6VqPPeY789.png "style=" float: none; "title=" 2.png "alt=" Wkiol1cjsrph2hbvaado6vqppey789.png "/>



This article from "Pengcheng-soy sauce bottle" blog, declined reprint!

Zabbix Monitoring Windows Hosts

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.