6. If you have an open support case, you can 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.
7. Optional: Upload the file to the Active Health System Viewer.
For more information, see http://www.hpe.com/servers/ahsv.
Extracting the Active Health System Log by using curl
iLO supports extracting the Active Health System Log with the curl command-line tool.
Procedure
1. Install curl.
2. You can download curl from the following website: http://curl.haxx.se/.
3. Open a command window.
4. Enter a command similar to the following examples.
IMPORTANT:
When you enter these commands, ensure that you do not use spaces or other unsupported
characters.
If required by your command line environment, special characters such as the ampersand must
be preceded by the escape character. See the command line environment documentation for
more information.
• 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
48 Extracting the Active Health System Log by using curl