Skip to content

Instantly share code, notes, and snippets.

@flaviotorres
Created February 7, 2018 01:04
Show Gist options
  • Save flaviotorres/b4f85c3fcaf79cc5f9815d1241fdc4db to your computer and use it in GitHub Desktop.
Save flaviotorres/b4f85c3fcaf79cc5f9815d1241fdc4db to your computer and use it in GitHub Desktop.
hp iLO rsadmin - Insight Remote Support
# Discover / Add devices in IRS
rsadmin discover -devices IP
# Load devices from a file
rsadmin load -file "file.csv"
# file.csv format should include: SYSTEM_NAME, SYSTEM_IP and SITE_COUNTRY data, example:
SYSTEM_NAME,SYSTEM_IP,OOS_ID,IS_ENABLED,IS_ELIGIBLE,REGISTRATION_STATUS,SERIAL_NUMBER,PRODUCT_ID,CATEGORY,PRODUCT,VENDOR,FIRMWARE_VERSION,INSTALLED_OS,PROTOCOLS,CERT_EXP_DATE,DEVICE_ADDED_DATE,LAST_UPDATED_DATE,COUNTRY_CODE,DEVICE_GROUP,CUST_DELIVERY_ID,CUST_SERIAL_NUM,CUST_PRODUCT_ID,MANAGEMENT_PROCESSOR_NAME,MANAGEMENT_PROCESSOR_IS_ENABLED,MANAGEMENT_PROCESSOR_IP,MANAGED_ACTIVE,MANAGED_INACTIVE,SITE_NAME,SITE_ADDRESS1,SITE_ADDRESS2,SITE_CITY,SITE_STATE,SITE_COUNTRY,SITE_POSTALCODE,SITE_TIMEZONE,CONTACT1_ROLE,CONTACT1_FIRSTNAME,CONTACT1_LASTNAME,CONTACT1_EMAIL,CONTACT1_PHONE,CONTACT1_ALTPHONE,CONTACT1_HOURS,CONTACT1_SALUTATION,CONTACT1_LANGUAGE,CONTACT1_TIMEZONE,CONTACT1_OTHER,CONTACT1_DEFAULT_CNTCT,CONTACT1_ADD_EMAILS,CONTACT2_ROLE,CONTACT2_FIRSTNAME,CONTACT2_LASTNAME,CONTACT2_EMAIL,CONTACT2_PHONE,CONTACT2_ALTPHONE,CONTACT2_HOURS,CONTACT2_SALUTATION,CONTACT2_LANGUAGE,CONTACT2_TIMEZONE,CONTACT2_OTHER,CONTACT2_DEFAULT_CNTCT,CONTACT2_ADD_EMAILS,SUPPORT_CHANNEL_PARTNER_NAME,SUPPORT_CHANNEL_PARTNER_ID,SUPPORT_CHANNEL_PARTNER_CITY,SUPPORT_CHANNEL_PARTNER_COUNTRY,SERVICE_CHANNEL_PARTNER_NAME,SERVICE_CHANNEL_PARTNER_ID,SERVICE_CHANNEL_PARTNER_CITY,SERVICE_CHANNEL_PARTNER_COUNTRY,ENTITLEMENT_TYPE,ENTITLEMENT_ID,ENTITLEMENT_IS_ENTITLED,ENTITLEMENT_STATUS,ENTITLEMENT_SUPPORT_TYPE,ENTITLEMENT_PACKAGE,ENTITLEMENT_OFFER_START_DATE,ENTITLEMENT_OFFER_END_DATE,ENTITLEMENT_COVERAGE_DAYS,ENTITLEMENT_COVERAGE_HOURS_DAY_1_TO_5,ENTITLEMENT_COVERAGE_HOURS_DAY_6,ENTITLEMENT_COVERAGE_HOURS_DAY_7,ENTITLEMENT_COVERED_HOLIDAYS,ENTITLEMENT_RESPONSE_TIME_DAY_1_TO_5,ENTITLEMENT_RESPONSE_TIME_DAY_6,ENTITLEMENT_RESPONSE_TIME_DAY_7,ENTITLEMENT_RESPONSE_TIME_HOLIDAYS
my-test-server,10.10.10.10,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,US,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# remove devices
rsadmin remove -devices IP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment