zabbix-3.2.6之snmp方式監控windows

來源:互聯網
上載者:User

標籤:disk   ref   檔案   type   mib   技術分享   win   systemv   walk   

一、在windows中添加snmp

在服務中添加public和接受伺服器的IP地址。

 

二、在zabbix-server伺服器中安裝net-snmp軟體

1、修改設定檔

[[email protected] tools]# vi /etc/snmp/snmpd.conf 

# Third, create a view for us to let the group have rights to:# Make at least  snmpwalk -v 1 localhost -c public system fast again.#       name           incl/excl     subtree         mask(optional)view    systemview    included   .1.3.6.1.2.1.1view    systemview    included   .1.3.6.1.2.1.25.1.1view    systemview    included   .1     #增加這行proc mountd         #找到這些配置,把注釋去掉,下面幾行也是一樣的proc ntalkd 4proc sendmail 10 1disk / 10000load 12 14 14

#重啟服務

[[email protected] snmp]# service snmpd startStarting snmpd (via systemctl):                            [  OK  ]

 2、測試用戶端,看是否能連通

#有資料返回,就說明配置成功。[[email protected] snmp]# snmpwalk -v 1 -c public 192.168.30.141IPV6-MIB::ipv6AddrPfxLength.13.‘.............?W.‘.114 = INTEGER: 64 bitsIPV6-MIB::ipv6AddrPfxLength.15.‘.........0.7..\.‘.213 = INTEGER: 64 bitsIPV6-MIB::ipv6AddrType.1.‘................‘.1 = INTEGER: stateless(1)IPV6-MIB::ipv6AddrType.11.‘.........1...Ue.‘.158 = INTEGER: stateless(1)IPV6-MIB::ipv6AddrType.12.‘...........^....‘.141 = INTEGER: stateless(1)IPV6-MIB::ipv6AddrType.13.‘. ....8.<....?W.‘.114 = INTEGER: stateless(1)IPV6-MIB::ipv6AddrType.13.‘.............?W.‘.114 = INTEGER: stateless(1)IPV6-MIB::ipv6AddrType.15.‘.........0.7..\.‘.213 = INTEGER: stateless(1)IPV6-MIB::ipv6AddrAnycastFlag.1.‘................‘.1 = INTEGER: false(2)IPV6-MIB::ipv6AddrAnycastFlag.11.‘.........1...Ue.‘.158 = INTEGER: false(2)IPV6-MIB::ipv6AddrAnycastFlag.12.‘...........^....‘.141 = INTEGER: false(2)IPV6-MIB::ipv6AddrAnycastFlag.13.‘. ....8.<....?W.‘.114 = INTEGER: false(2)IPV6-MIB::ipv6AddrAnycastFlag.13.‘.............?W.‘.114 = INTEGER: false(2)IPV6-MIB::ipv6AddrAnycastFlag.15.‘.........0.7..\.‘.213 = INTEGER: false(2)IPV6-MIB::ipv6AddrStatus.1.‘................‘.1 = INTEGER: preferred(1)IPV6-MIB::ipv6AddrStatus.11.‘.........1...Ue.‘.158 = INTEGER: preferred(1)IPV6-MIB::ipv6AddrStatus.12.‘...........^....‘.141 = INTEGER: inaccessible(4)IPV6-MIB::ipv6AddrStatus.13.‘. ....8.<....?W.‘.114 = INTEGER: preferred(1)IPV6-MIB::ipv6AddrStatus.13.‘.............?W.‘.114 = INTEGER: preferred(1)IPV6-MIB::ipv6AddrStatus.15.‘.........0.7..\.‘.213 = INTEGER: inaccessible(4)IPV6-MIB::ipv6RouteNumber.0 = Gauge32: 10IPV6-MIB::ipv6DiscardedRoutes.0 = Counter32: 0

 3、在zabbix-server建立主機

添加模板,記得先點添加,再點更新

等待擷取資料

查看監控圖

 

zabbix-3.2.6之snmp方式監控windows

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.