zl程序教程

您现在的位置是:首页 >  大数据

当前栏目

戴尔服务器通过远程idrac配置snmp

配置服务器 远程 通过 snmp 戴尔
2023-06-13 09:17:14 时间

说明:

目的:戴尔服务器通过ssh远程idrac设置snmp团体名称(zabbix 监控使用)

ssh 命令启动 iDRAC RACADM CLI:

ssh root@<iDRAC IP>

通过运行以下命令将命令模式更改为 racadm

racadm

通过运行以下命令设置 SNMP 团体字符串:

racadm set idrac.snmp.agentcommunity <community string>

通过运行以下命令启用 SNMP 代理:

racadm set idrac.snmp.agentenable 1

(值:0 - 已禁用,1 - 已启用)

通过运行以下命令将 SNMP 协议设置为 所有

racadm set idrac.snmp.snmpprotocol 0 

(值:0 - 所有,1 - SNMPv3)

通过运行以下命令验证配置:

racadm get idrac.snmp