Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a check if iDRAC connection was successfully established #103

Open
tigerblue77 opened this issue Dec 18, 2024 · 0 comments
Open

Add a check if iDRAC connection was successfully established #103

tigerblue77 opened this issue Dec 18, 2024 · 0 comments
Assignees

Comments

@tigerblue77
Copy link
Owner

Suggestion from @7Adrian

function get_Dell_server_model() {
  IPMI_FRU_content=$(ipmitool -I $IDRAC_LOGIN_STRING fru 2>/dev/null) # FRU stands for "Field Replaceable Unit"

Add check if connection was established. There are a chance user type wrong login and pass. In my case it returns :

Error: Unable to establish IPMI v2 / RMCP+ session

@tigerblue77 tigerblue77 self-assigned this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant