官术网_书友最值得收藏!

Chapter 4. Monitoring SNMP Devices

Now that we are familiar both with monitoring using Zabbix agents and an agentless method, let's explore an additional method that does not require Zabbix agent installation, even though it needs an agent of some kind anyway. Simple Network Management Protocol, commonly called SNMP, is a well-established and popular network-monitoring solution. We'll learn to configure and use SNMP with Zabbix, including SNMP polling and trap receiving.

Being more than two decades old, SNMP has had the time to become widespread across a whole range of networked devices. Although the name implies management functionality, it's mostly used for monitoring. As the first versions had security drawbacks, the ability to modify configuration over SNMP did not become as popular as its read-only counterpart.

SNMP as the primary monitoring solution is especially popular in embedded devices, where running a complete operating system and installing separate monitoring agents would be overkill. Two of the most popular device categories implementing SNMP out of the box are printers and various network devices, such as switches, routers, and firewalls. SNMP allows the easy monitoring of these otherwise quite closed devices. Other devices with SNMP agents provided include UPSes, network-attached storage (NAS) devices, and computer rack temperature/humidity sensors. Of course, SNMP is in no way restricted to devices with limited processing power—it's perfectly fine to run a generic SNMP agent instead of a specialized monitoring agent on standard servers. Reasons to use SNMP agents instead of Zabbix agents might include already installed and set up SNMP agents, no access to monitored hosts to install Zabbix agents, or a desire to keep systems relatively free from dependencies on monitoring software.

Given the prevalence of SNMP, it's no wonder Zabbix supports it out of the box. SNMP support in Zabbix builds upon another quality open source product—Net-SNMP (http://net-snmp.sourceforge.net/).

In this chapter, we will:

  • Look at basic Net-SNMP tools
  • Learn how to add Management Information Base (MIB) files so that Zabbix recognizes them
  • Configure both SNMP polling and trap receiving
主站蜘蛛池模板: 嘉鱼县| 古交市| 台湾省| 萨嘎县| 遂宁市| 穆棱市| 灵武市| 营山县| 德化县| 墨江| 新宁县| 莎车县| 呼玛县| 江永县| 温宿县| 邵东县| 揭阳市| 长兴县| 扶沟县| 万州区| 龙川县| 洪湖市| 灵璧县| 唐河县| 上饶市| 福泉市| 合作市| 华宁县| 茶陵县| 高陵县| 华蓥市| 滕州市| 津市市| 佳木斯市| 翼城县| 卢龙县| 安宁市| 泗洪县| 连山| 临邑县| 敖汉旗|