Installation Manual
The contact information that you provide will be treated in accordance with the Hewlett
Packard Enterprise privacy statement. This information is not written to the log data stored
on the server.
4. Click Download Entire Log.
5. Save the file.
6. If you have an open support case, you can email the log file to hpsupport_global@hpe.com.
• Use the following convention for the email subject: CASE: <case number>.
• Files that are larger than 15 MB must be compressed and uploaded to an FTP site. If
needed, contact Hewlett Packard Enterprise for FTP site information.
Extracting the Active Health System Log by using curl
iLO 4 1.30 and later supports extracting the Active Health System log with the curl command-line
tool.
1. Install curl.
You can download curl from the following website: http://curl.haxx.se/.
2. Open a command window.
3. Enter one of the following commands:
• To download the Active Health System log for a range of dates, enter the following
command:
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 entire Active Health System log, enter the following command:
curl "https://<iLO IP address>/ahsdata/ahs.ahs?downloadAll=1" -k
-v -u <username>:<password> -o <filename>.ahs
The file is saved to the specified path.
4. Close the command window.
curl command usage with iLO 4
When you use curl to extract the Active Health System log, the command components include
the following:
• <iLO IP address> is 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,
2016-07-29 for July 29, 2016.
• downloadAll=1 indicates that you want to download the entire log.
• –k specifies that HTTPS warnings will be ignored.
• –v specifies verbose output.
• -u <username>:<password> specifies your iLO user account credentials.
• –o <filename>.ahs specifies the output file name and path.
Clearing the Active Health System Log
If the log file is corrupted, or if you want to clear and restart logging, use the following procedure
to clear the Active Health System Log.
Extracting the Active Health System Log by using curl 191