Andaian:
IP = 10.0.0.10
Email support = email@domain
Pasang snmpd net-snmp
yum install -y net-snmp-utils
chkconfig snmpd on
/etc/snmp/snmpd.conf
[code lang=’plain’]rocommunity public
syslocation Rack Server IT
syscontact Domain Support
dontLogTCPWrappersConnects yes
rocommunity public default[/code]
/etc/sysconfig/snmpd.options (untuk membenarkan akses dari pelayan lain)
[code lang=’plain’]# snmpd command line options
OPTIONS=”-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -x 127.0.0.1 10.0.0.10″[/code]
Mulakan semula snmpd
service snmpd restart
Uji dengan
snmpwalk -v2c -cpublic 127.0.0.1