Skip to content

Commit

Permalink
Use better values for iDrac location and hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMysteriousX committed Nov 24, 2024
1 parent d8f7d4f commit 89f339b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion includes/definitions/discovery/drac.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
mib: DELL-RAC-MIB:IDRAC-MIB-SMIv2
modules:
os:
hardware: .1.3.6.1.4.1.674.10892.2.1.1.2.0
hardware: .1.3.6.1.4.1.674.10892.5.1.3.12.0
version: .1.3.6.1.4.1.674.10892.2.1.2.1.0
serial: .1.3.6.1.4.1.674.10892.2.1.1.11.0
location: .1.3.6.1.4.1.674.10892.5.1.3.8.0
sensors:
state:
data:
Expand Down
4 changes: 2 additions & 2 deletions tests/data/drac_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"sysDescr": "",
"sysContact": "<private>",
"version": "5.10.10.00",
"hardware": "iDRAC",
"hardware": "PowerEdge R640",
"features": null,
"location": "<private>",
"location": "Bit Barn 4",
"os": "drac",
"type": "appliance",
"serial": "1234ABC",
Expand Down
2 changes: 2 additions & 0 deletions tests/snmpsim/drac_3.snmprec
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,8 @@
1.3.6.1.4.1.674.10892.2.1.1.11.0|4|1234ABC
1.3.6.1.4.1.674.10892.2.1.2.1.0|4|5.10.10.00
1.3.6.1.4.1.674.10892.2.2.1.0|2|3
1.3.6.1.4.1.674.10892.5.1.3.8.0|4|Bit Barn 4
1.3.6.1.4.1.674.10892.5.1.3.12.0|4|PowerEdge R640
1.3.6.1.4.1.674.10892.5.4.300.70.1.5.1.1|2|3
1.3.6.1.4.1.674.10892.5.4.300.70.1.6.1.1|2|1
1.3.6.1.4.1.674.10892.5.4.600.12.1.2.1.1|2|1
Expand Down

0 comments on commit 89f339b

Please sign in to comment.