APC AP8941 Power Supply User Manual


 
76Switched Rack PDU User Guide
Use FTP or SCP to retrieve log files
An Administrator or Device User can use FTP or SCP to retrieve a tab-delineated event log file
(event.txt) or data log file (data.txt) and import it into a spreadsheet.
The file reports all events or data recorded since the log was last deleted or (for the data log)
truncated because it reached maximum size.
The file includes information that the event log or data log does not display.
The version of the file format (first field)
The date and time the file was retrieved
The Name, Contact, and Location values and IP address of the Rack PDU
The unique Event Code for each recorded event (event.txt file only)
Note: The Rack PDU uses a four-digit year for log entries. You may need to select a four-digit
date format in your spreadsheet application to display all four digits.
If you are using the encryption-based security protocols for your system, use SCP to retrieve the log file.
If you are using unencrypted authentication methods for the security of your system, use FTP to retrieve
the log file.
See the Security Handbook, available at www.apc.com, for information on available protocols and
methods for setting up the type of security you need.
To use SCP to retrieve the files. To use SCP to retrieve the event.txt file:
scp username@hostname_or_ip_address:event.txt ./event.txt
To use SCP to retrieve the data.txt file, use the following command:
scp username@hostname_or_ip_address:data.txt ./data.txt
To use FTP to retrieve the files. To use FTP to retrieve the event.txt or data.txt file:
1. At a command prompt, type
ftp and the IP address of the Rack PDU, and press ENTER.
If the Port setting for the FTP Server option (set through the Network menu of the
Administration tab) has been changed from its default (
21), you must use the non-default
value in the FTP command. For Windows FTP clients, use the following command, including
spaces. (For some FTP clients, you must use a colon instead of a space between the IP address
and the port number.)
ftp>open ip_address port_number
To set a non-default port value to enhance security for the FTP Server, see “FTP Server” on
page 90. You can specify any port from 5001 to 32768.
2. Use the case-sensitive User Name and Password for Administrator or Device User to log on. For
Administrator, apc is the default for User Name and Password. For the Device User, the defaults
are device for User Name and apc for Password.
3. Use the get command to transmit the text of a log to your local drive.
ftp>get event.txt
or
ftp>get data.txt
4. Type quit at the ftp> prompt to exit from FTP.