The monitoring software Zabbix uses the SNMP protocol.

Source: Internet
Author: User
Tags snmpwalk

The monitoring software Zabbix uses the SNMP protocol.

SNMP (Simple Network Management protocol) consists of a set of network management standards, including an application layer protocol, database schema, and a group of resource objects. the open-source monitoring system mainly monitors hardware, such as switches, routers, printers, and network traffic.

1. Install the SNMP protocol (zabbix has been installed)

[Root @ db02 ~] # Yum install net-snmp-y
[Root @ db02 ~] # Vim/etc/snmp/snmpd. conf
View systemview sorted ded. # Add this line

Proc mountd # Remove the preceding comment
Proc ntalkd 4 # Remove the preceding comment

Proc sendmail 10 1 # Remove the preceding comment

Disk/10000 # Remove the preceding comment

Load 12 14 14 # Remove the preceding comment

[Root @ db02 ~] #/Etc/init. d/snmpd restart
Stopping snmpd: [OK]

Starting snmpd: [OK]

[Root @ db02 ~] # Netstat-antulp | grep 161
Udp 0 0 0.0.0.0: 161 0.0.0.0: * 26382/snmpd
[Root @ db02 ~] # Snmpwalk-v 2c-c public localhost. # view all objects
SNMPv2-MIB: sysDescr.0 = STRING: Linux db02 2.6.32-431. el6.x86 _ 64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64
SNMPv2-MIB: sysObjectID.0 = OID: NET-SNMP-MIB: netSnmpAgentOIDs.10
DISMAN-EVENT-MIB: sysUpTimeInstance = Timeticks: (2587) 0:00:25. 87
SNMPv2-MIB: sysContact.0 = STRING: Root <root @ localhost> (configure/etc/snmp. local. conf)
SNMPv2-MIB: sysName.0 = STRING: db02
SNMPv2-MIB: sysLocation.0 = STRING: Unknown (edit/etc/snmp/snmpd. conf)
SNMPv2-MIB: sysORLastChange.0 = Timeticks: (0) 0:00:00. 00
SNMPv2-MIB: sysORID.1 = OID: SNMP-MPD-MIB: snmpdmibobjects.3.1.1
SNMPv2-MIB: sysORID.2 = OID: SNMP-USER-BASED-SM-MIB: usmMIBCompliance
SNMPv2-MIB: sysORID.3 = OID: SNMP-FRAMEWORK-MIB: snmpFrameworkMIBCompliance
SNMPv2-MIB: sysORID.4 = OID: SNMPv2-MIB: snmpMIB
SNMPv2-MIB: sysORID.5 = OID: TCP-MIB: tcpMIB
SNMPv2-MIB: sysORID.6 = OID: IP-MIB: ip
SNMPv2-MIB: sysORID.7 = OID: UDP-MIB: udpMIB
SNMPv2-MIB: sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB: vacmBasicGroup
SNMPv2-MIB: sysORDescr.1 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB: sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
The SNMPv2-MIB: sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
The SNMPv2-MIB: sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB: sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB: sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB: sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB: sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB: sysORUpTime.1 = Timeticks: (0) 0:00:00. 00
SNMPv2-MIB: sysORUpTime.2 = Timeticks: (0) 0:00:00. 00
SNMPv2-MIB: sysORUpTime.3 = Timeticks: (0) 0:00:00. 00
SNMPv2-MIB: sysORUpTime.4 = Timeticks: (0) 0:00:00. 00
SNMPv2-MIB: sysORUpTime.5 = Timeticks: (0) 0:00:00. 00
SNMPv2-MIB: sysORUpTime.6 = Timeticks: (0) 0:00:00. 00
SNMPv2-MIB: sysORUpTime.7 = Timeticks: (0) 0:00:00. 00
SNMPv2-MIB: sysORUpTime.8 = Timeticks: (0) 0:00:00. 00
HOST-RESOURCES-MIB: hrSystemUptime.0 = Timeticks: (888406334) 102 days, 19:47:43. 34
HOST-RESOURCES-MIB: hrSystemUptime.0 = No more variables left in this MIB View (It is past the end of the MIB tree)
[Root @ db02 ~] # Snmpwalk-v 2c-c public localhost-On. # display as OID

2. Add snmp monitoring in zabbix

(1) Add the snmp protocol

(2) check whether the snmp protocol icon is highlighted.

(3). Add a project and trigger

 

(4) Drawing

 

3. View monitoring status

Ubuntu installation snmp reports Unlinked OID in IPATM-IPMC-MIB: marsMIB ::={ mib-2 57} Error

Use SNMP and Cacti to monitor Linux servers

Configure SNMPv3 on Ubuntu 14.04

SNMP configuration for Zabbix

SNMP for dynamic network analysis

Network status monitoring using SNMP

Set up an SNMP test environment in CentOS 6.3

Linux (Ubuntu/CentOS) SNMP Configuration

Enable and configure the SNMP service for Citrix Xenserver

This article permanently updates the link address:

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.