There are generally two ways to monitor Dell server hardware: 1, install OMSA on the operating system, write scripts to invoke the omreport command to monitor; 2. With Idrac, you can not install OMSA on the operating system, just The Snmp,zabbix on Idrac is monitored via SNMP. For operating systems that do not support Omsa and the requirement that additional software cannot be installed, SNMP monitoring is recommended and the configuration is simple and convenient.
First, Idrac open SNMP Service
Enter IDRAC Web interface, open "network", "Services", "SNMP agent".
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7D/37/wKiom1bibZKjCpKEAADo0dCO070480.png "title=" IDrac Snmp2.png "alt=" Wkiom1bibzkjcpkeaado0dco070480.png "/>
SNMP is enabled and the Community name (community) is set, and the default public is not recommended. It is recommended that all servers set a uniform community name.
Then test on the Zabbix server server to see if you can get to the data:
Snmpget-v 2c-c <Community> <idrac ip>. 1.3.6.1.4.1.674.10892.2.1.1.2.0
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/36/wKioL1bigmOxt6u7AAAR7VEmcIU647.png "title=" Snmp_ Get.png "alt=" Wkiol1bigmoxt6u7aaar7vemciu647.png "/>
Second, the configuration Zabbix
1. Create Value Mapping
delldracdiskstate1 unknown2 ready3 online4 foreign5 offline6 blocked7 failed8 non-raid9 removeddell idrac network device connection status1 up2 down3 driverbad4 driverDisabled10 hardwareInitalizing11 hardwareResetting12 hardwareclosing13 hardwarenotreadydell open manage system status1 other2 unknown3 ok4 noncritical5 critical6 Nonrecoverabledellpowerstate1 other2 unknown3 off4 ondell psu State Settings1 Unknown2 Online (state disabled) 4 not ready8 fan failure10 online and fan failure16 on242 online and okdellraidlevel1 unknown2 raid-03 raid-14 raid-55 raid-66 RAID-107 RAID-508 RAID-609 Concatenated RAID 110 Concatenated raid 5dellraidvolumestate1 unknown2 online3 failed4 DegradedDell_PSU_SensorState1 Presence Detected2 PS Failure4 predictuve failure8 ps ac lost16 ac lost or out of range32 AC out of range but still present64 Configuration error
2. Import templates
Select Configuration->templates->import to import the templateDell iDrac SNMPV2templates.
the template is shown in the annex, " Template Dell IDrac SNMPV2 zbx2.2.xml "supports zabbix2.2 version," Template Dell IDrac SNMPV2 zbx3.xml "supports the ZABBIX3 version.
The following monitoring categories are supported for templates:
The template was downloaded from GitHub, and I modified some errors and optimized them.
3. Configure global Variables {$SNMP _community_idrac}
Select Administration->general->macros, create variable "{$SNMP _community_idrac}", fill in IDRAC's web in value The SNMP Community name (Community) configured on, such as:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/36/wKioL1bifJyQ9B1MAACBHd0d7ls776.png "title=" Macros.png "alt=" Wkiol1bifjyq9b1maacbhd0d7ls776.png "/>
4. Create a host
Enter the host Configuration screen, and remember to fill out "SNMP interfaces" as the management address of IDrac and link "templateDell iDrac SNMPV2" templates.
Note: The monitoring interval (Update interval) for some of the monitoring items in the template is 86,400 seconds, and it will take about a day for the first data to be monitored.
At this point, all configurations are finished ~
This article is from the "Start Linux blog" blog, make sure to keep this source http://qicheng0211.blog.51cto.com/3958621/1749986
Zabbix Enterprise Applications: monitoring Dell server hardware through SNMP and Idrac