[CentOS] snmp

2014. 8. 4. 10:31OS/CentOS

# yum -y install net-snmp

# chkconfig snmpd on

# vi /etc/snmp/snmpd.conf

>---------------------------------------<

com2sec  [UserName]  default  [AccessPW]

group  [GroupName]  v1  [UserName]

group  [GroupName]  v2c  [UserName]

view  all  included .1

access  [GroupName]  ""  any  noauth  exact  all  none  none

>---------------------------------------<


# service snmpd start

# vi /etc/sysconfig/iptables

>---------------------------------------<

tcp 161

udp 161

>---------------------------------------<


# service iptables restart

'OS > CentOS' 카테고리의 다른 글

[CentOS] NFS  (0) 2014.09.03
[CentOS] RAID  (0) 2014.08.25
[CentOS] Network Bond  (0) 2014.08.04
[CentOS] fail2ban  (0) 2014.08.04
[NAS] Xtreamer e-TRAYz  (0) 2012.08.30