Cisco Systems OL-11291-01 manual Displaying the Current Database Preferences, Windows, enter

Models: OL-11291-01

1 220
Download 220 pages 11.38 Kb
Page 119
Image 119

Chapter 4 Modifying IPM Components

Setting IPM Database Preferences

The IPM database preferences file allows you to control these parameters and also define the business hours and days. Defined business hours are used in determining the daily, weekly, and monthly averages, whereas business days are used in determining the weekly and monthly averages.

The database preferences file also allows you to set the length of time that daily data is retained in the database.

Note Bad data from SA Agent can affect daily, weekly, and monthly statistical reports. To prevent this, IPM filters very large values (greater than 999999) and negative values from the data that it receives from the SA Agent.

Information about viewing and changing the database preferences is provided in the following sections:

Displaying the Current Database Preferences

Changing the Database Preferences

Database Preferences File Format

Displaying the Current Database Preferences

To display the preferences in the currently running IPM database in Solaris, enter:

#cd /opt/CSCOipm/bin

#./ipm dbprefs view

In Windows, enter:

cd c:\Program Files\Internetwork Performance Monitor\Server\bin

ipm dbprefs view

To display the preferences in the configuration file (which might differ from the preferences in the currently running IPM database), in Solaris, enter:

#cd /opt/CSCOipm/bin

#./ipm dbprefs viewfile

In Windows, enter:

cd c:\Program Files\Internetwork Performance Monitor\Server\bin

ipm dbprefs viewfile

The output from the view and viewfile versions of this command is formatted differently because

ipm dbprefs view displays the contents of a database, but ipm dbprefs viewfile displays the contents of a file.

Changing the Database Preferences

To change the IPM database preferences:

Step 1 Edit the IPM database preferences file (/opt/CSCOipm/etc/ipmDbPref.conf in Solaris; c:\Program Files\Internetwork Performance Monitor\server\etc\ipmDbPref.conf in Windows) using a text editor.

Step 2 Change the number of days that daily network performance statistics are stored, modify the following line:

ipm_daily_stats_life=180

Step 3 Set the business hours to be used in calculating averages, you must turn on or off the appropriate hourly interval.

 

 

User Guide for Internetwork Performance Monitor

 

 

 

 

 

 

OL-11291-01

 

 

4-25

 

 

 

 

 

Page 119
Image 119
Cisco Systems OL-11291-01 Displaying the Current Database Preferences, Changing the Database Preferences, Windows, enter