RHEL9.3 snmp関連のインストール方法

環境
Red Hat Enterprise Linux release 9.3

操作方法
1.snmpdのインストール
snmpdはnet-snmpというパッケージによって提供されます。yumコマンドでnet-snmpをインストールし
# dnf install net-snmp

インストールが完了したら、次にsnmpdを起動させます。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# systemctl enable snmpd.service --now
# systemctl enable snmpd.service --now
# systemctl enable snmpd.service --now

2.snmp-utilsのインストール
net-snmp-utilsは、snmpget, snmpwalkなどsnmpのデバッグを行います

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# dnf install net-snmp-utils
# dnf install net-snmp-utils
# dnf install net-snmp-utils

 

IT

Posted by arkgame