1 Rookie
•
6 Posts
0
635
November 18th, 2024 05:43
[iDRAC] Obtain the current CPU usage of the server through SNMP
As the title says, I installed an iDRAC module on an R930 and enabled SNMP, but I cannot get the current CPU and memory usage.
No Events found!



Dell-Martin S
Moderator
•
3.5K Posts
0
November 18th, 2024 14:20
Hi,
To obtain the current CPU and memory usage of your Dell PowerEdge R930 server through the iDRAC using SNMP, you’ll need to follow a few steps to ensure everything is configured correctly. Here’s a concise guide to help you troubleshoot and retrieve the required information:
1. Verify SNMP Configuration on iDRAC:
Log in to the iDRAC web interface.
Navigate to iDRAC Settings > Network/Security > SNMP Settings.
Ensure SNMP is enabled and that you have the correct community string configured (default is usually public).
2. Check SNMP Access:
Ensure that your SNMP client (the machine from which you are querying the iDRAC) has network access to the iDRAC IP address.
Confirm that any firewalls between the SNMP client and the iDRAC are configured to allow SNMP traffic (UDP port 161).
3. Use the Correct OIDs:
For CPU usage, you can use the following OIDs:
CPU Utilization: 1.3.6.1.4.1.674.10895.3000.10.1.1.1.5 (this OID may vary based on the iDRAC version).
For memory usage, you can use:
Memory Utilization: 1.3.6.1.4.1.674.10895.3000.10.1.1.1.6 (again, confirm the OID based on your iDRAC version).
4. Test SNMP Queries:
Use an SNMP tool like snmpget or snmpwalk to query the OIDs. For example:
bash
snmpget -v2c -c <community_string> <iDRAC_IP> 1.3.6.1.4.1.674.10895.3000.10.1.1.1.5
Replace <community_string> with your configured SNMP community string and <iDRAC_IP> with the iDRAC's IP address.
5. Interpreting the Results:
The output will show the CPU utilization as a percentage. If you are using a different SNMP version (like v3), make sure to adjust the command accordingly.
6. Troubleshooting:
If you’re not getting results, check:
The SNMP version compatibility.
The community string and permissions.
Network connectivity to the iDRAC.
Example SNMP Command:
Here’s an example command to check CPU usage:
bash
snmpwalk -v2c -c public 192.168.1.100 1.3.6.1.4.1.674.10895.3000.10.1.1.1.5
Additional Resources:
Consult the Dell iDRAC documentation for the specific OIDs related to your version.
Use SNMP tools like snmpget or snmpwalk for further exploration of available OIDs.
TylerWayne
1 Rookie
•
6 Posts
0
November 19th, 2024 01:51
@Dell-Martin S Thanks for your reply. My target device is a PowerEdge R930, sysObjectId is 1.3.6.1.4.1.674.10892.5 outOfBandGroup, and I did not get the content from 10895 dellLan. Is it because the default mib view does not include 10895 or outOfBand is not supported?
DELL-Young E
Moderator
•
5.2K Posts
0
November 19th, 2024 05:02
Hello, in my opinion, at this point, all you need to do is to get MIB files from the support page and make sure your SNMP tool has them imported.
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=jm9xj&oscode=w12r2&productcode=poweredge-r930
Also you can get all OIDs from
https://dl.dell.com/topicspdf/snmp94om_en-us.pdf
https://dl.dell.com/topicspdf/repostidrac93_en-us.pdf
Respectfully,
(edited)
TylerWayne
1 Rookie
•
6 Posts
0
November 19th, 2024 10:41
@DELL-Young E OK, thanks for your reminder. I downloaded the MIB file from the support page of PowerEdge R930, and there is no 10895 dellLan node in it. I think it is not supported. Thanks for your answer.
Dell-Martin S
Moderator
•
3.5K Posts
0
November 19th, 2024 11:52
To troubleshoot further, you could:
1.3.6.1.4.1.674.10892.5to see what children are available within that OID.dellLanOID.dellLanentries.If you have additional questions or need further help regarding specific configurations or steps, feel free to ask!
Dell-Martin S
Moderator
•
3.5K Posts
0
November 21st, 2024 14:01
Hi,
I am not able to transfer you such a file, sorry.
Dell-Martin S
Moderator
•
3.5K Posts
1
November 21st, 2024 14:21
You could contact the software support hotline