Previous Topic

Next Topic

Use the curl command line tool

iLO 4 1.30 and later supports extracting the Active Health System log with the curl command line tool. You can download curl from the following curl website.

To download the Active Health System log:

  1. Install curl.
  2. Open a command window.
  3. Enter the following command 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

    Where:

    • <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, 2013-07-29 for July 29, 2013.
    • k specifies that HTTPS warnings will be ignored.
    • v specifies verbose output.
    • u <username>:<password> specifies your iLO user account credentials.
    • o <filename> specifies the output file name and path.

    To download the entire log, omit the from and to parameters and use the following command:

    curl "https://<iLO IP address>/ahsdata/ahs.ahs" -k -v -u <username>:<password> -o <filename>.ahs

    The file is saved to the path you specified.

  4. Close the command window.