001-zabbix-Network Device Monitoring (Cisco)

Source: Internet
Author: User
Tags snmp snmp oid snmpwalk

Do Zabbix monitoring test has been carried out for some time, the more testing found Zabbix strong, today began to increase the network equipment monitoring test, test results and cacti contrast, there is a great upgrade ready to abandon the former.

Because network devices have no way to install proxy clients, the monitoring network uses the SNMP protocol

1. Network device to enable SNMP

C2950-24-server#conf tenter configuration commands, one per line.  end  with cntl/z.c2950-24-server (config) #snmp-server community public ?    <1-99>       std ip accesslist allowing access  with this community string  <1300-1999>  Expanded IP  accesslist allowing access with this community string  word          Access-list name  ro            read-only access with this community string   rw           Read-write access  with this community string  view          restrict this&nbsP;community to a named mib view  <cr>c2960-24-server (config) # Snmp-server community public ro

2. In the Zabbix monitoring machine test SNMP is enabled access, Test command: Snmpwalk

[Email protected] home]# snmpwalk-v 2c-c public 192.168.3.34 snmpv2-mib::sysdescr.0snmpv2-mib::sysdescr.0 = String:cis Co IOS software, C2950 Software (c2950-lanbasek9-m), Version 12.2 (ON) SE5, RELEASE Software (FC1) Technical support:http:// Www.cisco.com/techsupportCopyright (c) 1986-2012 by Cisco Systems, inc.compiled Thu 09-feb-12 19:11 by Prod_rel_team

Snmpwalk-v 2c-c Public 192.168.3.34 snmpv2-mib::sysdescr.0
-v Specifies the SNMP version to use
-C SNMP Community name: Public can also customize the name
IP address of the device with SNMP enabled

snmpv2-mib::sysdescr.0 the corresponding SNMP parameters. (if you are not aware of the SNMP verbose key value, enter the IP directly, and then press ENTER directly to display the SNMP key values supported by this device)

3. According to the SNMP value, specify the need to monitor the project, first add traffic monitoring

[Email protected] home]# snmpwalk-v 2c-c public 192.168.6.34 ifinoctetsif-mib::ifinoctets.1 = counter32:4027323170if-m ib::ifinoctets.10 = counter32:2473582926if-mib::ifinoctets.10001 = counter32:3193563790if-mib::ifinoctets.10002 = counter32:0if-mib::ifinoctets.10003 = counter32:246560353if-mib::ifinoctets.10004 = Counter32:3476635468if-mib:: ifinoctets.10005 = counter32:2989553401if-mib::ifinoctets.10006 = counter32:3704449236if-mib::ifinoctets.10007 = counter32:3969503501if-mib::ifinoctets.10008 = counter32:1725650995if-mib::ifinoctets.10009 = counter32:52641771

Working on the Zabbix web, process: Adding monitoring devices-defining monitoring items-generating traffic maps

Select: Configuration-hosts-create Host

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/E6/wKioL1cMnAqCea2VAALQavuf2OE236.jpg "title=" Createhost.jpg "alt=" Wkiol1cmnaqcea2vaalqavuf2oe236.jpg "/>

Open the CreateHost interface

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/E6/wKioL1cMnbujdoBBAARq1kIqZZk080.jpg "title=" Createhost1.jpg "alt=" Wkiol1cmnbujdobbaarq1kiqzzk080.jpg "/>

    1. Host name,visible name, you define the name of the device that you can quickly identify.

    2. Groups: Select the management group that this device belongs to. Example: Switch

    3. Four ways to monitor devices: Agent SNMP JMX IPMI this time using SNMP
      The SNMP interface is filled in here: IP address and port number of the monitored device example: 192.168.6.34 udp:161

    4. Description (device description), you can simply write some basic information about the device and equipment location, etc.

    5. Click: Add to create the device complete

Create the host complete, now ready to start adding monitoring items, add the monitoring interface as follows:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7E/E6/wKioL1cMoWTBbYofAAcN5ahJnQE544.jpg "title=" Createhost2.jpg "alt=" Wkiol1cmowtbbyofaacn5ahjnqe544.jpg "/>

Select the monitoring device we just added and select items to open the interface:

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/E6/wKioL1cMooOQHsyzAANwku0Elcg085.jpg "title=" Createhost3.jpg "alt=" Wkiol1cmoooqhsyzaanwku0elcg085.jpg "/>

Select: CreateItem start creating a monitoring project

General traffic is divided into in and out, so when creating a monitoring project, to create 2, one is incoming traffic, one is outgoing traffic

Their two SNMP values are as follows:

if-mib::ifoutoctets.10005

if-mib::ifinoctets.10005

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7E/E7/wKioL1cMrDfzWIREAAOT53PaurQ034.jpg "title=" Createhost4.jpg "alt=" Wkiol1cmrdfzwireaaot53paurq034.jpg "/>

Fill in the Detailed parameter description

Name #Item names

Type #监控item的方式共计17种, where we choose the SNMP v2 agend mode

Key #SNMP的值, network inflow key:ifinoctets

Host interface #当我们选择SNMP V2 agend mode, it will automatically find the monitoring host address

SNMP OID #需填写完整的SNMP值, fill in: if-mib::ifinoctets.10005

SNMP communtiy # SNMP Community name, will be automatically filled in public

Units #网络流量单位: bps Zabbix The default traffic count is bytes converted to bps. This leads to the next option to fill in the *8

Use custom multiplier # tick mark, then fill multiply by 8 times times

Stoe value #选择: Delta (speed per second) difference comparison

For additional parameters, please check the official documentation.

The monitoring project has been created and the traffic map is now created

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M02/7E/EA/wKiom1cMthWgFer4AANqbNk7FhQ559.jpg "style=" float: none; "title=" createhost5.jpg "alt=" Wkiom1cmthwgfer4aanqbnk7fhq559.jpg "/>

Select: Create graphs, enter the creation interface as

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/7E/E8/wKioL1cMts6iWe4eAASJXEP5UAk377.jpg "style=" float: none; "title=" createhost6.jpg "alt=" Wkiol1cmts6iwe4eaasjxep5uak377.jpg "/>

Name fill in the names of the monitoring device ports and select Add items to find the monitor item we just created, all selected. then click Add. The flow graph is created.

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M01/7E/EA/wKiom1cMth6AciAAAATomFZ6Wsg327.jpg "style=" float: none; "title=" createhost7.jpg "alt=" Wkiom1cmth6aciaaaatomfz6wsg327.jpg "/>

650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/7E/E8/wKioL1cMttjSf8mCAAVyWSXkkTM188.jpg "style=" float: none; "title=" createhost8.jpg "alt=" Wkiol1cmttjsf8mcaavywsxkktm188.jpg "/>

You can already see the network traffic in the traffic graph.


This article is from the "Fly high into the Sky" blog, please be sure to keep this source http://xjlsky.blog.51cto.com/22754/1763058

001-zabbix-Network Device Monitoring (Cisco)

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.