SNMP协议简介:

a. 轮询(Polling) -- 定时获取状态,

  中断(Interrupt)--出问题通知

b. 共同体名(community) -- 口令
--只读口令

--读写口令

使用SNMP:

1 安装snmp

[root@cuijian /]# yum -y install net-snmp*

2 编辑snmp配置文件

[root@cuijian /]# vi /etc/snmp/snmpd.conf

rocommunity xxxx.xxx..(共同体核对口令)

disk /  51606140(最大值)

3 查看用法

[root@cuijian snmp]# service snmpd --status

用法: /etc/init.d/snmpd {start|stop|status|restart|condrestart|reload|force-reload}

[root@cuijian snmp]# service snmpd restart    //启动snmp服务

4 配置开机启动服务

[root@cuijian snmp]# chkconfig snmpd on

相关文章:

  • 2022-12-23
  • 2021-05-22
  • 2021-09-14
  • 2022-12-23
猜你喜欢
  • 2021-09-23
  • 2021-07-13
  • 2021-11-20
  • 2021-10-03
相关资源
相似解决方案