Archiving Logs; Log Archival Mechanism - Juniper NETWORK AND SECURITY MANAGER 2010.4 - ADMININISTRATION GUIDE REV1 Administration Manual

Table of Contents

Advertisement

Network and Security Manager Administration Guide

Archiving Logs

Log Archival Mechanism

794
If the Device Server fails to restart because of a lack of sufficient free disk space, an
indicative error message appears in the console window advising you to either back up
your data, or create additional disk space in order to restart the server.
You can change the parameters for managing disk space on the Device Server by editing
the Device Server configuration file. For more information on managing disk space on
the Device Server, refer to the Network and Security Manager Installation Guide.
You can archive and retrieve log entries to and from a storage device using standard Unix
commands.
Logs reside on the Device Server in the following directory:
/usr/netscreen/DevSvr/var/logs
We recommend using the following commands to archive your logs:
The tar command
The scp (Secure Copy) command
The ftp (File Transfer Protocol) command
For full descriptions and options for each command, see the man pages.
NOTE: You do not need to stop the processes on the Device Server before
archiving.
All managed device logs are stored in
and associated files organized into subdirectories for each day. To archive the logs for a
specified day, archive the entire directory for that day.
Each directory is named according to the YYYYMMDD convention, indicating the day
contained in the directory. Do not attempt to archive the current day's files. You can
automate archival using cron. To archive logs:
Use
scp
to copy all directories in
1.
location.
Remove the directories from the Device Server machine.
2.
You can analyze the archived logs later by restoring them to the logs directory on the
Device Server. The restored logs are then available in the
just as they were before archival.
Use scp to copy directories from the remote archival location to
1.
/usr/netscreen/DevSvr/var/logs/
Analyze the logs using the NSM UI.
2.
/usr/netscreen/DevSvr/var/logs
/usr/netscreen/DevSvr/var/logs/
Log Viewer
.
Copyright © 2010, Juniper Networks, Inc.
that contains logs
to a remote archival
and
Log Investigator

Advertisement

Table of Contents
loading

This manual is also suitable for:

Network and security manager 2010.4

Table of Contents