@zabbix监控iDRAC
1.iDRAC开启SNMP
打开iDRAC web页面,输入账户密码登录iDRAC web
配置snmp
登录 >iDRAC设置 > 网络 > 服务 > SNMP代理(可开启snmp)
SNMP团体名称 public (默认团体名称)
SNMP协议 所有(SNMP v1/2/3)
SNMP查找端口号 161
启用SNMP并设置团体名(community),默认使用public
2.zabbix服务器测试
zabbix server服务器上测试一下是否可以get到对应的数据,如下命令:
snmpget -v 2c -c < Community > < iDRAC IP > < oid >
snmpget -v 2c -c Community IP .1.3.6.1.4.1.674.10892.2.1.1.2.0
#常规监控内容:
Disks/Storage(磁盘)
Fans(风扇)
Memory(内存)
Network Cards(网卡)
Power(电源)
Processor(CPU)
System Info
Temperatures(温度)
Voltages(电压)
#使用snmpwalk测试获取数据(获取监控主机的系统信息及运行时间)
snmpwalk -v 2c -c public 10.255.22.15 system
3.zabbix web配置
创建值映射: zabbix web界面 > 管理 > 一般 > 值映射
#将根据下列名称进行值映射
DellDracDiskState
1 -> Unknown
2 -> Ready
3 -> Online
4 -> Foreign
5 -> Offline
6 -> Blocked
7 -> Failed
8 -> Non-RAID
9 -> Removed
Dell iDRAC Network Device Connection Status
1 -> Connected
2 -> Disconnected
Dell Open Manage System Status
1 -> Other
2 -> Unknown
3 -> OK
4 -> NonCritical
5 -> Critical
6 -> NonRecoverable
DellPowerState
1 -> Other
2 -> Unknown
3 -> Off
4 -> On
Dell PSU State Settings
1 -> Unknown
2 -> Online (state disabled)
4 -> not Ready
8 -> Fan Failure
10 -> Online and Fan Failure
16 -> On
242 -> Online and OK
DellRaidLevel
1 -> Unknown
2 -> RAID-0
3 -> RAID-1
4 -> RAID-5
5 -> RAID-6
6 -> RAID-10
7 -> RAID-50
8 -> RAID-60
9 -> Concatenated RAID 1
10 -> Concatenated RAID 5
DellRaidVolumeState
1 -> Unknown
2 -> Online
3 -> Failed
4 -> Degraded
Dell_PSU_SensorState
1 -> Presence Detected
2 -> PS Failure
4 -> Predictuve Failure
8 -> PS AC lost
16 -> AC lost or out of range
32 -> AC out of range but still present
4.监控模板导入
zabbix web界面 >配置 > 模板 > 导入
模板从 github上下载
【iDRAC模板】
模板导入
5.iDRAC主机监控
zabbix web界面 > 配置 > 主机 > 创建主机
确认监控状态
本文来自博客园,作者:ଲ小何才露煎煎饺,转载请注明原文链接:https://www.cnblogs.com/zeny/p/16578214.html