cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

AMA-CUCM Troubleshooting: Best Practices for Reading Trace Files

CVP Reporting Server

2335
Views
5
Helpful
0
Comments

Add Reporting User

In a non-test deployment, the reporting database administrator creates user accounts for people who need to

run reports to access call data in the Informix DB.

When you ran the setup .bat file, the system created the user cvp_dbadmin. You can use that user or create

a new user. The exercise uses cvp_dbadmin.

To create a user, complete the following steps:

Procedure

Step 1 From the Operations Console choose Device Management > Unified CVP Reporting Server.

The Find, Add, Delete, Edit Unified Reporting Servers window opens.

Step 2 Select the reporting server by clicking the link in its name field or by clicking the radio button above it and

then clicking Edit.

The Edit Reporting Server Configuration window opens.

Step 3 Select the Database Administration menu in the toolbar, and then select Manage Reporting Users.

The Manage Users window opens, listing the IP address and host name for the currently selected reporting

server.

Step 4 In the Manage Users pane, select Add User.

Step 5 In the Username field, enter the name for the user.

Step 6 In the Password field, enter a password for the new user.

The password must include upper and lower case letters and numbers. See the required exercise dial

numbers and access information you created earlier for the passwords you are using for these exercises.

Note

Step 7 In the Reconfirm Password field, retype the password.

Step 8 In the Database Administrator Password field, enter the Database Administrator password that you established

when you installed the software.

Step 9 Click Add to add the user.

The message User <name> successfully added as a reporting user appears on the screen.

 

Access cvp_data Informix Database Using Dbaccess

You can use the supplied Dbaccess tool to query the cvp_data Informix database as explained in this task.

Some basic tips for using this character-based tool are:

  • Your mouse does not work in this tool. Select menus and menu options using the first character of a

menu or option, or, use the cursor arrow keys to make selections.

  • Press Ctrl-w to obtain help for the specific menu or option currently selected.
  • Exit an option or a menu level using the Exit selection.
  • In the Query menu, type U and Enter to open Notepad. Edit or paste in your query, and save it if desired.

When you click X to close Notepad, the query script is automatically transferred to Dbaccess.

 

 

Procedure

Step 1 Access the all-in-one-box server, as administrator, using a tool such as VNC Viewer.

Step 2 Open a Windows command window: Start > Run.

Step 3 Type dbaccess and click OK.

Step 4 Connect to the cvp_data database:

  1. a) Press c to select Connection.
  2. b) Press c again to select Connect.
  3. c) Select the highlighted database server by pressing Enter.
  4. d) At the USER NAME prompt, type cvp_dbadmin and press Enter.

The cvp_dbadmin user is created when you install the Unified CVP

software.

Note

  1. e) Enter the password you created for reporting when you installed the software.
  2. f) At the SELECT DATABASE prompt, use the arrow keys to select the cvp_data<hostname> database,

and press Enter.

The dashed line below the menu should now show the database name as in the following example.


 

Step 5 Select Exit to back up to the main menu and continue with the next task.

Query cvp_data Database

This task continues with the use of the Dbaccess tool to create and run a database query.

For detailed information on the reporting, see the Reporting Guide for Cisco Unified Customer Voice

Portal.

Note

Procedure

Step 1 From the top-level menu of Dbaccess, press q to select Query-language.

Step 2 Press n to enter a new query (or u to use an editor).

See topics related to accessing the cvp data Informix database using Dbaccess for more information.

Step 3 Enter one of the following queries. Press Esc when finished entering the query (or if in Notepad, exit to transfer

the text to Dbaccess).

Query #1: Number of Call: This query shows the total number of calls made.

Run the query. Make a call and rerun the query to see the call count increment.

----

Select count(callguid)

From call

QUERY #2: Follow a Call through its Call Studio script:

Run the next query to see basic information about the call; the elementname items change to reflect the call's progress through the Call Studio script. Press "N" to display the next set of elements in the progression. If you are running this query in conjunction with the comprehensive exercise, the last element displayed is "CVP Subdialog Return_01" which is the end of the

script and shows control returning to the ICM script.

(a. b. and c. below are "table aliases")

-----

SELECT a.callguid, a.callstartdate, a.dnis, b.appname, c.elementname

FROM call a, vxmlsession b, vxmlelement c

WHERE a.callguid = b.callguid

AND b.sessionid = c.sessionid

AND a.callstartdate=today

---- ---

select * from vxmlsessionvariable where

varname='exitstate' and

eventdatetime>'2016-05-05 16:00:00.000'

order by eventdatetime desc

 

Step 4 Press r to run the query.

Check below links for more details.

http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/customer_voice_portal/cvp9_0/configuration/guide/CCVP_BK_GE7EB947_00_getting-started-with-cvp.pdf

Page 80

http://www.cisco.com/c/en/us/support/docs/customer-collaboration/unified-customer-voice-portal/116379-trouble-cvp-server-00.html

 

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards