Technical Documentation

Managing the Profiler Database (NSM Procedure)

The following topics provide procedures for managing the Profiler database:

Displaying Profiler Database Information

Purpose

Data discovered by Profiler is stored in a database located on the NSM GUI server. Use the steps in this procedure to display information about the Profiler database.

Action

To display Profiler database information:

  1. In the NSM navigation tree, select Investigate > Security Monitor > Profiler.
  2. Click the Show DB Information icon in the upper right corner to view specific details about the Profiler database, including the database size.

Querying the Profiler Database

Purpose

Data discovered by Profiler is stored in a database located on the NSM GUI server. Use the steps in this procedure to query the Profiler database.

Action

To query records in the database:

  1. Log into the NSM GUI server as the Postgres SQL user. By default, the Postgres SQL user is netscreen.
  2. Navigate to the directory where the Profiler DB is located: /usr/local/nsmpsql/bin.
  3. Run any Postgres SQL command. For example, you can type the following command:

    ./psql -d profilerDb

Purging the Profiler Database

Data discovered by Profiler is stored in a database located on the NSM GUI server. When the database reaches a maximum size (4 GB by default), it begins purging records (oldest first) automatically. The Profiler stops purging records when it reaches a certain set minimum size (3 GB by default).

Use the steps in this procedure to purge the Profiler database, if needed.

To change automatic purge settings, from the NSM main menu, select Tools > Preferences and modify the Profiler database settings.

To purge the database immediately:

  1. In the NSM navigation tree, select Investigate > Security Monitor > Profiler.
  2. Click the Clear All DB icon in the upper right corner.

Published: 2010-01-12