Cisco Systems OL-11291-01 manual Database Preferences File Format

Models: OL-11291-01

1 220
Download 220 pages 11.38 Kb
Page 121
Image 121

Chapter 4 Modifying IPM Components

Setting IPM Database Preferences

For example, to set the business days to Monday through Friday, you would use the following setting (the default setting):

ipm_business_day_0=0 ipm_business_day_1=1 ipm_business_day_2=1 ipm_business_day_3=1 ipm_business_day_4=1 ipm_business_day_5=1 ipm_business_day_6=0

By default, the business week is defined as 7 days, Sunday morning to Saturday evening.

Step 4 Save your changes to the IPM database preferences file.

Step 5 Run the database utility program to load your preferences.

In Solaris, enter:

#cd /opt/CSCOipm/bin

#./ipm dbprefs reload

In Windows, enter:

cd c:\Program Files\Internetwork Performance Monitor\Server\bin ipm dbprefs reload

Note You might want to make a backup copy of the database preferences file (ipmDbPref.conf) before modifying it.

Database Preferences File Format

The contents of the default IPM database preferences file (ipmDbPref.conf) are shown in the following example. This file is stored in the /opt/CSCOipm/etc directory in Solaris and in the c:\Program Files\Internetwork Performance Monitor\server\etc directory in Windows.

##

#(C) Copyright 1998 Cisco Systems, Inc.

#All Rights Reserved#

#IPM Web Report Preferences#

#The default maximum number of rows returned to the browser

#in any web report can be controlled with ipm_max_web_rpt_rows.# ipm_max_web_rpt_rows=500#

#IPM Database Preferences#

#This file contains the IPM Database Preferences used for

#data aging, data reduction, and web reporting.#

#To change these values, update the values below and run the command:

#ipmDbPref.sh -s#

#To display the values currently set in the database, run the command:

#ipmDbPref.sh#

#NOTE: Changing these parameters has no effect on daily, weekly and

#monthly data that has already been calculated. Only new daily, weekly

#and monthly data will use these new settings.#

#The weekly and monthly data are always kept forever.

#The ipm_hourly_stats_life setting determines the number of days that IPM

#stores hourly statistics information. You can change this to any number

#of days.#

ipm_hourly_stats_life=32#

#The ipm_daily_stats_life setting determines the number of days that IPM

#stores daily statistics information. You can change this to any number

 

 

User Guide for Internetwork Performance Monitor

 

 

 

 

 

 

OL-11291-01

 

 

4-27

 

 

 

 

 

Page 121
Image 121
Cisco Systems OL-11291-01 manual Database Preferences File Format