EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Linux ]

"SNMP configuration" - Mehmet Uluer - (2006-08-18 10:39:26)   [6195]

muluer@home ~# rpm -qa | grep net-snmp
net-snmp-5.1.3.1-0.6

muluer@home ~# cat /etc/snmpd.conf
syslocation kitchen
syscontact refrigerator (refri@kitchen)
rocommunity apartment
rwcommunity neighbours neighbour

muluer@home ~# net-snmp-config --create-snmpv3-user -a "pwd01234" kettle

muluer@home ~# /etc/init.d/snmpd start

muluer@home ~# snmpget -v 3 -u kettle -l authNoPriv -a MD5 -A pwd01234 home sysUpTime.0

muluer@apartment ~# snmpwalk -v 1 -c apartment home system

muluer@neighbour ~# snmpwalk -v 1 -c neighbours home system

Mail to My Friend , Home Page