How to use ftp to retrieve log files, Rz wr xvh )73 wr uhwulhyh orj ilohv, Events menu – APC Network Management Card none User Manual

Page 53: Event log frqwlqxhg

Advertising
background image

Network Management Card User’s Guide

46

Events Menu

Event Log

FRQWLQXHG

How to use FTP to
retrieve log files

You can use FTP to retrieve a tab-delineated event log (event.txt) or
data log (data.txt) file that you can import into a spreadsheet application.

The file reports all of the events (event.txt) or data (data.txt) that
has been recorded since the log was last deleted.

The file includes information that does not show up in the event
log or data log displays.
– The version of the file format (first field).
– The

Date

and

Time

the file was retrieved.

– The

Name

,

Contact

,

Location

, and IP address of the

Management Card.

– The event.txt file includes the unique

Event Code

for each

recorded event.

Note:

The Management Card uses a 4-digit year for log
entries. A spreadsheet may display these dates as 2-
digit years. This can be fixed by selecting a different
date format in the spreadsheet.

To use FTP to retrieve the event.txt or data.txt file, do the following:

1. At a command prompt, type

ftp

and the Management Card’s

IP address, and press

E

NTER

. If the

Port

setting for

FTP Server

in the

Network

menu has changed from its default value (

21

),

you must use the non-default value in the FTP command. For
some FTP clients, you would use a colon to add the port
number to the end of the IP address. For Windows FTP clients,
you would use the following command (including spaces):

ftp>open ip_address port_number

Note:

For information about using non-default port values to
enhance security, see

Port assignments on page 55

.

2. Use the case-sensitive

User Name

and

Password

settings for

either an Administrator (

apc

is the default for both) or a Device

Manager User (

device

is the default for the

User Name

, and

apc

is the default for the

Password

) to log in.

3. Use the get command to transmit the text-version of the event

or data log to your local drive.

ftp>get event.txt

or

ftp>get data.txt

4. You can use the delete command to clear the contents of the

event or data log. You will not be asked to confirm the deletion.
If you clear the data log, a Deleted Log event will be recorded in
the event log; if you clear the event log, a new event.txt file will
be created to record the Deleted Log event.

ftp>del event.txt

or

ftp>del data.txt

250 Requested file action okay, completed.

5. Type

quit

at the

ftp>

prompt to exit from FTP.

Advertising