snmp server installation


  • yum install net-snmp-utils
  • apt-get install snmp


  • vim /etc/snmp/snmp.conf: add  “rocommunity public”
  • /etc/init.d/snmpd start


  • UCD-SNMP-MIB::dskPercent.# : Percent of disk space available.
  • UCD-SNMP-MIB::laLoad.1 / UCD-SNMP-MIB::laLoad.3 : Load Average of 1 minute / 15 minutes.
  • UCD-SNMP-MIB::ssCpuIdle.0 : Percentage of CPU Idle
  • HOST-RESOURCES-MIB::hrStorageUsed.2 : Real Memory Usage
  • HOST-RESOURCES-MIB::hrStorageUsed.3 : Swap Memory Usage
  • UCD-SNMP-MIB::prCount.# : Number of processes for tracked applications per the ‘proc’ configuration setting in the snmpd.conf
  • UCD-SNMP-MIB::extOutput.# : The output from a script / application run by the SNMP process on the host for the ‘exec’ configuration.
  • snmpwalk -c public -v 1 localhost UCD-SNMP-MIB::dskPercent  (for disk usage)
  • snmpwalk -c public -v 1 localhost UCD-SNMP-MIB::prCount  (for process)
  • snmpwalk -c public -v 1 localhost UCD-SNMP-MIB::laLoad (for load average)
  • snmpwalk -c public -v 1 localhost UCD-SNMP-MIB::extOutput (for exec results)
  • snmpwalk -c public -v 2c  localhost NET-SNMP-EXTEND-MIB::nsExtendObjects
  • snmpwalk -v 1 -c public localhost IF-MIB::ifDescr
  • snmpwalk -v 1 -c public localhost IF-MIB::ifOutOctets
  • snmpwalk -v 1 -c public localhost IF-MIB::ifInOctets
  • snmpwalk -v 1 -c public -O e
  • snmpwalk -v 1 -c public -O e .
This entry was posted in snmp. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s