Pages

Wednesday, 24 September 2014

Install snmpwalk snmpget on CentOS

How to install SNMPWALK and SNMPGET into CentOS

Step 1: First try this command to ensure if you have SNMPWALK


[root@localhost ~]# snmpwalk
-bash: snmpwalk: command not found
[root@localhost ~]#

Step 2: Install snmpwalk and snmpget

[root@usevlx08-almighty ~]# yum install net-snmp-utils
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: centos.someimage.com
 * extras: bay.uchicago.edu
 * updates: centos.mirror.constant.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package net-snmp-utils.x86_64 1:5.5-49.el6_5.3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================
 Package                          Arch                     Version                            Repository                 Size
==============================================================================================================================
Installing:
 net-snmp-utils                   x86_64                   1:5.5-49.el6_5.3                   updates                   174 k

Transaction Summary
==============================================================================================================================
Install       1 Package(s)

Total download size: 174 k
Installed size: 362 k
Is this ok [y/N]: y
Downloading Packages:
net-snmp-utils-5.5-49.el6_5.3.x86_64.rpm                                                               | 174 kB     00:00    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:net-snmp-utils-5.5-49.el6_5.3.x86_64                                                                     1/1
  Verifying  : 1:net-snmp-utils-5.5-49.el6_5.3.x86_64                                                                     1/1

Installed:
  net-snmp-utils.x86_64 1:5.5-49.el6_5.3                                                                                     

Complete!

No comments:

Post a Comment