• To download the Active Health System Log for a range of dates:
curl "https://<iLO_IP_address>/ahsdata/ahs.ahs?from=<yyyy-mm-dd>&to=
<yyyy-mm-dd>" -k -v -u <username>:<password> -o <filename>.ahs
• To download the Active Health System Log for the last seven days, and add a Hewlett Packard
Enterprise support case number to the log header:
curl "https://<iLO_IP_address>/ahsdata/ahs.ahs?days=<number_of_days>
&case_no=<number>" -k -v -u <username>:<password> -o <filename>.ahs
• To download the Active Health System Log for the last seven days, and include a case number and
contact information:
curl "https://<iLO_IP_address>/ahsdata/ahs.ahs?days=<number_of_days>
&case_no=<number>&contact_name=<name>&phone=<phone_number>&email=
<email_address>&co_name=<company>" -k -v -u <username>:<password>
-o <filename>.ahs
• To download the entire Active Health System Log:
curl "https://<iLO_IP_address>/ahsdata/ahs.ahs?downloadAll=1" -k -v
-u <username>:<password> -o <filename>.ahs
5. The file is saved to the specified path.
6. Close the command window.
7. Optional: If you have an open support case, email the log file to gsd_csc_case_mngmt@hpe.com.
Use the following convention for the email subject: CASE: <case number>.
Files that are larger than 25 MB must be compressed and uploaded to an FTP site. If needed, contact
Hewlett Packard Enterprise for FTP site information.
8. Optional: Upload the file to the Active Health System Viewer.
For more information, see http://www.hpe.com/servers/ahsv.
More information
Using AHSV to troubleshoot or open a support case on page 92
Intelligent Provisioning diagnostic tools on page 87
cURL command usage with iLO
When you use cURL to extract the Active Health System log, the command components include the
following:
Options
<iLO IP address>
Specifies the iLO IP address.
from=<yyyy-mm-dd>&to=<yyyy-mm-dd>
Represents the start and end date of the range of dates to include in the log. Enter dates in the format
year-month-day, for example, 2017-07-29 for July 29, 2017.
days=<number of days>
Specifies that you want to download the log file for the last <number of days> from today's date.
90 Reports and logs