hp-AHSdownload di Server HP (OS Linux)

[root@HSSDBNEMDUMPER ~]# rpm -ivh hpacucli-9.40-12.0.x86_64.rpm
Preparing… ########################################### [100%]
package hpacucli-9.40-12.0.x86_64 is already installed

[root@HSSDBNEMDUMPER ~]# rpm -ivh hp-AHSdownload-2.1.0-32.x86_64.rpm
warning: hp-AHSdownload-2.1.0-32.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID b1275ea3: NOKEY
Preparing… ########################################### [100%]
1:hp-AHSdownload ########################################### [100%]

[root@HSSDBNEMDUMPER hp-AHSdownload]# pwd
/opt/hp/hp-AHSdownload

[root@HSSDBNEMDUMPER hp-AHSdownload]# cat README
This is HP utility tool to extract Active Health System Log from HP Proliant Servers.
For details of the utility usage, run ‘hp-AHSdownload -h’

[root@HSSDBNEMDUMPER hp-AHSdownload]# ./hp-AHSdownload -h

AHS CLI Linux download version=2.1.0

HP Active Health System download utility
Version 2.1.0 -build 32- (c) Hewlett-Packard Company, 2015

AHSdownload [-d destination_folder] [-n myfilename.ahs] [-S serialnumber] [-s start_date [-e end_date]] [-a] [-v] [-h]

-d destination_folder will be the destination location(folder) where to create the ahs file.
-n myfilename.ahs: overrides the default AHS file name.
-S Includes user input serial number displayed in the default AHS file name. Not to be used with -n switch.
-s start_date: the date from which the data from AHS log has to be retrieved. It has to be specified in the form of YYYYMMDD.
-e end_date: the date till when the data from AHS log has to be retrieved. It has to be specified in the form of YYYYMMDD.
-a download all the data from the AHS log.
-v print verbose output to standard output.
-h display usage.

If start date (-s) and end date (-e) are not specified, by default AHS data related to the last 3 days will be downloaded.

If only start date (-s) without end date (-e) is specified, AHS data will use current day for end date for download.

If start date (-s) and end date (-e) are specified, only AHS data in that date range including start and end dates has to be downloaded.

Iklan