linux安装snmp服务
Today we will look SNMP in Linux operating systems. Simple network management protocol named SNMP is designed for getting info and setting configuration in it entities. These entities may be switch, router, PC, cabinet, printer etc. SNMP was very popular in 2000s. today it is popular too but used for information gathering. Especially monitoring which will be examined later is made today with snmp. Snmp has an index database which named Management Information Base (MIB) used for data classification. Vendors generally publish their MIBs. For example Cisco MIB can be found http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml . The system that gathers snmp info generally named Network management station. The systems that provides info or apply settings about yourself named Managed device. Agent is a tool that runs on Managed Device and responsible for snmp.
今天,我们将在Linux操作系统中查看SNMP。 名为SNMP的简单网络管理协议旨在获取信息并在其实体中设置配置。 这些实体可能是交换机,路由器,PC,机柜,打印机等。SNMP在2000年代非常流行。 今天,它也很流行,但用于信息收集。 今天特别是通过snmp进行监视,稍后将进行检查。 Snmp有一个索引数据库,该数据库称为用于数据分类的管理信息库(MIB)。 供应商通常会发布其MIB。 例如,可以在http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml中找到Cisco MIB。 收集snmp信息的系统通常称为网络管理站。 提供信息或应用有关您自己的设置的系统称为“受管设备”。 代理是一种在受管设备上运行并负责snmp的工具。
安装SNMP Ubuntu,Debian,Mint (Install SNMP Ubuntu, Debian, Mint)
We can install SNMP service to the deb
based distributions like below. The package name is snmpd
.
我们可以将SNMP服务安装到如下所示的基于deb
的发行版中。 软件包名称为snmpd
。
$ sudo apt install snmpd snmp -y
安装SNMP Fedora,CentOS,RedHat (Install SNMP Fedora, CentOS, RedHat)
Firstly we install snmp daemon, library and tool with this command in Fedora, CentOS, RHEL .
首先,我们在Fedora,CentOS,RHEL中使用此命令安装sn