SNMP-网络管理协议

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

posted @ 2014-10-23 23:04  thrillerz  阅读(210)  评论(0编辑  收藏  举报