Who is This User Reference Guide For? About the ENTERPRISE User Reference Guides Can You Improve Our User Assistance? Obtaining Support Obtaining Further Information and Services
Chapter 2 Installing OPTIMA
14 14 15 16 17
19
About the Hardware and Software Requirements for OPTIMA
20
Installing OPTIMA
20
Installing OPTIMA as Part of ENTERPRISE Installing OPTIMA Lite Updating Data About Maintenance and Security
20 20 21 21
Starting OPTIMA
22
Changing your OPTIMA Password
23
Chapter 3 About the OPTIMA User Interface
25
About the Main OPTIMA Toolbar
26
About the Favourites Toolbar
27
About the OPTIMA Menus
27
About the Counter Descriptions Window
29
Using Clocks in OPTIMA
30
Offsetting the System Clock
About Performance Alarms About the Alarms Explorer About the Alarms Handler Explorer
Chapter 4 About OPTIMA Administrator Tools 47 About the Table Editor
48
Adding, Editing and Deleting Rows in Tables
49
About the Database Config Settings
50
About Database Links About Regional Settings
50 52
About OPTIMA Security
52
Example of Using Groups and Users to Configure Security Creating Groups Editing and Deleting Groups Using Groups to Assign Access Creating Users About OPTIMA User Roles Editing and Deleting Users Changing Passwords
Using Contacts in OPTIMA
53 54 55 56 57 58 58 59
59
Adding, Editing and Deleting Contacts in the Address Book Adding a Contact Group to the Address Book Editing and Deleting Contact Groups
About Table and Field Information Settings
61 61 62
63
Setting All Table and Field Information Settings Using the Settings Wizard Setting Table Security Setting the Granularity Period for a Single Table Assigning a Category to a Table Defining an Association for a Table Adding a Comment to a Table Applying Changes to Element and Date Columns Setting Table Level Adding a Comment to a Column Finding a Counter in the Table and Field Info Dialog Box Repopulating Data
About Categories
64 65 66 66 67 68 69 69 70 70 70
71
Creating and Editing Categories
71
About Table Periods
73
Creating and Editing Table Periods Creating and Editing Entities
74 75
Excluding Particular Days from Reports
77
Editing and Deleting Holidays
77
Setting the Element ID Translation Option
78
Mapping Element IDs
78
Chapter 5 Setting Up and Querying Data in OPTIMA 79 Using the Data Explorer
80
Finding a Counter Defining a Query About KPIs
81 82 100
About OPTIMA Modules Page 6
114 OPTIMA User Reference Guide Version 6.1
Creating Folders for OPTIMA Modules Viewing OPTIMA Modules Creating OPTIMA Modules Element Aggregation in Module Queries Restricting Access to OPTIMA Modules Restricting Editing of OPTIMA Modules Editing and Deleting OPTIMA Modules Opening an OPTIMA Module in a New Combination Copying OPTIMA Modules Importing and Exporting OPTIMA Modules
Using the Element Hierarchies Explorer About the Element Hierarchies Explorer Toolbar Creating Element Hierarchies in the Element Hierarchies Explorer Setting Element Hierarchy Security Finding Element Hierarchies Copying Element Hierarchies in the Hierarchies Explorer Viewing Element Hierarchies in the Element Hierarchies Explorer Previewing Element Hierarchies in the Element Hierarchies Explorer
Chapter 6 Viewing Data in OPTIMA
115 116 117 119 126 127 127 128 128 129
131 132 132 135 135 136 136 137
139
About Combination Windows in OPTIMA Creating Folders for OPTIMA Combination Windows Viewing Pre-Defined Combination Windows Creating Combination Windows Displaying Element Data Across Modules Saving Combination Windows as Templates Restricting Access to Combination Windows Restricting Editing of Combination Windows Copying Combination Windows Importing and Exporting Combination Windows
140 141 143 144 146 148 151 151 152 152
Adding and Editing Favourites in OPTIMA
154
Filtering Data in the Combination Window
155
Filtering Data by Selecting Network Elements Setting a Date Range Setting Parameter Values Setting Time Aggregation
155 156 157 158
Finding Elements in the Modules Pane
158
Finding Elements Within One Module Finding Elements Across Modules
158 159
Filtering Elements in the Modules Pane
159
Creating a Static Filter from a Selection Creating a Static Filter From the Grid Pane Applying Filters Selecting Elements Quickly
160 161 162 163
Displaying Data in Graphs
164
Using the Filter Explorer
165
About the Filter Explorer Toolbar Creating Static Filters in the Filter Explorer Creating Dynamic Filters in the Filter Explorer Converting a Dynamic Filter to a Static Filter Setting Filter Security Editing Filters in the Filter Explorer Renaming Filters Deleting Filters OPTIMA User Reference Guide Version 6.1
166 166 168 169 171 171 171 172 Page 7
Finding Filters Copying Filters in the Filter Explorer Viewing Filters in the Filter Explorer
Chapter 7 Customising Grids in OPTIMA
172 172 173
175
About the Tools for Customising a Grid
176
Customising Columns in a Grid
177
Sorting Data Within Grid Columns Fixing Grid Columns Scrolling to a Grid Column Changing the Grid Column Settings Setting Thresholds and Conditional Fonts Refreshing Data
177 178 179 179 180 181
Searching for Data in Grids
181
Filtering Data in OPTIMA Grids
182
Selecting a Single Value to Filter the Grid Filtering One Column of the Grid Filtering More Than One Column In The Grid
182 183 184
Summarising Data
185
Viewing Details of a Single Network Element in a Grid
187
Printing Grids
188
Exporting OPTIMA Grids
189
Counting Records in OPTIMA Grids
189
Viewing SQL in Grids
190
Chapter 8 Using Graphs 191 About the Options for Customising a Graph
192
Changing the Appearance of Graphs
193
Using the General Tab in the OPTIMA Graph Options Dialog Box Changing the Appearance of Graph Axis Changing the Thickness of Graph Lines Using the Functions Tab in the OPTIMA Graph Options Dialog Box Changing the Thickness of Bars on Bar Graphs Displaying Thresholds on Graphs Using Advanced Options Using Chart Themes
About the Navigating Tools
199
Zooming and Scrolling on OPTIMA Graphs Rotating a Graph Viewing Values Using the Cursor Key
199 200 200
About the Appearance Tools
201
Viewing the Graph in 3D Viewing Gaps in the Data Displaying Data per Point on an OPTIMA Graph Viewing Weekends and Holidays
Page 8
193 195 196 197 197 197 198 198
201 201 202 202
Changing the X-Axis Field
203
Ordering Graph Data
204
OPTIMA User Reference Guide Version 6.1
Selecting and Extending Trends on a Graph
205
Viewing Details in a Graph
206
Printing OPTIMA Graphs
207
Exporting OPTIMA Graphs
208
Saving OPTIMA Graphs as Pictures
209
About the Series List
209
Ordering the List of Data for a Graph About the 3D Options in the Series List Menu Changing the Colours of the Graph Lines Changing the Type of Graph Changing the Axis Where Data Appears Using the Series List Functions in Line Graphs
210 210 211 211 212 212
Chapter 9 Using OPTIMA Work Areas 215 About the Work Area Toolbar
216
Creating a New Work Area
216
Adding and Removing Combinations
217
Adding and Removing Web Browsers
218
Refreshing Data and Switching Tabs
219
Enabling Data Refreshing and Switching
220
Loading a Work Area
Chapter 10 Viewing Data on the Map
220
221
Displaying Performance Data on the Map
222
Changing the Display of Performance Data
223
Using the Clock to Display Performance Data
225
Displaying Cell-Handover KPIs on the Map
226
Chapter 11 Generating and Scheduling Reports
229
Download Learning ReportBuilder
230
About Using OPTIMA Reports
230
Creating Folders for Reports Viewing Reports Creating Reports Using Report Builder Creating Excel Reports Restricting Access to Reports Restricting Editing of Reports Editing and Deleting Reports Copying Reports Printing Reports Importing and Exporting Report Definitions Exporting Reports
Scheduling When Reports Run Creating Folders for Schedules Creating a Schedule for a Report OPTIMA User Reference Guide Version 6.1
231 232 232 262 267 267 268 268 269 269 271
273 273 274 Page 9
Editing and Deleting Schedules Copying Schedules Viewing and Deleting the History of a Schedule
277 277 278
Chapter 12 Using Performance Alarms 279 About Alarm Settings
280
Configuring Vendors Configuring Technologies Configuring Element Types Configuring Problem Texts Configuring Alarm Maintenance Parameters
280 281 281 282 283
Defining an Alarm
284
Defining an Alarm using the Alarms Wizard Defining an Alarm using an Editor Activating an Alarm Editing and Deleting an Alarm
284 290 293 293
About Ripple Counts
294
Assigning Alarms to Contacts
295
Creating an Alarm Handler Activating an Alarm Handler Enabling Contacts to Receive Alerts
295 296 297
Viewing, Clearing and Resetting Alarms
298
Viewing and Clearing Alarm Definitions
300
Viewing and Clearing Alarms History
301
Viewing Alarms Run History
302
Customising Alarm Information
303
Sorting Alarm Information by Column
303
About the Alarms Backend Applications
304
Troubleshooting
304
Glossary of Terms 307 Index
Page 10
311
OPTIMA User Reference Guide Version 6.1
CHAPTER 1
Introduction OPTIMA is a network performance management and monitoring software tool that logs and stores network parameters, enabling you to gain a complete understanding of the current and past performance of your network. You can use OPTIMA with ENTERPRISE or standalone, as OPTIMA Lite. By accessing and analysing invaluable performance data, you can: Identify and respond quickly to change Accurately pinpoint extra capacity requirements Deploy network enhancements in a timely and cost effective manner Predict future trends in the network or for any part of the network Some typical uses of OPTIMA for network operation and performance management are: Daily reporting of cell, site, BSC, MSC and transmission network performance Daily reporting of any cluster of cell sites or network elements covering particular cities, roads or other geographical regions Identification of performance anomalies across network regions Overall monitoring of alarms and equipment operational status Identification and strategic reporting of traffic hotspots and network locations generating high traffic and revenues
In This Section About This Manual About the OPTIMA Operations and Maintenance Guide Explanation of Symbols Obtaining User Assistance
OPTIMA User Reference Guide Version 6.1
12 12 12 13
Page 11
About This Manual This manual describes how to use OPTIMA to view performance data and statistics. This table shows which Chapter contains what information: Use This Chapter
For
2
Administrator-only information about configuring OPTIMA and installing OPTIMA Lite.
3
Information on using the OPTIMA interface.
4
Administrator-only information about using Administrator tools.
5 - 11
User information about setting up and view data and using reports.
12
Administrator-only information about using performance alarms.
About the OPTIMA Operations and Maintenance Guide The OPTIMA Operations and Maintenance (O&M) Guide is an accompaniment to the OPTIMA User Reference Guide. It contains the operation and maintenance procedures for the OPTIMA Data Loading processes and describes how to install and configure the OPTIMA backend applications. Please contact AIRCOM International Support to obtain the latest version of the O&M Guide. For contact details, see Obtaining AIRCOM Support on page 16.
Explanation of Symbols Throughout this guide, where appropriate, some symbols are used to highlight particular pieces of text. Three different symbols are in use, and are explained as follows: Symbol
Page 12
Brief Description
Full Description
Note
Signifies text that should be noted or carefully considered.
Tip
Signifies text that may help you do something in an easier or quicker way.
Warning or Important
Signifies text that is intended as a warning or something important.
OPTIMA User Reference Guide Version 6.1
Obtaining User Assistance Using Online Help ENTERPRISE products come with a complete system of online Help which you can access in three ways: From the Help menu, click Help Contents. Scroll through the table of contents and choose a relevant topic to display. To search for something particular, from the Help menu, click Help Contents and using the Index tab or Search tab, type in a letter or word to start searching for relevant topics. Press F1 in a dialog box to view context-sensitive help (available for most dialog boxes). If you are using ENTERPRISE within a CITRIX environment, to ensure that the Help graphics are displayed, you should ensure that your visualisation settings are configured to display greater than 256 colours. Using ENTERPRISE User Reference Guides If you prefer to read printed content, we also provide User Reference Guides. To view or print these as PDFs (Adobe Acrobat portable document format): 1
Make sure you have Adobe Acrobat Reader installed on your PC. If you do not have this, you can install it from the ENTERPRISE CD, or get it from the Adobe website. Adobe and Acrobat are trademarks of Adobe Systems, Incorporated.
2
Click Start on the taskbar, point to Programs, then AIRCOM International, then ENTERPRISE, then Docs. - or Navigate to the Docs folder in the location where you installed the product. If neither of these exists, please contact your administrator.
3
Double-click the PDF file that you want to view.
If you have a customer web account, you can also download the latest User Reference Guides from our website.
OPTIMA User Reference Guide Version 6.1
Page 13
Checking Release Notes Each release of the ENTERPRISE software is accompanied by Release Notes, giving important information on system requirements, installation, known issues, upgrades and so on. These notes are included in the ENTERPRISE CD, or you can download them from our website. For any further documentation, such as application notes and extra reference information, please email the support team at the address described in Obtaining Support on page 16.
Who is This User Reference Guide For? The ENTERPRISE User Reference Guides are intended for different audiences, depending on the particular product. Typical prerequisites include a good understanding of the following: The appropriate telecoms technologies and the associated network planning methods (for planning software) Relational database management, and in particular Oracle database creation and administration procedures (for administrative software) The various parameters utilised for monitoring and optimising networks (for OSS software) Irrespective of the particular product, the following basic knowledge is required: Microsoft Windows concepts The functions of the Microsoft Office suite of tools, in particular Excel
About the ENTERPRISE User Reference Guides This table describes our range of User Reference Guides: This Guide
Contains Information On
What's New
The main difference between the latest versions of the ENTERPRISE suite.
ENTERPRISE Installation and Administration
Installing and configuring ENTERPRISE, your network, and Oracle databases. Using Administrator to create users and groups, and set permissions. Also contains information on software licensing.
Page 14
ENTERPRISE Database Reference
The relationships between tables in the database and the contents of each table.
ENTERPRISE User Reference
Functionality that is common to most of the products in the ENTERPRISE suite, including how to access, view, edit and store data.
ENTERPRISE Technical Reference
File formats, as well as antenna and diffraction calculations.
ADVANTAGE User Reference
Using ADVANTAGE to plan and optimise networks automatically, consider measured data in analysis/optimisation, analyse network performance, identify problematic areas/cells, and more.
ARRAYWIZARD User Reference
Using ARRAYWIZARD to automatically generate coverage predictions and best server arrays, which gives you instantaneous display of coverage and interference information for pre-selected filters when loaded into ASSET.
OPTIMA User Reference Guide Version 6.1
This Guide
Contains Information On
ASSET User Reference
Using ASSET, the network planning and analysis tool, to design a range of cellular networks. Includes information on hierarchical network planning, propagation modelling, service and bearer definition, coverage analysis, traffic planning, neighbour planning, frequency planning, CW data analysis, detailed reporting, analysis arrays and simulation of network performance.
ASSET Technical Reference
Array descriptions and information on some of the algorithms used in ASSET.
CONNECT User Reference
Using CONNECT, the network transmission and microwave link planning software for full network physical link design and logical link design. Also contains CONNECT-specific reference information.
DATASAFE User Reference
Using DATASAFE, our network configuration tool to implement both small and large scale changes to networks
DIRECT User Reference
Using DIRECT to design telecommunications networks of different network layers. Explains how to plan cellular, PSTN and data networks at a both general and strategic level. Also contains DIRECT-specific reference information.
NEPTUNE User Reference
Using NEPTUNE to collect, import and analyse testmobile data and using the optional module, PROBE for additional analysis. Also contains reference information on NEPTUNE file formats.
OPTIMA User Reference
Using OPTIMA to view performance data and statistics both with ENTERPRISE and standalone using OPTIMA Lite.
OSSEXPERT User Reference
Using OSSEXPERT to manage optimisation tasks in wireless networks.
RANOPT User Reference
Using RANOPT to efficiently find faults in your network, optimise and validate its performance prior to commercial launch.
WEBWIZARD User Reference
Using WEBWIZARD to display GIS and report information of network data, including creating layers, regions, nodes, layer types, administering and configuring the system and using the GIS view, explorer and report viewers.
Can You Improve Our User Assistance? We are always trying to improve the online Help and User Reference Guides. If you cannot find the Help you were looking for, need more information, or have any suggestions for improvements, we would be grateful for your feedback. Also, if you are generally satisfied with these resources, we would appreciate any positive feedback. Online Questionnaire You can help us by completing our brief online questionnaire (http://tinyurl.com/y47rqn). Alternatively, you can contact us directly at [email protected].
OPTIMA User Reference Guide Version 6.1
Page 15
Obtaining Support If you have a difficulty you cannot resolve yourself using the online Help or Reference Guides, or you have found a possible fault in the software, you can log a support request as described below. You may also wish to contact us if you want to: Register for a customer web account to access the Support area Obtain further documentation, such as application notes and extra reference information Logging Support Requests Online To log a support request online: 1
Go to the AIRCOM website, at www.aircominternational.com.
2
Click the link to Support.
3
Log in, using your customer web account username and password.
4
In the Technical Support pane, click Online Helpdesk System.
5
Click Log New.
6
Enter the details of your request, and then click Log.
Contacting us via Telephone or Email If you wish to contact us directly, here are the contact details of our regional offices: Location
When contacting us with a support query, it would help us if you: Give us as much information as possible about the problem and the context in which it occurred State the version and build you are using Have all the details of your query to hand Are logged into the ENTERPRISE application Can send extracts of your data sets if we need them to reproduce your problem
Obtaining Further Information and Services As well as comprehensive online Help and User Reference Guides and dedicated Product Support, AIRCOM additionally provides: Online Knowledgebase of Articles If you register for a customer web account, you can view our searchable technical database in the Product Support section of the AIRCOM website. This Knowledgebase contains articles created by our support professionals who have resolved issues for our customers, and is constantly updated, expanded, and refined to ensure that you have access to the very latest information. Online Technical Forum You can obtain useful information from our online problem-solving technical forum. The URL address is: http://www2.aircom.co.uk/techforum If you would like permission to access to this resource, please email the support team at the address described in Obtaining Support on page 16. Power Tools If you register for a customer web account, you can download from a selection of useful power tools, such as file conversion utilities.
OPTIMA User Reference Guide Version 6.1
Page 17
Latest Copies of the User Reference Guides If you register for a customer web account, you can download the latest User Reference Guides (PDFs) from our website. If you do this, please check the back of the reference guides for any additions or corrections. Consultancy Services AIRCOM also provide full radio consultancy services in Network Audits, Business Planning Support, Licence Applications, Radio Network Planning, Telecommunications Research and System Modelling and Propagation Analysis and Modelling. Training There is a wide variety of courses run by AIRCOM. These courses range from tool training to technology training. For details, contact Competence Development Solutions ([email protected]).
Page 18
OPTIMA User Reference Guide Version 6.1
CHAPTER 2
Installing OPTIMA OPTIMA can be used in the following ways: If using OPTIMA
Then
As part of the ENTERPRISE suite
To ensure top performance, one of our teams needs to install and integrate OPTIMA to a network, configuring the collection of performance counters, data storage and the database.
As a standalone product
You should contact your system administrator to find out where on your network OPTIMA is installed, and to get a username and password. When you have this information, you can access OPTIMA without having to install anything.
Over the internet
You should contact your system administrator to find out how to use OPTIMA over the Internet.
In This Section About the Hardware and Software Requirements for OPTIMA Installing OPTIMA Starting OPTIMA Changing your OPTIMA Password
OPTIMA User Reference Guide Version 6.1
20 20 22 23
Page 19
About the Hardware and Software Requirements for OPTIMA You can have one workstation for each client that wishes to use OPTIMA and ENTERPRISE. The hardware and software requirements are the same as the latest ENTERPRISE specification. For more information, see the ENTERPRISE User Reference Guide or confirm with Product Support, who can be contacted on one of the numbers shown in Obtaining AIRCOM Support on page 16.
Installing OPTIMA You can install OPTIMA in two ways: As part of ENTERPRISE As OPTIMA Lite
Installing OPTIMA as Part of ENTERPRISE To use OPTIMA as part of the ENTERPRISE suite, one of our teams needs to install and integrate OPTIMA to a network. This ensures maximum performance by configuring the collection of performance counters, data storage and the database.
Installing OPTIMA Lite A standalone version of OPTIMA has been produced so that: You do not have to have any other ENTERPRISE products installed to run OPTIMA You can run OPTIMA Lite over the network with no installation necessary on your own PC OPTIMA Lite does not contain the Map View window or the ENTERPRISE database and filters.
Page 20
OPTIMA User Reference Guide Version 6.1
Follow these instructions if you want to use OPTIMA Lite: 1
If you are installing OPTIMA Lite using the InstallShield program on the ENTERPRISE CD, when selecting components, select OPTIMA Lite. – or – Contact your system administrator to find out where on your network OPTIMA Lite is located, and get a username and password.
2
Locate the OPTIMA_Lite.exe and open it. You can now start using OPTIMA Lite.
Updating Data When connected to the network switches and the database, OPTIMA updates itself and automatically adds new sites and counter data when necessary. The data collection process is one way and OPTIMA cannot modify the network.
About Maintenance and Security OPTIMA should need no maintenance except for installing any upgrades. However, it is recommended that companies have an on-site Oracle database administrator to attend to any database related problems promptly. The Oracle server handles security and each user is required to log in before any statistics can be obtained.
OPTIMA User Reference Guide Version 6.1
Page 21
Starting OPTIMA To start using OPTIMA as part of ENTERPRISE: 1
Start ENTERPRISE and log into the relevant database.
2
Select the project you require then click the Info>> button.
3
Scroll to the OPTIMA Login tab:
4
On this Login tab:
Select the appropriate database in the DataSource box. An Oracle connection name is specified here, not ODBC.
Type your UserId and Password then click OK.
Once you have logged in, you can change your password. For more information, see Changing your OPTIMA Password on page 23. 5
Page 22
In the Start Project dialog box, click Start.
OPTIMA User Reference Guide Version 6.1
To start using OPTIMA Lite: Open OPTIMA Lite and, from the OPTIMA Lite Login Information dialog box, type your User Name and Password, and select the Service to which you want to connect.
Once you have logged in, you can change your password. For more information, see Changing your OPTIMA Password on page 23.
Changing your OPTIMA Password When you use OPTIMA for the first time, you must login to the OPTIMA database with the username and password created by the OPTIMA_Administrator. However, after you have logged into OPTIMA, you can change your password. To change your password: 1
From the Tools menu, click Change Password. The Change Password dialog box appears.
2
Type your old password, new password and confirm your new password.
3
Click OK. Next time you login to the OPTIMA database, you must use your new password.
OPTIMA User Reference Guide Version 6.1
Page 23
Page 24
OPTIMA User Reference Guide Version 6.1
CHAPTER 3
About the OPTIMA User Interface The OPTIMA user interface consists of a number of elements, which enable you to: View, compare and analyse counter information for network elements using grids and graphs Customise windows and reports Define how objects, such as modules and grids, function Search for objects such as modules and reports
In This Section About the Main OPTIMA Toolbar About the OPTIMA Menus About the Counter Descriptions Window Using Clocks in OPTIMA About Performance Alarms About the Data Explorer About the Filter Explorer Switching Between Open Windows Defining User Preferences Using the Find Dialog Box
OPTIMA User Reference Guide Version 6.1
26 27 29 30 31 34 34 35 36 44
Page 25
About the Main OPTIMA Toolbar To quickly access the frequently used functions, use the OPTIMA toolbar:
OPTIMA Main Toolbar
This table describes the toolbar functions, some of which are only available if you are running OPTIMA as part of ENTERPRISE:
Page 26
Click:
To:
Exit OPTIMA
Close the current project and exit the tool.
Login/Logout
Login to and logout of the database but keep ENTERPRISE running.
Open/Close Project
Open and close projects but keep ENTERPRISE running.
New 2D View
Open the 2D Map View. For more information, see Displaying Performance Data on the Map on page 222.
Data Explorer
Open the Data Explorer. For more information, see About the Data Explorer on page 34.
Filter Explorer
Open the Filter Explorer. For more information, see Using the Filter Explorer on page 165.
Element Hierarchies Explorer
Open the Element Hierarchies Explorer. For more information, see Using the Element Hierarchies Explorer on page 131.
Module Explorer
Access the Module Explorer in which you can view and use modules. If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can also create, modify and delete modules. For more information, see About OPTIMA Modules on page 114.
Combination Explorer
Access the Combination Explorer from which you can view and use module combinations. If you have OPTIMA_Administrator OPTIMA_Advanced_User permissions, you can also create, modify and delete combinations. For more information, see About Combination Windows in OPTIMA on page 140.
New Combination
Create a new OPTIMA window for viewing data. For more information, see Creating Combination Windows on page 144.
New Work Area
Access a New Work Area. For more information, see Creating a New Work Area on page 216.
Report Explorer
Access the Report Explorer. For more information, see About Using OPTIMA Reports on page 230.
Schedule Explorer
Access the Schedule Explorer. You can only schedule reports if you have OPTIMA_Administrator OPTIMA_Advanced_User permissions. For more information, see Scheduling When Reports Run on page 273.
KPI Manager
Access the KPI Manager. For more information, see About KPIs on page 100.
OPTIMA User Reference Guide Version 6.1
Click:
To:
Counter Legend
Access the Counter Legend. For more information, see About the Counter Descriptions Window on page 29.
OPTIMA Login
Retry your login. This button is only enabled if you have had an unsuccessful login attempt.
Main Clock
Access the Main OPTIMA clock. For more information, see Using Clocks in OPTIMA on page 30.
About the Favourites Toolbar The Favourites toolbar is enabled after you have saved one or more favourites and is next to the Main OPTIMA Toolbar. This picture shows an example of the Favourites toolbar:
Favourites toolbar
If you have created a report, module combination or work area that you will reuse frequently, you can save it as a favourite. When you save it as a favourite you also select a button to be added to the Favourites toolbar. For information about saving favourites, see Adding and Editing Favourites in OPTIMA on page 154.
About the OPTIMA Menus Above the OPTIMA toolbar are a series of menus. This table describes the menu options, some of which are only available if you are running OPTIMA as part of ENTERPRISE: From the:
You can:
File menu
Exit from the database and close OPTIMA. If you are using OPTIMA with ENTERPRISE, other menu items will be available. For further information about these items, see the ENTERPRISE User Reference Guide.
Edit, View, Database and Equipment menus
Access features available if you are using OPTIMA with ENTERPRISE. For further information about these menus, see the ENTERPRISE User Reference Guide.
Inspector menu
Access the Module Explorer. Access the Combination Explorer. Create a New Combination. Create a New Work Area.
Reporter menu
Access the Report Explorer. Access the Schedule Explorer.
KPI menu
Access the KPI Manager. Access the Global KPI.
OPTIMA User Reference Guide Version 6.1
Page 27
From the:
You can:
Favourites menu
Edit Favourites. Load Favourites. Save Favourites.
Performance Alarms
Access the Alarms Handler and Explorer.
Administrator menu
Access Counter information. Access miscellaneous information such as holiday entry and element ID translation. Configure the Busy Hour, that is modify the capture settings and set the Busy Hour. Configure database information such as database links. Manage security in OPTIMA by creating users, groups and contacts. The Administrator menu is enabled only if you have OPTIMA_Administrator permissions.
Tools menu
Login to OPTIMA – only available if your initial attempt to login was unsuccessful. Access the User Preferences dialog box. Change your password. Access the Data Explorer. Access the Element Hierarchies Explorer. Access the Filter Explorer. View the Counter Legend. Access the Windows List, which enables you to locate and switch to an open window. Modify the Main OPTIMA clock.
Windows menu
Access the message log - OPTIMA Lite only.
Help menu
Access the Help. Access the Licence Manager. View information about ENTERPRISE, for example the build number.
Page 28
OPTIMA User Reference Guide Version 6.1
About the Counter Descriptions Window The Counter Descriptions window displays a list of all the counters used in OPTIMA, grouped by vendor, along with any further information relating to each counter. You can only add, edit and delete counters if you have logged into OPTIMA with OPTIMA_Administrator level privileges.
Counter Descriptions window
To view information about a counter: 1
From the Tools menu, click Counter Legend. – or – Click the Counter Legend button
.
2
In the Counter Descriptions dialog box that appears, select a vendor from the Vendor menu.
3
In the Counter box, type the name of the Counter for which you want more information.
4
Click Find. The counter is highlighted in the list. Any further information about the counter, if available, will be displayed.
OPTIMA User Reference Guide Version 6.1
Page 29
Using Clocks in OPTIMA When running OPTIMA, it is common practice to have it connected to the System Clock to show today’s data. However, sometimes you will want to view and compare data for a different date and time. You can do this by using the Global Clock. To set the Global Clock: 1
From the Tools menu, click Clock. – or – Click the Clock button
2
In the dialog box that appears, ensure that the Set to System Clock checkbox is not selected.
3
To change the year, click on the year at the top of the calendar and type the year that you want.
4
Use the arrows to scroll to the correct month then click a date on the calendar.
5
Click the hour and change the time as required, then repeat for minutes and seconds:
6
Providing there is data for that date, you can display the data in different ways:
7
Page 30
.
If you are using OPTIMA with ENTERPRISE, click Update Map to apply the time you have chosen to any open Map View window. For more information, see Viewing Data on the Map on page 221.
To review data collected over the same period, ensure that in each combination window, in the Date Range pane, the Link to Global Clock checkbox is selected.
When you have finished reviewing data, you can reset the date and time to the System Clock again by opening the Global Clock and selecting the Set to System Clock checkbox.
OPTIMA User Reference Guide Version 6.1
Offsetting the System Clock When data is collected by OPTIMA, there is usually a one hour processing delay before that data is available for use in OPTIMA. You can take account of this delay by offsetting the system clock. To do this: 1
From the Tools menu, click Clock. – or – Click the Clock button
.
2
In the Global Clock's Offset pane, select the Enable checkbox.
3
Select an offset period using the arrow keys and drop-down menu.
4
Close the Global Clock.
About Performance Alarms You can use performance alarms to manage data before it is passed on to third party fault management systems. You can set network counter thresholds or key performance indicators (KPIs) and then receive alerts whenever network conditions are not met. Network data is processed by OPTIMA and stored in OPTIMA database tables. The network data is analysed at user defined intervals. From the Performance Alarms menu, you can select the Alarms Explorer and the Alarms Handler Explorer.
OPTIMA User Reference Guide Version 6.1
Page 31
About the Alarms Explorer To open the Alarms Explorer: From the Performance Alarms menu, select Alarms. This picture shows an example of the Alarms Explorer:
Alarms Explorer
From the Alarms Explorer toolbar you can create alarm definitions and folders and view alarm definition logs. This picture shows an example of the Alarms Explorer toolbar:
Alarms Explorer toolbar
Page 32
OPTIMA User Reference Guide Version 6.1
About the Alarms Handler Explorer To open the Alarms Handler Explorer: From the Performance Alarms menu, select Alarms Handlers. This picture shows an example of the Alarms Handler Explorer:
Alarms Handler Explorer
From the Alarms Handler Explorer toolbar you can view, create, edit and delete alarm handlers. This picture shows an example of the Alarms Handler Explorer toolbar:
Alarms Handler Explorer toolbar
OPTIMA User Reference Guide Version 6.1
Page 33
About the Data Explorer In the Data Explorer you can view database tables and create modules and reports without being familiar with SQL. The Data Explorer can be launched from the main OPTIMA toolbar or from the Module Maker. For more information about the Module Maker, see Creating OPTIMA Modules on page 117. To open the Data Explorer: From the Tools menu, click Data Explorer. - or Click the Data Explorer button
.
About the Filter Explorer In the Filter Explorer, you can create, edit and delete personal, group, administrator and ENTERPRISE filters. To open the Filter Explorer, either: From the Tools menu, click Filters. - or Click the Filters button
.
The Filter Explorer opens , this picture shows an example:
Filter Explorer
For more information about the Filter Explorer, see Using the Filter Explorer on page 165. Page 34
OPTIMA User Reference Guide Version 6.1
Switching Between Open Windows When you are using OPTIMA, you may have many windows open at the same time. To make it easier to find the window you want, you can use the Window List. The Window List will show the names of the following explorer windows, if they are open: Combination Explorer Module Explorer Schedule Explorer Filter Explorer Data Explorer You will also see listed any open work areas and combination windows. To switch to an open explorer, work area or combination: 1
From the Tools menu, click Show Window List.
2
In the Window List, select the window you want to use and click Switch.
OPTIMA User Reference Guide Version 6.1
Page 35
Defining User Preferences There are a number of user preferences that you can define using the User Preferences dialog box, including setting your confirmation requests and grid preferences. These options, once defined, are stored in the OPTIMA database and will be available each time you use OPTIMA or OPTIMA Lite. User preferences are stored per username. When you exit OPTIMA, your user preferences are saved to the OPTIMA database. If another user with the same username as you then logs in, they will have your user preferences. To open the User Preferences dialog box: From the Tools menu, click User Preferences.
Setting Confirmation Requests You can choose to have certain actions, for example opening a read-only copy of a module combination that is already open, confirmed before the action is carried out. To set confirmation requests: 1
From the Tools menu, click User Preferences.
2
On the Confirmations, select the required actions.
3
Click OK.
Setting Grid Preferences When a grid contains a large number of records, the background processing may slow down the speed with which data is shown in the grid. You can prevent this by disabling the tools after a given number of records are returned from a query. You can also set a limit on the number of values available to select from when you are filtering a column in a grid. To set preferences for the grid: 1
From the Tools menu, click User Preferences.
2
On the Grid Settings tab, type the number of:
3
Page 36
Records after which tools will be disabled.
Values available when filtering columns.
Columns to load in the Data Explorer. You can override this option when you are using the Data Explorer.
Click OK.
OPTIMA User Reference Guide Version 6.1
Setting Expression Editor Preferences When you define a query in the Expression Editor, you can choose to insert the function name or the function name and its parameters. To set this: 1
From the Tools menu, click User Preferences.
2
On the Expression Editor tab, select how you want the function to appear.
3
Click OK.
Setting Security If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can assign a particular group to be the default owner of all new objects, such as reports and modules, that you create. If you do not do this, objects that you create will not be assigned to a default group and will be available to all users To set the default group for new objects: 1
From the Tools menu, click User Preferences.
2
On the Security tab, select the Default Group for New Objects checkbox.
3
Select a group from the drop-down list.
4
Click OK.
You can also assign owning groups at the individual object level, for example, for a specific report.
Setting Default Grid Options You can set grid options to use as your default settings for all of the grids in OPTIMA. For more information about grids, see Customising Grids in OPTIMA on page 175. To set default grid options: 1
From the Tools menu, click User Preferences.
2
On the User Defaults tab, on the Grid Options sub-tab, complete the following information: In this field:
Do this:
Highlight Row
Select this checkbox if you want the Row Highlight option to be set by default. For more information, see Viewing Details of a Single Network Element in a Grid on page 187.
Autofit All Columns
Select this checkbox if you want to autofit the columns of grids by default.
Show Toolbar
Select this checkbox if you want the grid toolbar to be available by default. For more information, see About the Tools for Customising a Grid on page 176.
Change Default Grid Font Click this button to open the Font dialog box. In the Font dialog box, select how you want the text to appear and then click OK to save your changes.
OPTIMA User Reference Guide Version 6.1
Page 37
This picture shows an example:
3
When you have finished, click OK to save your default settings and exit the User Preferences dialog box.
Setting Default Graph Options You can set graph options to use as your default settings for all graphs in OPTIMA. For more information about graphs, see Using Graphs on page 191. To set default graph options:
Page 38
1
From the Tools menu, click User Preferences.
2
On the User Defaults tab, click the Graph Options sub-tab. This picture shows an example:
OPTIMA User Reference Guide Version 6.1
3
On the General sub-tab, set the following options: Use this option:
To:
3D View
View graphs in 3D.
Show Gaps
Show gaps in graph data.
Show Points
Show data value points.
Show Toolbar
Show the graph toolbar.
Auto Marks
Set the auto marks.
Show Weekends
Show weekend data points.
Show Holidays
Show holiday data points
Weekend Colour
Change the weekend colour. To do this, click the Change button and then, in the Colour dialog box that appears, click on the colour you want to use and click OK.
Holiday Colour
Change the holiday colour. To do this, click the Change button and then, in the Colour dialog box that appears, click on the colour you want to use and click OK.
Background Colour
Change the background colour. To do this, click the Change button and then, in the Colour dialog box that appears, click on the colour you want to use and click OK.
For more information about these options, see About the Tools for Customising a Graph on page 192 and Changing the Appearance of Graphs on page 193. 4
5
On the Legend sub-tab:
Select the Show Legend checkbox if you want a legend key to be displayed with all graphs.
Set the alignment of the legend key, in the Legend Alignment pane, by clicking the required option such as Left, Right, Top or Bottom.
When you have finished, click OK to save your default settings and exit the User Preferences dialog box.
Setting Trace File Options dipti.swaroop godisgr8The OPTIMA trace file maintains a record of the SQL that is executed while you are logged in to OPTIMA. The following shows an example trace file entry: Timestamp: 27/01/2006 09:39:41 Select USER_NAME from SECURITY_USER where USER_NAME = :USER_NAME :USER_NAME = OPTIMA_ADMINISTRATOR Each time you logout and login again to OPTIMA, the existing trace file is overwritten. The trace file can become very large if you are logged in to OPTIMA for a long period of time.
OPTIMA User Reference Guide Version 6.1
Page 39
To set trace file options: 1
From the Tools menu, click User Preferences.
2
On the Directory tab, complete the following information:
3
In this field
Do this
Trace File Directory
Browse to the folder in which you want the trace file to be stored.
Create Trace File
Select this checkbox if you want OPTIMA to create a trace file.
Click OK.
Setting Administrator Options You can set the following administrator options: General Options OPTIMA Email Client Settings These options are available only for the administrator. The administrator can save these settings globally so that they are not specific to a particular user.
Setting General Administrator Options The general options enable you to set your preferences for: Showing the cancel dialog boxes Setting the maximum tree size for a module hierarchy Prompting the users to save combination templates when closing a combination To set general administrator options: 1
From the Tools menu, click User Preferences.
2
On the Administrator tab, click the General Options sub tab. This picture shows an example of the General Options sub tab:
Page 40
OPTIMA User Reference Guide Version 6.1
3
Select the Cancel Query Enable checkbox to show the Cancel dialog boxes while executing a query. This picture shows an example of the Cancel dialog box that appears when you execute queries throughout OPTIMA:
The selection of this option is always recommended. 4
The Maximum Size text box sets the maximum number of nodes a module can display. If this number is exceeded, then the module tree will not load within a combination. This property is added to save memory consumption, setting this to a very high number will allow users to create very large modules and therefore may require a high amount of memory to run. If the number of nodes for a module is greater than the Maximum Size value, then an error message saying that the row count is exceeded is displayed in the Module Combination window as shown here:
Recommended value is 100,000. 5
Select the Combination Templates Enable checkbox to receive the prompt to update the combination templates when closing the combination.
OPTIMA User Reference Guide Version 6.1
Page 41
Setting Email Client Options This tab allows you to set OPTIMA client settings. When you set this option, the client overrides your system's default mail client to use the OPTIMA email client settings when emailing reports. This picture shows an example:
The OPTIMA Email Client Settings check will not run if the virus check on your system is blocking emails. Ensure that you turn off the virus check before you set the email client options. To set the email client options:
Page 42
1
From the Tools menu, click User Preferences.
2
Select the Use Optima Client checkbox.
3
In the SMTP Server text box, type the name of the SMTP server.
4
In the Port Number text box, type the port number.
5
Optionally, select the Use Authentication checkbox.
In the SMTP User Name text box, type the name of the SMTP user.
In the Password text box, type the password.
In the Report "From" address field text box, type the name of the user from whose email id the email will be sent.
6
Click Test Connection to test the connection.
7
Click OK to save these settings.
OPTIMA User Reference Guide Version 6.1
After you have set these options, the following email client is displayed when you export a report to email:
Tips: You can click To or CC to open the OPTIMA Address Book to retrieve the email addresses. Once you have set your email address, click Test Connection to check your connection. When this succeeds, click Send to export the report via email.
OPTIMA User Reference Guide Version 6.1
Page 43
Using the Find Dialog Box You can use the Find dialog box to search for items, such as modules or reports, in the following explorers: Module Explorer Combination Explorer Report Explorer Schedule Explorer Alarms Explorer To search for an item in an explorer: 1
From the View menu, click Find. - or Right-click a folder in the tree, and from the menu that appears, click Find. The Find dialog box appears.
2
Type the name (or part of the name) of the item you wish to find in the Name field. If you want to search for whole words or a full name only, select the Find Whole Words Only or Find Full Name Only checkbox as appropriate. If you are searching for a name, you cannot use the Find Whole Words Only option.
3
If you have chosen the Find option from the context menu, OPTIMA will search the currently selected folder. However, you can modify this search if required:
To include the subfolders of the currently selected folder, select the Include Subfolders checkbox - or -
To search all folders, ensure that the Search Folder checkbox is not selected
If you have chosen the Find option from the View menu, OPTIMA will automatically search all folders. 4
Click Search. All items that match the search criteria are displayed in the lower pane. If you type * in the Find dialog box, then all the items are displayed in the lower pane.
Page 44
OPTIMA User Reference Guide Version 6.1
This picture shows an example:
You can view an item in the list by double-clicking the item's name, and/or navigate the Explorer to a folder in the list by double-clicking the folder. You can also type *
OPTIMA User Reference Guide Version 6.1
Page 45
Page 46
OPTIMA User Reference Guide Version 6.1
CHAPTER 4
About OPTIMA Administrator Tools This section describes the tools that are available to OPTIMA Administrators. You can only use the OPTIMA Administrator menu if you log in to OPTIMA or OPTIMA Lite, with OPTIMA_Administrator permissions.
In This Section About the Table Editor About the Database Config Settings About OPTIMA Security Using Contacts in OPTIMA About Table and Field Information Settings About Categories About Table Periods Excluding Particular Days from Reports Setting the Element ID Translation Option
OPTIMA User Reference Guide Version 6.1
48 50 52 59 63 71 73 77 78
Page 47
About the Table Editor OPTIMA Administrators can use the Table Editor to edit the data in any table which has been added to the AIRCOM.EDITABLE_TABLES table. You add tables to the AIRCOM.EDITABLE_TABLES table via the OPTIMA database. If the AIRCOM.EDITABLE_TABLES table is empty, a message box is displayed when the Table Editor is opened. To open the Table Editor dialog box: From the Administrator menu, point to Editors and click Table Editor. The Table Editor dialog box appears. This picture shows an example:
You can use the options in the Search / Filter pane of the Table Editor dialog box to search for specific table rows and to filter table data. The permissions (insert, update, and/or delete) that you have for any selected table are displayed in red text at the bottom of the Table Editor dialog box. If you do not have a certain permission, then the relevant button is disabled.
Page 48
OPTIMA User Reference Guide Version 6.1
Adding, Editing and Deleting Rows in Tables Adding a Row To add a row to a table: 1
From the Administrator menu, point to Editors and click Table Editor. The Table Editor dialog box appears.
2
In the Table Editor dialog box, select the table you want to edit from the Table drop-down list. Table data is returned a few rows at a time. You can return all of the rows by scrolling to the end of data but this can take a few seconds for large tables.
3
Click the Insert Record button
.
4
Type the required information on the new row marked with an asterisk.
5
Click Apply to save your changes.
6
Click OK to close the Table Editor dialog box.
Editing a Row To edit a row in a table: 1
In the Table Editor dialog box, select the table you want to edit from the Table drop-down list.
2
Click the Edit Record button
3
Highlight the row and type the required changes.
4
Click Apply to save your changes.
5
Click OK to close the Table Editor dialog box.
.
Deleting a Row To delete a row from a table: 1
In the Table Editor dialog box, select the table you want to edit from the Table drop-down list.
2
Click the Delete Record button
3
Click OK to confirm the deletion.
4
Click Apply to save your changes.
5
Click OK to close the Table Editor dialog box.
OPTIMA User Reference Guide Version 6.1
.
Page 49
About the Database Config Settings The Database Config Settings include the following: Database Links Regional Settings
About Database Links OPTIMA enables you to create a Database Link. A Database Link is the way in which Oracle allows you to connect from one database to another. To create a Database Link: 1
Page 50
From the Administrator menu, point to Database Config and click Database Links. This dialog box appears:
OPTIMA User Reference Guide Version 6.1
2
Click
. The Create Database Link window appears:
3
In the Create Database Link window, specify the following details:
In the Link Name text box, type the name of the link.
In the Database to connect to text box, type the name of the database with which you want to create a link. You can get the name of the database that you want to link to from the tnsnames.ora file on your computer.
4
In the User name and Password for connection text boxes, provide the user name and password that you have set for that database.
Click OK. The new link will appear in the Database Links dialog box.
Once you have created a Database Link, you can use it in the SQL tab in the Data Explorer to get data from another database in the following way: Suppose, you have created a database link OPT_521 as shown in the above picture. Now in the SQL tab of the Data Explorer, type the following SQL statement: Select * from CellStats@OPT_521 where: CELLSTATS is the name of the table in the OPT_DEV_521 database OPT_521 is the name of the database link It is important to write the SQL query in the following syntax: Select * from TableName@DatabaseLinkName Now, when you click , the information will be retrieved from the OPT_DEV_521 database and displayed.
OPTIMA User Reference Guide Version 6.1
Page 51
About Regional Settings The Regional Settings dialog box enables you to change the country settings for OPTIMA. To do so: 1
From the Administrator menu, point to Database Config and click Regional Settings. The Regional Settings dialog box appears:
2
From the drop-down list, select the country where you are currently.
3
Click OK to save your changes.
About OPTIMA Security In OPTIMA, there are two ways to configure security. These are: At user level by assigning roles, for example, you can choose to give a user readonly access by making them an OPTIMA_User At object level using groups, for example, you can choose to allow a group of users access to certain reports in the Schedule Explorer You must: Create groups before you can restrict access to specific objects in OPTIMA Assign users to each group, they will inherit the permissions of the group OPTIMA_Administrators have write-access to all features and objects in OPTIMA.
Page 52
OPTIMA User Reference Guide Version 6.1
Example of Using Groups and Users to Configure Security First, you create these groups: North_Team South_Team
OPTIMA Groups dialog box
Then you create these users: User
Member Of
Role
John
North_Team Everyone
OPTIMA_Advanced_User
Pierre
North_Team Everyone
OPTIMA_User
Emma
South_Team Everyone
OPTIMA_Advanced_User
You can then use these groups to limit access to the folders in the Schedule Explorer, as shown below:
OPTIMA User Reference Guide Version 6.1
Page 53
The results are: John can view and run schedules in the NorthCity_A folder and, as he is an OPTIMA_Advanced_User, he can also create schedules in this folder. John cannot view or create schedules in the SouthCity_A folder. Pierre can view and run schedules in the NorthCity_A folder, but as he is a OPTIMA_User, he cannot create schedules. Pierre cannot view schedules in the SouthCity_A folder. Emma can view and run schedules in the SouthCity_A folder and, as she is an OPTIMA_Advanced_User, she can also create schedules in this folder. Emma cannot view or create schedules in the NorthCity_A folder.
Creating Groups You can create groups and then use these groups to give access to objects in OPTIMA. The group Everyone is automatically created and includes all users. You cannot edit the Everyone group. To create a group: 1
From the Administrator menu, point to Security and click Groups.
2
In the dialog box that appears, click New Group.
3
In the New OPTIMA Group dialog box, type a name and description for the group. You can only use letters, numbers and the symbols $ _ and # in the group name. You cannot use spaces and you must use a letter or number for the first and last characters.
4
If you have already created the users that you want to become members of this group, click Add User. If you have not created any users, see Creating Users on page 57.
5
Select the users you want to add to this group and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to highlight more than one user at a time and use the >> button to add all the users to the Destination List.
6
When you have finished adding users to the Destination List, click OK. The users who are members of this group are listed in the Members pane of the New OPTIMA Group dialog box.
7
Click Close to save the new group.
You can now assign this group to the different OPTIMA objects, enabling the members of this group to use those objects. For more information, see Using Groups to Assign Access on page 56.
Page 54
OPTIMA User Reference Guide Version 6.1
Editing and Deleting Groups To add users to and remove users from a group: 1
From the Administrator menu, point to Security and click Groups. The OPTIMA Groups dialog box appears.
2
Select the group and click the Edit Group button.
3
To add a user:
Click Add Users.
In the Select Users dialog box, select the users you want to add to this group and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one user at a time and use the >> button to add all the users to the Destination List.
When you have finished adding users to the Destination List, click OK.
4
To remove a user: select the user and click the Remove User button.
5
Click Close to save the changes.
To delete a group: 1
From the Administrator menu, point to Security and click Groups. The OPTIMA Groups dialog box displays.
2
Select the group and click the Delete Group button.
3
Click Yes to confirm.
4
If no objects are owned by the group, the group is deleted. However, if there are objects still owned by the group, then the Change OPTIMA Group dialog box appears.
5
To select a new owning group for the objects:
Select a group from the Group list and click the right arrow button. -or -
Double-click a group in the Group list. If you click Cancel, the group will not be deleted.
6
Click OK.
7
Click Close.
OPTIMA User Reference Guide Version 6.1
Page 55
Using Groups to Assign Access You can use groups to restrict access to objects and information held in OPTIMA. Groups can be assigned to objects in the following windows: Module Explorer Combination Explorer Report Explorer Schedule Explorer For example, in the Schedule Explorer, you may have a folder that contains schedules that only one group of users will work with. This may be a regional group, for example, such as the South Team. You can make sure that only the South Team can access those schedules by assigning the South Team group to the folder. You must create groups before you can assign them. For more information, see Creating Groups on page 54. To assign a group to an object: 1
Open the appropriate explorer window from the menu or toolbar.
2
Browse to the folder to which you wish to assign access and right-click the folder name. From the menu that appears, click Properties.
3
In the dialog box that appears, click the Security tab and then click Add. A list of available groups appears.
4
Select the group(s) you want to have access to this folder and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
5
Click OK.
6
Select how you want the group permission to be applied:
7
Page 56
Select
To Assign Access To
Do not cascade permissions
The selected folder level and its objects only. Users of the group will not be able to access any subfolders unless they are a member of a group with access to those folders.
Cascade permission changes to child folders
The selected folder and its subfolders. This option will not overwrite any existing groups that have already been assigned to the folder or subfolders.
Cascade all permission to child folders
The selected folder and its subfolders. This option overwrites existing groups that have already been assigned to the folder or subfolders.
Click OK to apply the group permissions to the folder.
OPTIMA User Reference Guide Version 6.1
Creating Users To create a user: 1
From the Administrator menu, point to Security and click Users.
2
In the dialog box that appears, click New User.
3
On the General tab of the New OPTIMA User dialog box, add the following details: In This Box
Do This
Username
Type a name for the user, this is the name they will use to log into OPTIMA. You can only use letters, numbers and the symbols $ _ and # in the username. You cannot use spaces and you must use a letter or number for the first and last characters.
4
Full Name
Type the full name of the user.
Description
Type a description of the user's account if necessary. This field is not mandatory.
Department
Type the name of the user's department if necessary. This field is not mandatory.
Region
Type the name of the user's region - this could be actual location or the part of the country they work deals with, for example, a cell planner covering the North. This field is not mandatory.
Password, Verify Password
Type the password for the user, this is the password they will use to log into OPTIMA.
User Access
Select a role for the user. For more information about roles, see About OPTIMA User Roles on page 58.
To assign groups to this user, click the Group Membership tab. The user is automatically a member of the group Everyone and this group is listed in the Group(s) pane.
5
On the Group Membership tab, click Add.
6
In the dialog box that appears, select the groups you want this user to be a member of and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
7
When you have finished adding groups to the Destination List, click OK. The group(s) that this user is a member of are listed in the Group(s) pane of the New OPTIMA User dialog box.
OPTIMA User Reference Guide Version 6.1
Page 57
8
If you want to assign contact information to the user:
Click Assign Contact Info.
Select the contact name and click Assign Contact.
In the dialog box that appears, click OK
Click Close to return to the OPTIMA Users dialog box. For more information about contacts, see Using Contacts in OPTIMA on page 59.
9
Click Close to add the new user.
About OPTIMA User Roles There are three default roles for users in OPTIMA. They are created during the installation of OPTIMA and determine the level of system access for a user. You can further define a user's access by assigning groups. For more information about groups, see About OPTIMA Security on page 52. The three default roles are: Default Role
Default Login
User Privileges
OPTIMA_Administrators
OPTIMA_Administrator
The same permissions as the OPTIMA_Advanced_Users and can also use the OPTIMA Administrator tools.
OPTIMA_Advanced_Users
OPTIMA_Advanced_User
The same permissions as the OPTIMA_Users and can also add, edit, and delete modules, reports and schedules.
OPTIMA_Users
OPTIMA_User
Has read-only access to all of the OPTIMA tools except for OPTIMA Administrator. Cannot see the items in the Administrator menu. Can add, edit and delete module combinations.
Editing and Deleting Users To edit user details and permissions: 1
From the Administrator menu, point to Security and click Users. The OPTIMA Users dialog box appears.
2
Select the user and click Edit User. You can change the password or the user group details. If you want to change the user name, you will have to recreate the user.
To delete a user: 1
From the Administrator menu, point to Security and click Users. The OPTIMA Users dialog box appears.
2
Select the user and click Delete User.
3
Click Yes to confirm. The user is deleted.
Page 58
OPTIMA User Reference Guide Version 6.1
Changing Passwords When a user logs into OPTIMA, they can choose to change their password. For more information, see Changing your OPTIMA Password on page 23. If a user forgets their password, and therefore cannot access OPTIMA, you can assign a new password to that user. To do this: 1
From the Administrator menu, point to Security and click Users. The OPTIMA Users dialog box displays.
2
Select the user and click Edit User.
3
Type and then verify the password.
4
Click OK to save the changes.
Using Contacts in OPTIMA In OPTIMA, you can save contact details for individual users and groups of users. These contact details are stored in the Address Book and, once saved, can be: Assigned when you create users. Selected in the Schedule Editor to determine who reports are emailed to. For more information about scheduling reports, see Scheduling When Reports Run on page 273. Selected in an alarm handler to determine who receives alerts when an alarm is raised. For more information about alarms, see Using Performance Alarms on page 279.
OPTIMA User Reference Guide Version 6.1
Page 59
To open the Address Book: From the Administrator menu point to Security and then click Contacts. Contacts that contain a group of users are underlined and shown in green text. This picture shows an example:
Address Book
In the Address Book, you can: Search the list of contacts by selecting a column from the Search Column dropdown list and then typing the text you are looking for into the Search Text field. As you type text into the Search Text field, non-matching contacts are removed. To clear the search text and restore the list of contacts, click the Show All Contacts button. You can use wildcards to represent characters in your search text. There are two wildcards you can use:
Asterisk (*) - to represent zero or more characters. For example, if you type 'BSC*', you will find all the elements that begin BSC.
Question mark (?) – to represent a single character. For example, if you type 'BSC?', you will find all the four-character elements that begin BSC, such as BSC1 or BSC2.
Filter the list of contact by selecting All Groups or All Users from the Contacts Type drop-down list. Sort the list of contacts by clicking on any of the column headings.
Page 60
OPTIMA User Reference Guide Version 6.1
Adding, Editing and Deleting Contacts in the Address Book To add a contact to the Address Book: 1
From the Administrator menu point to Security and then click Contacts.
2
In the Address Book, click the Add User button
3
Type the details for the user in the appropriate boxes.
4
Click OK.
.
To edit a contact: 1
Highlight the user and click the Edit button
.
- or Double-click the user name. 2
Edit the user's details as necessary.
3
Click OK to save the changes.
To delete a contact: 1
Highlight the user and click the Delete button
.
2
In the Confirm dialog box that appears, click Yes to delete the user.
Adding a Contact Group to the Address Book You can add a group of users as a contact group to the Address Book. This allows many individuals to receive the same: Report when a scheduled report is emailed. For more information about scheduling reports, see Scheduling When Reports Run on page 273. Alert when an alarm is set or cleared. For more information about alarms, see Using Performance Alarms on page 279. To add a contact group to the Address Book: 1
Ensure you have created the users that you want to include in the group. You can add further users at a later date.
2
From the Administrator menu point to Security and then click Contacts.
3
In the Address Book, click the Add Group button
4
Type a name for the group.
5
If you want to send alarms to a group email address or phone number, type the email address and phone number.
6
Add a note if necessary.
7
Select the Active checkbox if you want this contact group to be able to receive alerts when an alarm is set or cleared.
8
Click Modify Members.
OPTIMA User Reference Guide Version 6.1
.
Page 61
9
In the dialog box that appears, click Add.
10 Select a user from the Name pane and click Add >. - or Type the name of the user and click Add. To change the properties of a user, click Properties and in the dialog box that appears make the changes required. These users are in addition to any users that are a member of the group email address that you may have typed earlier. You do not have to add those users here. 11 When you have finished adding users, click OK and, in the dialog box that appears, click Yes. The users appear in the Group Members dialog box. To remove a user, highlight their name and click Remove. 12 Click OK to close the Group Members dialog box. 13 In the Group Properties dialog box, click OK and, in the Information dialog box click Yes to save the group. The contact group is shown, in green text, in the Address Book and can now be used with alarms.
Editing and Deleting Contact Groups To edit a contact group: 1
Highlight the contact group and click the Edit button
.
- or Double-click the contact group name. 2
Edit the details as necessary.
3
Click Modify Members to add and remove users.
4
Click OK to save the changes.
To delete a contact group:
Page 62
1
Highlight the group and click the Delete button
.
2
In the Confirm dialog box that appears, click Yes to delete the contact group.
OPTIMA User Reference Guide Version 6.1
About Table and Field Information Settings The OPTIMA Administrator can use table and field information settings to: Allow groups of users access to certain tables Set the granularity period for tables Set the table period for tables Assign tables to specific categories Assign summary tables to tables Add comments to tables and table columns You configure table and field information settings in the Table and Field Info dialog box. Tables can be configured individually or all at the same time using the Settings Wizard. To open the Table and Field Info dialog box: From the Administrator menu, point to Data Dictionary and click Table and Field Info. This picture shows an example of the Table and Field Info dialog box.
Table and Field Info dialog box.
OPTIMA User Reference Guide Version 6.1
Page 63
Setting All Table and Field Information Settings Using the Settings Wizard The Settings Wizard enables you to change permission, category and granularity period settings for one or more tables at the same time, rather than changing them individually. To set table and field information settings: 1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select a table, category or schema:
This selection determines which tables will be available to configure in the Settings Wizard. For example, if you select a category or schema, then all of the underlying tables will be available. 3
From the Edit menu, click Change Settings. - or Right-click the schema, category or table you selected and then, from the menu that appears, click Change Settings.
4
On the first page of the Settings Wizard, select the tables you want to use and then click Next. If you want to select more than one table, hold down the Shift key and click the tables you want to select. You cannot apply permissions to tables marked in red as these are internal tables. If your selection includes internal tables, you must unselect them otherwise you will not be able to apply permissions. You can still apply category and granularity period settings to internal tables.
Page 64
OPTIMA User Reference Guide Version 6.1
5
On the Table Permission page, select:
The group you want to apply permissions to
Whether the permissions are to be reset, updated or removed
For more information about table permissions, see Setting Table Security on page 65. 6
Click Next.
7
On the Table Info Settings page, select:
The granularity period to be applied to all selected tables. For more information about granularity periods, see Setting the Granularity Period for a Single Table on page 66.
The category to be applied to all selected tables. For more information about categories, see Assigning a Category to a Table on page 66.
8
Click Next.
9
Click Finish to apply your settings and close the Settings Wizard.
Setting Table Security In OPTIMA, you can configure security at the table level by using groups. For example, you can choose to allow a group of users access to certain tables. You must create groups before you can assign them. For more information, see Creating Groups on page 54. To set security for a table: 1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select the table and click the Modify Groups button. A list of available groups appears. You cannot apply permissions to internal tables. If your select an internal table, the Modify Groups button will be disabled.
3
Select the group(s) you want to have access to this table and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
4
Click OK.
5
Click Apply to apply the group permissions to the table.
6
Click Yes to confirm.
OPTIMA User Reference Guide Version 6.1
Page 65
Setting the Granularity Period for a Single Table The granularity period is used by the Map View window to determine which is the nearest time stamp and therefore what data is returned. This means that you do not have to select the exact time stamp. For example, if you set the granularity period to 15 minutes, data for 13.00 will be displayed if you select 13.15. You can set the granularity period for a single table or use the Settings Wizard to set the granularity period for all the tables in a category or schema. This is usually done once during the initial set-up of OPTIMA. To set the granularity period for a single table: 1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select the table you want to set the granularity period for.
3
Click the Table Info tab.
4
Click the Apply Table Granularity checkbox and in the Period column, use the up and down arrows to select the number of periods.
5
Select a period type from the drop-down menu.
6
If you want to assign a table period, select the table period you require from the drop-down list. If you want to create a new table period, you can open the Table Properties dialog box by clicking the button Editing Table Periods on page 74.
7
Click Apply.
8
Click Yes to confirm.
. For more information, see Creating and
Assigning a Category to a Table All database tables must be assigned a category to appear in the Data Explorer list of tables. When you create a new database table, a category is automatically assigned when you repopulate the Table and Field Info dialog box. For more information about repopulating tables, see Repopulating Data on page 70. However, you can also manually assign a category to a table. To do this:
Page 66
1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select the table you want to set the category for.
3
Click the Table Info tab.
4
Click the Apply Table Category checkbox and select a category from the dropdown list.
OPTIMA User Reference Guide Version 6.1
If you want to create a new category, you can open the Table Properties dialog box by clicking the button Categories on page 71. 5
Click Apply.
6
Click Yes to confirm.
. For more information, see Creating and Editing
For more information on categories, see About Categories on page 71.
Defining an Association for a Table You can define associations for a single table. Associated tables are used for: Synchronising table KPIs. For more information, see Synchronising Tables. Time aggregation. For more information, see Enabling Time Aggregation for a Query on page 94. To define an association for a table: 1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select the table you want to assign an associated table to.
3
Click the Table Info tab. This picture shows an example of the Table Info tab:
OPTIMA User Reference Guide Version 6.1
Page 67
4
In the Associated Tables pane, click the Modify List button.
5
In the Table Selection dialog box that appears, select a schema from the Schema drop-down list.
6
Select the associated table(s) you want to assign to the table and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to highlight more than one associated table at a time or use the >> button to add all the associated tables to the Destination List. To add associated tables from more than one schema, repeat steps 5 and 6.
7
Click OK.
8
If you want to assign a table period for an associated table, click in the table's row and select the table period you require from the drop-down list. This picture shows an example:
9
Click Apply to save your changes.
10 Click Yes to confirm.
Adding a Comment to a Table To add a comment to a table:
Page 68
1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select the table you want to add a comment to.
3
Click the Table Info tab.
4
Click the Apply Table Comment checkbox and type a comment.
5
Click Apply.
6
Click Yes to confirm.
OPTIMA User Reference Guide Version 6.1
Applying Changes to Element and Date Columns To set the element and date columns at the table level: 1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select the table you want to add a comment to.
3
Click the Table Info tab.
4
Click the Apply Changes to Element and Date Columns checkbox.
5
From the Element Column drop-down list, select the element level for the selected table. This will be used as the element level for that table throughout OPTIMA.
6
From the Date Column drop-down list, select the date level for the selected table. This will be used as the date level for that table throughout OPTIMA.
7
Click Apply.
8
Click Yes to confirm.
Setting Table Level To set the table level: 1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select the table you want to add a comment to.
3
Click the Table Info tab.
4
Select the Apply Table Level checkbox.
5
From the Table Level drop-down list, select the level of the selected table.
6
Click Apply.
7
Click Yes to confirm.
OPTIMA User Reference Guide Version 6.1
Page 69
Adding a Comment to a Column To add a comment to a column in a table: 1
From the Administrator menu, point to Data Dictionary and click Table and Field Info.
2
In the tree view of the Table and Field Info dialog box, select the table which contains the column you want to add a comment to.
3
Click the Column tab.
4
Find the relevant column in the list and click its Comments cell.
5
Type the comment you want to add and click Apply.
6
Click Yes to confirm.
Finding a Counter in the Table and Field Info Dialog Box You can search OPTIMA's database tables for counters in the Table and Field Info dialog box in the same way you can in the Data Explorer. For information about how to do this see, Finding a Counter on page 81.
Repopulating Data If tables or columns have been created or removed in the OPTIMA database, you will need to repopulate the data to view these changes in the Table and Field Info dialog box and the Data Explorer. To do this: 1
From the Administrator menu, point to Data Dictionary and click Table and Field Info. The Table and Field Info dialog box appears.
2
From the View menu, click Regenerate Table Info.
3
From the dialog box that appears, choose to regenerate all table information or only the table information that has changed in the OPTIMA database by selecting the appropriate radio button. If you choose to regenerate all table information, then the category and granularity period settings for all tables will be reset to the default values.
4
Click the Regenerate button.
5
Click Yes to confirm.
When you repopulate the Table and Field Info dialog box with new tables, category names are automatically assigned according to the naming convention for the table. The following table describes the naming conventions:
Page 70
Category
Convention
KPI
Tables beginning with V.
Summary
Tables beginning with XX.
Configuration
Hard-coded configuration tables.
OPTIMA User Reference Guide Version 6.1
Category
Convention
Counters
All other tables.
For more information about categories, see About Categories on page 71.
About Categories All the tables in OPTIMA's database are assigned a category. Categories are used to group tables in the Data Explorer. If a table does not have a category assigned to it, then it will not appear in the Data Explorer list of tables. The categories can be manually assigned or automatically assigned when you repopulate the Table and Field Info dialog box. For more information about repopulating tables, see Repopulating Data on page 70. OPTIMA has four default categories, which cannot be edited or deleted: Configuration Counters KPI Summary However, if you are an OPTIMA_Administrator, you can create user-defined categories and then associate them with database tables.
Creating and Editing Categories Creating a Category To create a category: 1
From the Administrator menu, point to Data Dictionary and then click Table Properties. The Table Properties dialog box appears.
2
On the Table Categories tab, click Add.
3
In the Add Category dialog box, type a name and description for the category.
4
Click OK.
5
In the Table Properties dialog box, click Close.
OPTIMA User Reference Guide Version 6.1
Page 71
Editing a Category To edit a user-defined category: 1
In the Table Properties dialog box, on the Table Categories tab, highlight the category you want to edit. You cannot edit OPTIMA's default categories.
2
Click Edit, and edit the name and description as required.
3
Click OK.
4
In the Table Properties dialog box, click Close.
Deleting a Category When you delete a category, you must reassign other categories to all the tables that were in the category you have deleted. If you do not assign other categories, the tables will not appear in the Data Explorer. To delete a user-defined category: 1
In the Table Properties dialog box, on the Table Categories tab, highlight the category you want to delete. You cannot delete OPTIMA's default categories.
Page 72
2
Click Remove.
3
Click OK to confirm the deletion.
4
In the Table Properties dialog box, click Close.
OPTIMA User Reference Guide Version 6.1
About Table Periods All the tables in OPTIMA's database must be assigned a table period. For information about assigning time periods, see Setting the Granularity Period for a Single Table on page 66. Table periods are used when running data queries with time aggregation. If a table does not have a period assigned to it, then it cannot be used for time aggregation. For more information about time aggregation, see Enabling Time Aggregation for a Query on page 94. OPTIMA comes pre-configured with several default table periods, for example, Hourly and Daily, and also a Not Applicable period for tables such as configuration tables that do not contain time-related data. OPTIMA Administrators can use the Table Properties dialog box to add, edit and remove table periods. For more information, see Creating and Editing Table Periods on page 74. OPTIMA Administrators can use the Table Properties dialog box to add, edit and remove entities. For more information, see Creating and Editing Entities. To open the Table Properties dialog box: 1
From the Administrator menu, point to Data Dictionary and click Table Properties. The Table Properties dialog box appears.
2
Click the Table Periods tab. This picture shows an example:
OPTIMA User Reference Guide Version 6.1
Page 73
Creating and Editing Table Periods If you are an OPTIMA_Administrator, you can create user-defined table periods and then assign those periods to database tables. For more information, see Setting the Granularity Period for a Single Table on page 66. Creating a Table Period To create a table period: 1
From the Administrator menu, point to Data Dictionary and then click Table Properties. The Table Properties dialog box appears.
2
On the Table Periods tab, click Add.
3
In the Add Table Period dialog box, type a name and description for the table period.
4
Click OK.
5
In the Table Properties dialog box, click Close.
Editing a Table Period To edit a user-defined table period: 1
In the Table Properties dialog box, on the Table Periods tab, highlight the table period you want to edit.
2
Click Edit, and edit the name and description as required.
3
Click OK.
4
In the Table Properties dialog box, click Close.
Deleting a Table Period To delete a user-defined table period:
Page 74
1
In the Table Properties dialog box, on the Table Periods tab, highlight the table period you want to delete.
2
Click Remove.
3
Click OK to confirm the deletion.
4
In the Table Properties dialog box, click Close.
OPTIMA User Reference Guide Version 6.1
Creating and Editing Entities The Entity Map tab of the Table Properties dialog box lists all the element types and their properties. The following table describes the entity properties: Property
Description
Entity Name
Name of the entity
Display Name
Display Name of the entity
Comment
Information about the entity
Physical
Indicates whether it is a physical or logical entity. 1: Logical 0: Physical
Priority
Priority of the entity in the network
Custom_K
Indicates if it is an AIRCOM created entity which cannot be edited or deleted 1: AIRCOM 0: User
To create an entity: 1
From the Administrator menu, point to Data Dictionary and then click Table Properties. The Table Properties dialog box appears.
2
Click the Entity Map tab.
3
Click Add. The Edit Entity dialog box appears.
4
In the Entity Name text box, type the name of the entity.
5
In the Display Name text box, type the display name for the entity.
6
Select the Entity Type as logical or physical.
7
In the Comment text box, type a comment for the entity. When you add details of this new entity, it will appear in the Current Network Priority pane.
8
In the Current Network Priority pane, drag and drop the new entity at the level at which you want it to be used in the network.
9
Click Save. This new entity is now visible in the list of entities and it located at the same level at which you placed it in the Current Network Priority pane.
OPTIMA User Reference Guide Version 6.1
Page 75
To edit an entity: 1
From the Administrator menu, point to Data Dictionary and then click Table Properties. The Table Properties dialog box appears.
2
Click the Entity Map tab.
3
Select the entity that you want to edit and click Edit.
4
In the dialog box that appears, make changes to the entity.
5
Click Save.
You cannot edit or delete the entities which are shown in Red. The entities which are shown in Red are the ones created by AIRCOM. To delete an entity: 1
From the Administrator menu, point to Data Dictionary and then click Table Properties. The Table Properties dialog box appears.
Page 76
2
Click the Entity Map tab.
3
Select the entity that you want to delete and click Remove.
4
Click Yes to complete the deletion. The entity is deleted.
OPTIMA User Reference Guide Version 6.1
Excluding Particular Days from Reports OPTIMA enables you to exclude particular days, for example holidays, from reports. These days are specified in the Holiday Entry dialog box.
Holiday Entry dialog box
To add a day that you want to exclude from reports: 1
From the Administrator menu, point to Editors and click Holiday Entry.
2
In the dialog box that appears, select the date you wish to make a holiday.
3
Select the Holiday checkbox.
4
Type a description in the Holiday Description window then click Apply.
5
Click Yes if you want this holiday date to reoccur every year.
6
Click OK to close the dialog box.
Editing and Deleting Holidays To edit a holiday: 1
From the Administrator menu, point to Editors and click Holiday Entry.
2
In the Holiday Entry dialog box, select the date.
3
Amend the information.
4
Click Apply.
5
Click OK to close the Holiday Entry dialog box and save the changes.
OPTIMA User Reference Guide Version 6.1
Page 77
To delete a holiday: 1
In the Holiday Entry dialog box, select the date.
2
Deselect the Holiday box.
3
Click Apply and then click Yes to confirm.
4
Click OK to close the Holiday Entry dialog box and save the changes.
Setting the Element ID Translation Option Before you can use OPTIMA with ENTERPRISE, you must set the Element ID Translation option. To do this: 1
From the Administrator menu, click Element ID Translation.
2
In the dialog box that appears, select one of the options described in the following table: Select this radio button
If the
No translation required (OPTIMA and ASSET use the same cell ids)
OPTIMA and ASSET cells IDs are the same.
Cell ids translated using the ID Translation Administrator
OPTIMA and ASSET cells IDs are not the same and require mapping. For information about how to do this, see Mapping Element IDs on page 78.
3
Click OK.
Mapping Element IDs When using OPTIMA with ENTERPRISE, you need to ensure that the ASSET and OPTIMA element IDs match. If the element IDs do not match, you can map them using the ID Translation Administrator. For more information, see the ID Translation Administrator User Reference Guide.
Page 78
OPTIMA User Reference Guide Version 6.1
CHAPTER 5
Setting Up and Querying Data in OPTIMA OPTIMA uses counters to continually record the performance of each operational network element. The data from these counters is stored in an Oracle database that can be queried using the Data Explorer. From the Data Explorer you can: Search for a counter View query results in grid format OPTIMA_Administrators and OPTIMA_Advanced_Users can set up access to data by defining modules, which are then used in module combinations, to display specific data in grid and graph format. Modules are used in the same way that you would use a template to customise the data you want to display.
In This Section Using the Data Explorer About OPTIMA Modules Using the Element Hierarchies Explorer
OPTIMA User Reference Guide Version 6.1
80 114 131
Page 79
Using the Data Explorer You can use the Data Explorer to find counters, view data from OPTIMA database tables and to define modules to be used in combination windows. To open the Data Explorer: From the Tools menu, click Data Explorer. - or Click the Data Explorer button
on the main OPTIMA toolbar.
The Data Explorer appears. This picture shows an example:
If you are an OPTIMA_Administrator or an OPTIMA_Advanced_User and you are creating a module, the Data Explorer can be accessed by clicking Edit Query in the Module Maker. For more information, see Creating OPTIMA Modules on page 117.
Page 80
OPTIMA User Reference Guide Version 6.1
The Data Explorer is made up of a number of panes. The following table describes these panes. From The
You Can
Schema List pane
Browse the list of schemas and the database tables associated with them. The tables are grouped into categories, for example Configuration, Counters, KPI and Summary. Categories can only be created by OPTIMA_Administrators. For more information, see About Categories on page 71.
Columns / Data / KPI tabs
View the column headings, data or KPIs contained within a chosen table. Hide or show this pane by clicking the View menu and then clicking Show Data.
Build a query using SQL or by dragging and dropping tables to create the query if you are not familiar with SQL. Hide or show this pane by clicking the View menu and then clicking Show SQL.
From the Data Explorer Misc menu, OPTIMA_Administrators can access table categories. For more information about using this feature, see About Categories on page 71.
Finding a Counter You can search OPTIMA's database tables for any counter that appears as a column heading in the database tables. For example, you can search for Cell but not the cell name 10A. To find a counter in the Data Explorer: 1
Click the Find Counter button
.
- orFrom the Edit menu, click Find Counter. 2
In the dialog box that appears, type the name of the counter you wish to find. If you want to search for whole words only, select the Find Whole Words Only checkbox. You can use wildcards to represent characters in counter names. There are two wildcards you can use:
3
Asterisk (*) - to represent zero or more characters. For example, if you type 'BSC*', you will filter all the elements that begin BSC.
Question mark (?) – to represent a single character. For example, if you type 'BSC?', you will filter all the four-character elements that begin BSC, such as BSC1 or BSC2.
Click the Find First button
.
The first occurrence of the counter is highlighted on the Column tab. 4
Click the Find Next button highlighted.
5
Click Cancel to close the dialog box and return to the Data Explorer.
OPTIMA User Reference Guide Version 6.1
and the next occurrence of the counter is
Page 81
Defining a Query You can define a query which returns data from OPTIMA's database tables. You can use this query to view data in the Data Explorer or you can create a query as part of a module or report. Only OPTIMA_Administrators or OPTIMA_Advanced_Users can create modules. Follow these steps to define a query: 1
Create the query using either the Builder tab or the SQL tab. If you are not familiar with SQL, you can use the Builder tab to create the query. However, the Builder tab is disabled if:
Your database is not using Oracle 9i or above
- or
You have manually edited the SQL on the SQL tab
2
Add unions to the query.
3
Add filters to the query.
4
Define parameters for the query.
5
Enable time aggregation for the query.
6
Preview the results of the query.
7
Save the query to file or as a custom view.
Using the Builder Tab to Define a Query To define a query using the Builder tab: 1
In the Data Explorer, click the Builder tab.
2
Add tables to the Builder tab by:
Double-clicking the table names in the Schema List - or -
Selecting a table name and then, while holding down the left mouse button, dragging it onto Builder tab.
To remove a table from the Builder tab, select the table and click the in the top-right of the table box.
Page 82
button
OPTIMA User Reference Guide Version 6.1
3
Select which columns you want to include in the query by clicking the boxes next to the column headings.
Select and clear all the columns in a table by clicking the table heading. 4
button next to the
Add links between the tables by selecting a column heading in one table and then, while holding down the left mouse button, dragging the heading to a column heading in another table. If the two columns cannot be linked, the following icon appears
.
To remove a link, select the link, right-click and from the menu that appears, click Delete Link. 5
Set the link type by double-clicking the link and selecting a type. By default, all links are inner links. This means that only rows with matching values in the linked columns will be displayed when the query is run.
6
When you have selected the tables and columns for your query, you need to define the query using the tabs below the Builder tab. The following table describes these tabs: Use This Tab
To
Criteria
Create the Where clause by adding conditions, each of which may contain one or more criteria. The default compose condition is All. To change this, click on the word highlighted in blue and, from the menu that appears, select the appropriate compose condition. Click the circle, and from the menu that appears, click Add Condition. In the line that appears, click to select the first part of the criteria and type a value or press Shift + Enter. From the menu that appears, double-click to select the table or column. The default rule is =. To change this, click on the rule and, from the menu that appears, select the appropriate rule. Select the second part of the criteria and type a value or press Shift + Enter. From the menu that appears, double-click to select the table or column. To delete a condition, click on the circled number for that condition and from the menu that appears, click Delete Condition. To create a compose condition, add a condition and click on its circled number. From the menu that appears, click Make Compose Condition.
Selection
View the selected table columns. Here you can choose to return an aggregate value for a column instead of a single row value. To do this: Double-click in the Aggregate column for the appropriate table column and, from the menu that appears, select the aggregate function.
OPTIMA User Reference Guide Version 6.1
Page 83
Use This Tab
To
Grouping Criteria
Create the Having clause. You can only do this if you have included an aggregate function in the query. The Having clause is created in the same way as the Where clause, which is described above for the Criteria tab.
Sorting
Define the order for the returned data. The left pane contains all the columns included in the query. Use the arrows to move the columns to the right pane to include them in the returned data. You can move all the columns by clicking the
button.
Use the Up and Down buttons to set the order of the columns in the right pane. You can change the sort order for each column alphabetically by selecting the column heading it in the right pane and then clicking the A-Z or Z-A button.
7
When you have finished, you can add filters and/or parameters to the query. For more information, see Adding Filters to a Query on page 86 and Defining Parameters for a Query on page 87.
You can preview the results of the query at any time. For more information, see Previewing the Results of a Query on page 95.
Using the SQL Tab to Define a Query You can use the SQL tab to define a new query or a query that has been created on the Builder tab. If you do this, the Builder tab will be disabled and any further changes to the query must be made on the SQL tab. To define a query using the SQL tab: 1
In the Data Explorer, click the SQL tab.
2
Type the SQL for your query. You can automatically add text to the SQL tab by double-clicking, or dragging and dropping, items in the Oracle Commands pane, the Schema List and the Columns tab.
3
You can automatically add a KPI to the SQL query by clicking the KPI tab. To do so:
Click the KPI tab.
Search for the required KPI in the Search option and drag the KPI in the SQL statement. -or-
Drag and drop the required KPI from the tree structure. The KPI is added in the form of a KPI parameter. For example, a KPI with the name Total_Calls is shown as %KPI(Total_Calls). You can slide your mouse over the KPI to see a tool tip showing the KPI formula. Using the KPI within a SQL statement will update the KPI_Param table. Hence, you can update the KPI dynamically as the changes will be reflected.
Page 84
OPTIMA User Reference Guide Version 6.1
You can right-click on a KPI category and sort the KPIs into different categories as shown in this picture:
4
To add a complex expression, click the Insert Expression button
.
5
The Expression Editor appears. Create an expression by double-clicking column headings and selecting items from the drop-down menus. Click OK to add the expression to the SQL tab.
6
When you have finished, if you have not already added filters and/or parameters to the query, you can add them using the corresponding tabs. For more information, see Adding Filters to a Query on page 86 and Specifying Default Parameter Values on page 89.
You can preview the results of the query at any time. For more information, see Previewing the Results of a Query on page 95.
Adding Unions to Queries You can use unions to combine the results of two or more queries. There are two types of union: Union and Union All. Use Union if you want to select only distinct values when the queries are run and Union All if you want to select all values. To add a union to a query: 1
In the Data Explorer, ensure that you have defined a query.
2
Click the Builder tab.
3
Right-click in the Query List and, from the menu that appears, click Add Union.
OPTIMA User Reference Guide Version 6.1
Page 85
A new query with a Union All is added to the Builder tab. This picture shows an example:
4
If you want to use Union rather than Union All, right-click the query in the Query List and then, from the menu that appears, click Union All.
5
Create the second query. For information about how to do this, see Using the Builder Tab to Define a Query on page 82. All corresponding columns need to be of the same data type.
6
When you have finished, if you have not already added filters and/or parameters to the query, you can add them using the corresponding tabs. For more information, see Adding Filters to a Query on page 86 and Defining Parameters for a Query on page 87.
You can preview the results of the union at any time. For more information, see Previewing the Results of a Query on page 95.
Adding Filters to a Query You can add a date filter and an element filter to a query to further define the query. When the query is run, you will be asked to choose a date range or select a filter. The Filters tab is disabled if you use the Data Explorer to create a report query. For more information, see Defining Queries on page 234. If the query is created as part of a module, the element filter option will be replaced by elements selected from the module element tree in the Module Maker. To add a filter to a query: 1
In the Data Explorer, ensure that you have defined your query.
2
Click the Filters tab.
3
Select the Date Filter checkbox if you want to add a date filter. A list of available date fields appear in the Date Fields box.
Page 86
4
Select the date field you wish to use and click the
button to select it.
5
Select the Element Filter checkbox if you want to add an element filter. OPTIMA User Reference Guide Version 6.1
A list of available filters appear in the Data Fields box. Select the Show All Fields checkbox if you want to see all of the data fields. 6
Select the filter you wish to use and click the
7
You can now preview the results of the query.
button to select it.
Defining Parameters for a Query You can define parameters, using items such as formulae or counters, to filter data when a query is run. For example, you could define a parameter to filter all dropped calls greater than 10%. You can use parameters in: Modules Reports Report Schedules To quickly define a parameter (or parameters) based on the available field (or fields) in the current query: 1
In the Data Explorer, ensure that you have defined your query.
2
Click the Parameters tab.
3
Click the Add All Fields
button .
All of the available fields in the current query are added as parameters, and appear in the parameters list:
If a parameter has already been created for a particular field, you will be given the option to create a new one with a different name or just keep the existing one.
OPTIMA User Reference Guide Version 6.1
Page 87
To define a parameter manually: 1
In the Data Explorer, ensure that you have defined your query.
2
Click the Parameters tab.
3
Click the New Parameter button This picture shows an example:
4
In the Parameter Editor dialog box, complete the following information:
. The Parameter Editor dialog box appears.
In this field:
Do this:
Name
Type a name for the parameter. - or Leave blank if you want this field to be automatically updated with a counter name when you create the parameter.
Data Type
Select a data type from the drop-down list. - or Leave blank if you want this field to be automatically updated with a counter data type when you create the parameter.
Prefix Table / Alias Name
Select this checkbox if you want to prefix columns with the table or alias name.
5
Create a parameter by double-clicking column headings and selecting items from the drop-down menus.
6
When you have finished, click OK to save the parameter and return to the Data Explorer.
Now when you run the query, you will be asked to specify parameter values based on the criteria you have set. For more information, see Previewing the Results of a Query on page 95. If you do not want to specify parameter values each time you run the query, you can set default parameter values. For detailed information about how to do this, see Specifying Default Parameter Values on page 89.
Page 88
OPTIMA User Reference Guide Version 6.1
Specifying Default Parameter Values If you have created a parameter for a query, you can set a default value for that parameter. The default value will be pre-selected when the parameter is run. To specify a default parameter value: 1
In the Data Explorer, ensure that you have defined a parameter for your query.
2
Click the Parameters tab.
3
On the Parameters tab, complete the following information: In this field
Do this
Operator
Select an operator from the drop-down list. For example, if you want to create a filter that only returns data for an exact value, then select the = operator.
Values
Type the default value(s) for the parameter. Multiple values must be separated by commas. - or Click the Values button and, in the dialog box that appears, set the default values you require and click OK. This button is only available when using certain data types (DATE and NUMBER) and/or operators (Between, Not Between, In List and Not In List).
Show All
Select this checkbox if you want the parameter to display all of the values of the field.
This picture shows an example:
4
You can now preview the query with the default parameter value(s) pre-selected. For more information, see Previewing the Results of a Query on page 95.
OPTIMA User Reference Guide Version 6.1
Page 89
Editing and Deleting Parameters To edit a parameter: 1
In the Data Explorer, click the Parameters tab.
2
Select the parameter you want to edit and click the Edit Parameter button
.
- or Double-click the parameter name. 3
In the Parameter Editor dialog box that appears, make the required changes.
4
When you have finished, click OK to save your changes and return to the Data Explorer.
To delete a single parameter: 1
In the Data Explorer, click the Parameters tab.
2
Select the parameter you want to delete and click the Delete Parameter button .
3
Click Yes to confirm. The parameter is deleted.
To delete all parameters: 1
In the Data Explorer, click the Parameters tab.
2
Click the Clear All Parameters button
.
All parameters in the parameters list are deleted.
About Explain Plan The Explain Plan option enables you to determine the execution plan that the Oracle database follows to execute a specified SQL statement. The Explain Plan statement inserts a row describing each step of the execution plan into a specified table. If you are using cost-based optimization, then this statement also determines the cost of executing the statement. If any domain indexes are defined on the table, then it also inserts user-defined CPU and I/O costs. To issue an Explain Plan statement, you must have the necessary privileges to: Insert rows into an existing output table that you specify to hold the execution plan Execute the SQL statement for which you are determining the execution plan Access a view if the SQL statement is based on a particular view
Page 90
OPTIMA User Reference Guide Version 6.1
To view the explain plan for a SQL query: 1
In the Data Explorer, ensure that you have defined a query.
2
Click to view the explain plan. The dialog box that appears gives the execution plan that the Oracle database will follow to execute the defined query. This picture shows an example of the Explain Plan dialog box:
Example of an Explain Plan The following statement determines the execution plan and cost for an UPDATE statement and inserts rows describing the execution plan into the specified plan_table table with the STATEMENT_ID value of 'Raise in Tokyo': EXPLAIN PLAN SET STATEMENT_ID = 'Raise in Tokyo' INTO plan_table FOR UPDATE employees SET salary = salary * 1.10 WHERE department_id = (SELECT department_id FROM departments WHERE location_id = 1200); The following SELECT statement queries the plan_table table and returns the execution plan and the cost: SELECT LPAD(' ',2*(LEVEL-1))||operation operation, options, object_name, position FROM plan_table START WITH id = 0 AND statement_id = 'Raise in Tokyo' CONNECT BY PRIOR id = parent_id AND statement_id = 'Raise in Tokyo';
OPTIMA User Reference Guide Version 6.1
Page 91
The query returns this execution plan: Operation
Option
Object_Name
Position
UPDATE STATEMENT
2
UPDATE TABLE ACCESS
FULL
VIEW
EMPLOYEES
1
EMPLOYEES
1
index$_join$_002
1
HASH JOIN
1
INDEX
RANGE SCAN
DEPT_LOCATION_IX
1
INDEX
FAST FULL SCAN
DEPT_ID_PK
2
The value in the POSITION column of the first row shows that the statement has a cost of 2.
Selecting Filter Values and Parameters The Selection dialog box enables you to select filter values and parameters. Each section of Optima opens the Selection screen when: Data Explorer: When you define filters, parameters, element aggregation for the query or when time aggregation is available for the tables used. Reports: When you preview a report that has filters, parameters, element and time aggregation. Alarms: When you set values to alarms in the Alarm Wizard.
Page 92
OPTIMA User Reference Guide Version 6.1
This picture shows an example of the Selection screen:
The following table describes the various panes in the Selection dialog box: In This Pane
Do This
Queries
From the Queries pane, select a particular query. Once you select a particular query, the right hand pane has all the information pertaining to the selected query. Under the Element Agg column, select the element level at which you want to run the query – the default level, for example: CELL, or at parent level, for example: BSC, to return the aggregated data. You can right-click in the Queries pane to see the aggregated data query.
Date Range
Select the date range to be applied to the query. You can click the date text box or you can click
to change the date.
Select the Apply to all queries checkbox if you want to apply the date range to all the queries. Element Selection/Parameters
Select the elements and the parameters for the query. To do so: 1. Select the Element Hierarchy tab and click
to select an element hierarchy.
2. Click the Filter tab and select the filter. For more information, see Adding Filters to a Query on page 86. 3. Click the Manual Input tab and type in your manual elements. Select the Apply to all queries checkbox if you want to apply your selection to all the queries. Select the Include all elements checkbox if you want to include all the elements. Save settings as default
OPTIMA User Reference Guide Version 6.1
This option is available only if you have accessed the Selection dialog box while previewing a report. Select this option to save the report settings as default.
Page 93
Enabling Time Aggregation for a Query Time aggregation enables you to display data for different time periods (hourly, daily, weekly, and so on) in the same query. Time Aggregation is applied by replacing tables in a data query with the corresponding associated tables for the selected time period. This means you do not have to create separate queries for each time period you want to display. Before you can use time aggregation, you must first configure: A table period for each table in the query. For more information, see Setting the Granularity Period for a Single Table on page 66. An associated table for each time period, for example, which table contains hourly, daily, and weekly busy hour data. For more information, see Defining an Association for a Table on page 67. Time aggregation can only be applied in a query if the associated tables and table periods have been configured for every table defined in the query (excluding configuration tables). To enable time aggregation: 1
In the Data Explorer, ensure that you have defined your query.
2
Select the Enable Time-Aggregation check box.
You will now be asked to select a time period each time the query is run. For more information, see Previewing the Results of a Query on page 95.
Page 94
OPTIMA User Reference Guide Version 6.1
Previewing the Results of a Query At any time during the creation of a query, you can preview its results in a grid on the Preview tab. To do this: 1
In the Data Explorer, click the Execute SQL button
.
2
If you have included filters and/or parameters in the query, the Selection dialog box appears. This table describes how you can filter the query: On this tab
Do this:
Network Elements
Select a filter from the list that appears and then select elements you wish to include using the arrow keys to move the elements to the Selection pane. You can add elements from any number of filters. For more information about creating filters, see Adding Filters to a Query on page 86.
Date Range - Range sub-tab
Select the period over which you require data. To link to the global clock: 1. Select the Start or End checkbox and then select Synchronise to Global Clock. The current date and time display.x 2. Enter the desired period in the Period box. You cannot synchronise to the global clock if you set a start and end date. To specify a duration whose start or end date you know, click either the Start or End checkbox and choose the correct date, then enter the desired period in the period box. To specify a period whose start and end dates you know, select the Start and End checkboxes and choose the required dates.
Date Range - Exclude / Include sub- Select which days you want to include in the date range. Right-click the tab Dates of Week area and, from the menu that appears, you can Select All or Deselect All the days or choose just Weekdays or Weekends. Select the Start and End hours for the days you have included. Select the checkbox if you want to Exclude Holidays. For more information about holidays, see Excluding Particular Days from Reports on page 77. Parameters
Select an operator from the drop-down list and then type a value for the parameter. The parameter value must match the specified data type, otherwise an error message will be displayed when the query is run. For more information about parameters, see Defining Parameters for a Query on page 87.
Time Aggregation
Select the time period on which you want to run the query. A time period is only available if an associated table with that table period has been set for every data table in the query. If the associated tables have not been configured for any one of the tables in the query, the list will be empty and disabled. For more information, see Defining an Association for a Table on page 67. For more information about time aggregation, see Enabling Time Aggregation for a Query on page 94.
OPTIMA User Reference Guide Version 6.1
Page 95
3
Click OK to close the Selection dialog box and run the query.
4
You can now customise how the data is shown in the grid. For more information about customising grids, see Customising Grids in OPTIMA on page 175.
Saving and Opening Queries When you have created a query, you can save it so you can use it again. Queries are saved as SQL files. To save a query: 1
In the Data Explorer, click the Save To File button
.
2
In the Save SQL File dialog box, open the folder in which you wish to save the file and type a name for the file.
3
Click Save.
To open an existing query: 1
In the Data Explorer, click the Open File button
.
2
In the Load SQL File dialog box, find the query file you wish to open and click Open. The query is loaded in to the Data Explorer.
Saving a Query as a Custom View If you are an OPTIMA_Administrator or OPTIMA_Advanced_User, you can save a query as a custom view. Custom views are data queries that can be stored and reused in reports, modules, alarms, KPIs and other queries. To save a query as a custom view:
Page 96
OPTIMA User Reference Guide Version 6.1
1
In the Data Explorer, click the Save As User View button Wizard appears. This picture shows an example:
. The User Views
2
On the Details tab of the User Views Wizard, complete the following information: In this field:
Do this:
Name
Type a name for the custom view.
Description
Type a description for the custom view.
Add to Data Model
Select this checkbox if you want to add the custom view to the OPTIMA, Global or Vendor schemas. To do this: Select a schema from the drop-down list. This option is only enabled if you have OPTIMA_Administrator permissions.
Category
Select a category for the custom view from the drop-down list. For more information about categories, see About Categories on page 71.
Security Type
Choose the security type, by selecting the appropriate radio button.
OPTIMA User Reference Guide Version 6.1
Page 97
3
Click Next.
4
If you set the security type as Group or Administrator, the Security tab appears. On the Security tab, complete the following information: In this field:
Do this:
Group list
Select the user group(s) that can use the custom view. To add a new group: 1. Click Add. 2. In the Select Groups dialog box that appears, select the group(s) you want to have access to this custom view and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
5
Click Next.
6
On the Completing View tab, check that the details are correct. If not, click Back to go back and correct them, otherwise click Save.
7
Click Yes to confirm. The custom view is displayed in the Schema List pane of the Data Explorer.
Editing and Deleting Custom Views To edit a custom view: 1
In the Data Explorer, in the Schema List pane, select the custom view you want to edit.
2
Right-click and, from the menu that appears, click Edit. The custom view's SQL is displayed on the SQL tab.
3
Make any required changes to the SQL, then click the Save as Custom View button .
4
If the SQL is invalid, a window appears, showing the SQL. Correct the error and save again.
5
In the User Views Wizard that appears, edit the details as required on each page.
6
When you are satisfied, click Save on the final page to save your changes and return to the Data Explorer.
To delete a custom view:
Page 98
1
In the Data Explorer, in the Schema List pane, select the custom view you want to delete.
2
Right-click and, from the menu that appears, click Delete.
3
Click Yes to confirm. The custom view is removed from the Schema List in the Data Explorer.
OPTIMA User Reference Guide Version 6.1
Viewing KPIs in the Data Explorer You can view information about existing KPIs on the KPI tab, in the Data Explorer. To do this: In the Data Explorer, select the base table for which you want to see the KPIs. This picture shows an example:
The KPI tab indicates the name, equation and description of the KPI. It also indicates whether the KPI is valid.
OPTIMA User Reference Guide Version 6.1
Page 99
About KPIs Using the KPI Manager, you can create KPIs to show collected key performance data both in OPTIMA Inspector, using modules and combination windows, and on the Map View window. From the drop-down list on the right-hand side, you can select the criteria to group the KPIs. When you open the KPI Manager, you can view information about existing KPIs which you have access to in a tree structure grouped by the following: Option
Grouped on the basis of
Security
Security levels
Security, Schema, Table
Security levels, schema levels, and table level
Security, Table
Security levels, and table level
Security, Element Level
Security levels, and element levels
This picture shows an example of KPIs grouped at the security level:
KPI Manager
Page 100
OPTIMA User Reference Guide Version 6.1
Creating KPIs To create a KPI: 1
From the KPI menu, click KPI Manager. -orClick the KPI Manager button
.
2
In the KPI Manager window, from the File menu, click New KPI.
3
In the dialog box that appears, complete the following information: In This Box:
Do This:
Name
Type a name for the KPI
Description
Type a description for the KPI
Security
Select the Personal option to create a personal KPI. All users and administrators can view and create personal KPIs but only the administrator and the creator of a personal KPI can edit it. Select the Group option to create a group KPI. Group KPIs are shared with all the user groups. All users can create group KPIs but only the aministrator and the creator of a group KPI can edit it. If you are creating a group KPI, click Select Group to select all the groups that the particular KPI is shared to. Select the Admin option to have the administrative rights over the created KPI.
Data
1. Select the Multi table KPI option to share the KPI with more than one table. 2. Click Select/show tables to select the KPI usage tables. 3. In the dialog box that appears, select the required tables and click Save. -or1. From the Base schema drop-down list, select a base schema for the KPI. 2. From the Base table drop-down list, select a base table for the KPI.
Equation
Type an equation to define the KPI, using the available columns. The equation must be in correct Oracle syntax. You can build complex equations using the Expression Editor. Click to open the Expression Editor. Double-click a KPI in the Counters for Equation list to have it added to the equation. To activate the aggregation function, you need to write the following equation: % aggr(tch) where tch is the KPI equation.
Element Aggregation
From the drop-down list, select the element aggregation function. This function will replace the '%aggr' keyword when the KPI aggregation function is used in the Query Builder.
OPTIMA User Reference Guide Version 6.1
Page 101
Time Aggregation
From the drop-down list, select the time aggregation function. This function will replace the '%aggr' keyword when the KPI aggregation function is used in the Query Builder.
This picture shows an example of the New KPI dialog box:
In this example, a personal KPI is being created with the base schema as ERICSSON2G and base table as BSCGPRS. 4
Click Save. When prompted, click Yes to create and view the list of tables. These usage tables are the ones on which this new KPI is valid. To make dynamic changes to this list, select the check boxes corresponding to the tables in which you want to use the KPI.
Page 102
OPTIMA User Reference Guide Version 6.1
This picture shows an example of KPI Usage Tables:
5
Click Save to create the KPI.
OPTIMA User Reference Guide Version 6.1
Page 103
Editing a KPI To edit a KPI: 1
From the KPI menu, click KPI Manager. -orClick the KPI Manager button
.
2
In the KPI Manager, select the KPI that you want to edit.
3
From the Edit menu, click Edit. This picture shows an example to edit a KPI:
Page 104
4
Modify the KPI information.
5
Click Save to save your changes.
OPTIMA User Reference Guide Version 6.1
Deleting a KPI To delete a KPI: 1
From the KPI menu, click KPI Manager. -orClick the KPI Manager button
.
2
Select the KPI that you want to delete.
3
From the Edit menu, click Delete.
4
In the dialog box that appears, click Yes to continue. The selected KPI is deleted.
Importing and Exporting a KPI You can export KPIs to move them to another database. The file format for exporting a KPI is .KPI. To export a KPI: 1
From the KPI menu, click KPI Manager. -orClick the KPI Manager button
.
2
Select the KPI that you want to export.
3
Right-click and from the menu that appears, click Export.
4
In the dialog box that appears, click Yes to confirm.
5
Browse to the folder where you want to export the KPI.
6
Click OK. The KPI is exported. When you export a multi table KPI, the base tables of the KPI are not exported.
To import a KPI: 1
From the KPI menu, click KPI Manager. -orClick the KPI Manager button
.
2
In the KPI Manager dialog box, right-click and from the menu that appears, click Import.
3
In the Confirm dialog box that appears, click OK. The Import Objects window appears.
4
Click
5
Click OK. The contents of the folder are displayed in the Import Objects window.
to browse the the location from where you want to import the KPI.
OPTIMA User Reference Guide Version 6.1
Page 105
This picture shows an example:
6
Select the KPI that you want to import and click OK. If you import a multi table KPI, there will be an option to set the base tables for it. Click Yes to set the base tables for the multi table KPI that you are importing. In the dialog box that appears, click
7
to set the base table.
Click Save. The KPI is imported. If you do not select the base table, then the KPI is imported and saved as an invalid KPI.
Page 106
OPTIMA User Reference Guide Version 6.1
Recreating Views This section enables you to to create KPI views with the following different options: Option
Creates Views For
Selected Table
The base table of the selected KPI
Selected Schema
All the tables in the base schema of the selected KPI
All
All the tables in all the schemas
The security level for these KPIs must be Group and access should be set to everyone. Creating Views for a Table To create a view for a base table of the selected KPI: 1
From the KPI menu, click KPI Manager.
2
In the dialog box that appears, select the KPI associated with the base table for which you want to create a view.
3
Right-click and from the menu that appears, point to Recreate View and click Selected table.
4
Select the checkbox corresponding to the base table of the selected KPI. In this case, there is only one base table displayed as you are creating the view for a table.
5
Click Process. The view is created. This picture shows an example of the Create KPI Views dialog box:
The status column indicates: OPTIMA User Reference Guide Version 6.1
Page 107
Whether the view has been created successfully
Number of the Valid KPIs for the base table/Total KPIs, for example, Success(86/87) indicates 86 valid KPIs/87 total KPIs
Whether the KPI is valid or not
The Message column indicates: 6
Errors for the invalid KPIs
Click Close.
Creating Views for a Schema To create a view for a schema for the selected KPI: 1
From the KPI menu, click KPI Manager.
2
In the dialog box that appears, select the KPI associated with the base schema that includes the base tables for which you want to create views.
3
Right-click and from the menu that appears, point to Recreate View and click Selected schema. The Create KPI Views dialog box opens and lists the selected schema with all the usage tables under that schema. These are the usage tables in the base schema that were selected while creating the selected KPI.
4
Select the tables for which you want to create the view.
5
Click Process. The view is created. This picture shows an example of the Create KPI Views dialog box:
Page 108
OPTIMA User Reference Guide Version 6.1
The status column indicates:
Whether the view has been created successfully
Number of the Valid KPIs for the base table/Total KPIs, for example, Success(2/2) indicates 2 valid KPIs/2 total KPIs
Whether the KPI is valid or not
The Message column indicates: 6
Errors for the invalid KPIs
Click Close.
Creating Views for All Schemas and All Tables To create views for all schemas and all tables: 1
From the KPI menu, click KPI Manager.
2
In the KPI Manager window, right-click and from the menu that appears, point to Recreate View and select All. The Create KPI Views dialog box opens and lists all the schemas with all its usage tables. These are the usage tables in the base schemas that were selected while creating the selected KPI.
3
Select the schemas and their respective base tables for which you want to create the view.
4
Click Process. The view is created. This picture shows an example of the Create Views dialog box:
OPTIMA User Reference Guide Version 6.1
Page 109
The status column indicates:
Whether the view has been created successfully
Number of the Valid KPIs for the base table/Total KPIs, for example, Success(108/108) indicates 108 valid KPIs/108 total KPIs
Whether the KPI is valid or not
The Message column indicates: 5
Errors for the invalid KPIs
Click Close.
About Global KPI Views A Global KPI View consists of a single view showing all existing common public KPIs for various vendor tables. Notes: The security level for these KPIs must be Group and access should be set to everyone. The KPI names must match across all the tables selected in the global KPI dialog box. The KPIs listed in the view will be the ones that exist when you create the view. If you add another KPI after you have created the view, you will have to create the view again for this new KPI to be shown. This picture shows an example of the Global KPI Explorer:
Page 110
OPTIMA User Reference Guide Version 6.1
To access a global view that has been created: 1
From the KPI menu, click Global KPI.
2
In the dialog box that appears, from the left-hand pane, expand the tree and select the global view that you want to see. The global view shows the data of the current view that you have selected. It also specifies the KPI name, equation, and the description.
Creating a Global KPI View Only users with administrative privileges can create a global view. To create a global view: 1
From the KPI menu, click Global KPI.
2
In the dialog box that appears, from the Edit menu, click Add Global View. -orIn the dialog box that appears, right-click in the left-hand pane and click Add Global View.
3
The dialog box that appears lists all the tables for different schemas in the lefthand pane. Select the tables that you want to include in the global view. This picture shows an example:
OPTIMA User Reference Guide Version 6.1
Page 111
4
In the right-hand pane, click the Configure Selections button. The first grid is populated with your selection. The table in the grid lists the following:
The Primary Key for each table that you have selected
The common public KPIs for each table that you have selected Notes :
You can change the primary key values. Click the column to edit the primary key. It is mandatory to follow the following two restrictions to edit the primary key:
All the values must be of the same data type
Each column name must be unique
If, for example, there are two column names that are same, then you will not be able to save the global view and an error message will appear in the OPTIMA message log. However, it will be possible for you to preview the global view and see the results. This picture shows an example of the Global View Explorer:
5
Click the Preview Global View button to see the configurations for the global view. The second grid is populated with the global view values. The information is based on each vendor and its primary keys and KPIs.
Page 112
OPTIMA User Reference Guide Version 6.1
This picture shows an example of the second grid at the bottom:
6
In the View Name text box, type the name of the view.
7
In the View Description text box, type a description for the view.
8
Click Create Global View to save the global view.
Editing a Global KPI View To edit a global KPI view: 1
From the KPI menu, click Global KPI.
2
In the dialog box that appears, in the left-hand pane, select the global view that you want to edit.
3
From the Edit menu, click Edit Global View. -orIn the left-hand pane, right-click in the left-hand pane and click Edit Global View.
4
Make the required changes.
5
Click Create Global View to save the changes.
Deleting a Global KPI View To delete a global KPI view: 1
From the KPI menu, click Global KPI.
2
In the dialog box that appears, in the left-hand pane, select the global view that you want to delete.
3
From the Edit menu, click Drop Global View. -orRight-click in the left-hand pane and click Drop Global View.
4
Click Yes to confirm the deletion.
OPTIMA User Reference Guide Version 6.1
Page 113
About OPTIMA Modules OPTIMA modules consist of: Module details – name, description, name of creator, creation date, name of the last person to edit the module and the date last edited. A database query that enables you to create a network element tree for displaying and selecting specific network elements. Database queries to return data when elements are selected from the tree-view. A separate query can be defined for each tree level. For example, you may have BSCs on one level and cells on the next level. Therefore you could have a query for each of these. This picture shows the main parts of a module:
Example Module
Page 114
OPTIMA User Reference Guide Version 6.1
If you are an OPTIMA_Administrator or OPTIMA_Advanced_User, you can: Create and delete module folders Create modules Edit and delete modules Restrict editing of modules Import and export modules OPTIMA_Administrators can also restrict access to folders and modules. Other users can still view restricted folders and modules, but only an Administrator can edit them. All OPTIMA_Users can view modules.
Creating Folders for OPTIMA Modules To create and delete folders in the Module Explorer, you must have OPTIMA_Administrator or OPTIMA_Advanced_User permissions. To create a new folder: 1
From the Inspector menu, click Modules. - or – Click the Modules button
2
.
In the Module Explorer window, browse to where you want to create the new folder and right-click. From the menu that appears, click New Folder. - or – Click the New Folder button
3
.
Type a name for your new folder and press Enter.
OPTIMA_Administrators can restrict access to folders to prevent other users from accessing them. For more information about this, see Restricting Access to Folders on page 116.
Deleting Folders To delete a folder: 1
In the Module Explorer window, highlight the folder you want to delete.
2
Right-click and, from the menu that appears, click Delete. - or – Click the Delete button
3
.
In the Confirm dialog box, click Yes to delete the folder and return to the Module Explorer.
OPTIMA User Reference Guide Version 6.1
Page 115
Restricting Access to Folders If you have OPTIMA_Administrator permissions, you can restrict access to folders to prevent users who do not have Administrator permissions from editing, moving or deleting them. To restrict access to a folder: 1
From the Inspector menu, select Modules. -or Click the Modules button
.
2
In the Module Explorer, select the folder you want to restrict.
3
Right-click and then, from the menu that appears, click Properties.
4
On the Security tab in the Module Folder Properties dialog box, select the Admin Folder checkbox.
5
Click OK.
6
If the selected folder has child folders, you will be asked if you want to apply changes to all child folders. This enables you to restrict all of the child folders of an Admin Folder. Click Yes to apply changes, otherwise click No.
To remove the restriction from a folder: Follow the previous steps and clear the Admin Folder checkbox.
Viewing OPTIMA Modules To view a module: 1
From the Inspector menu, select Modules.
2
In the Module Explorer, select the file containing the modules you want to view. A list of the modules will appear in the right hand pane.
3
You can choose to view the modules as a list or as a list with details. To change between the two, right-click and then, from the menu that appears, point to View and click List or Details.
4
Page 116
Double-click on the module name to view that module.
OPTIMA User Reference Guide Version 6.1
Creating OPTIMA Modules If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can create modules. To do this: 1
From the Inspector menu, select Modules. -or Click the Modules button
2
.
In the Module Explorer, right-click and then, from the menu that appears, click New Module. - or Click the Add New Module button
.
The OPTIMA Module Maker dialog box appears. 3
4
In the Details pane:
Type a name and a description for the new module
Select the Enabled checkbox to enable OPTIMA_Users to use the module
In the Element Hierarchy pane you define the selection tree information to be displayed by the module. To do this either:
Click Select to open the Element Hierarchy Selection dialog box. Select the element hierarchy you want to use and click OK. For more information about element hierarchies, see Using the Element Hierarchies Explorer on page 131.
If you want to manually edit the element hierarchy SQL, click Edit Query and click Yes in the message box that appears. In the Data Explorer that appears, edit the query as required. When you have finished, close the Data Explorer and click Yes to save your changes. For more information, see Using the Data Explorer on page 80. Editing an element hierarchy in this way breaks the link between the module and the original element hierarchy. Any changes that you make will not be updated in the original element hierarchy. Similarly, changes to the original element hierarchy will not be captured by the module.
- or
Click Edit Query and, in the Data Explorer that appears, define the query for the network element tree. When you have finished, close the Data Explorer and click Yes to save your changes. For more information, see Using the Data Explorer on page 80. If the Element Hierarchy pane is hidden, click the Preview Query/Tree button to display it.
OPTIMA User Reference Guide Version 6.1
Page 117
5
When you have defined the selection tree, click Preview Tree to view the selection tree you have created. A network element tree of the information you have just entered appears on the Preview tab. This picture shows an example:
If you have included a date filter in the SQL, you must also define a date and time in the Date Time Entry dialog box. Select a date range and click OK to continue. 6
In the Element Queries pane you can define a separate query for each tree level. This customises the data displayed in a grid or graph when an item is selected from the network element tree. The following table describes how to do this: In this column
Do this
Description
Click in the row and, in the dialog box that appears, type a description and click OK.
Query
Click in the row and, in the dialog box that appears, click Edit. In the Data Explorer that appears, define the tree level query. When you have finished, close the Data Explorer and click Yes to save your changes. For more information about the Data Explorer, see Using the Data Explorer on page 80.
Graph Type
Click in the row and select the type of graph you require from the drop-down list. The graph is shown when you run a module in a combination window. For more information, see Using Graphs on page 191.
X-Axis Field
Click in the row and select the x-axis field you require from the drop-down list.
Plot Data
Click in the row and, in the dialog box that appears, choose how you want to plot data by selecting the appropriate radio button and clicking OK.
This picture shows an example:
7
Page 118
Click OK to finish.
OPTIMA User Reference Guide Version 6.1
Element Aggregation in Module Queries Element Aggregation enables a module data query defined at one element level (e.g. the cell level) to be run at parent element levels (e.g. the BSC and MSC level) to return aggregated data. For example, if a query defined at the cell level returns traffic data for individual cells, the same query when run at the BSC level can be configured to return average or total traffic data by BSC. For example, consider the element hierarchy shown below: Network MSC BSC Cell In this hierarchy, a data query defined at the Cell level can be run at the BSC, MSC, and Network level. A data query defined at the BSC level can be run at the MSC and Network level, and so on. When the query is run at a parent element level, OPTIMA generates an aggregation query by enclosing the original query in an outer Group by query. The outer query has: A SELECT clause that contains the parent elements, all date-time fields, and the aggregated counters A GROUP BY clause that groups the data by the parent elements and the datetime fields For example, supposing that your CELL element level query is: SELECT ERICSSON2G.CELLSTATS.BSC, ERICSSON2G.CELLSTATS.CELL, ERICSSON2G.CELLSTATS.SDATE, ERICSSON2G.CELLSTATS.ERLANG FROM ERICSSON2G.CELLSTATS
OPTIMA User Reference Guide Version 6.1
Page 119
When the query is run at the BSC level, the query is modified to produce the aggregation query below. The aggregation functions applied to each counter are specified when the query is defined. SELECT BSC, SDATE, AVG(ERLANG) FROM ( SELECT ERICSSON2G.CELLSTATS.BSC, ERICSSON2G.CELLSTATS.CELL, ERICSSON2G.CELLSTATS.SDATE, ERICSSON2G.CELLSTATS.ERLANG FROM ERICSSON2G.CELLSTATS ) GROUP BY BSC, SDATE
Configuring Element Aggregation To configure a module to use element aggregation: 1
From the Inspector menu, click Modules.
2
In the Module Explorer, select the folder containing the modules you want to view. A list of the modules appears in the right hand pane.
3
Double-click a module name to view that module.
4
From the Element Queries pane in the dialog box that appears, double-click the element level for which the query is defined. The Data Explorer opens.
5
In the elements list box in the Filters tab, set the data field for each element level at which you want to run the query. (When the data field is set, the element agg checkbox is automatically selected to indicate that the query can run at that element level.)
6
In the Column Settings tab, set the aggregation functions for each counter that you want to include in the aggregated queries. You can select a standard aggregation function, such as AVG, SUM, or write your own aggregation formula using the Expression Editor. The following table describes the different column types for each column and data field: Only the query 'Counter' columns can be aggregated.
Page 120
Column Type
Description
Identifier
Indicates the text fields in the SQL query.
DateTime
Indicates the date and time fields in the SQL query.
Counter
Indicates the numerical fields in the SQL query.
OPTIMA User Reference Guide Version 6.1
This picture shows the Column Settings tab:
7
To set the aggregation type:
Click the Aggregate Type column corresponding to the Counter column type and select a function from the drop-down list to set the aggregate type and formula. To define your own aggregation function: Select the User Defined option from the drop-down list. In the Aggregate Formula column, click and type the formula directly in the cell or click to launch the Expression Editor. You need to do this for each counter type. Alternatively, to set the functions for multiple counters at the same time:
Click the Set Multiple Aggregates button
.
From the Global Aggregate drop-down list in the Quick Aggregation dialog box that appears, select the counter type you require.
Click the Apply Aggregate to All Fields button if you want to apply the counter type to all columns. - or If you want to apply the counter type to one or more columns, select the column(s) in the Field Name list and click the Apply Aggregate to Selected Fields button.
OPTIMA User Reference Guide Version 6.1
Page 121
You can only set the aggregate type and formula for the COUNTER column type. If you select User Defined aggregate type, click the Aggregate Formula column to define a new aggregate type in the Expression Editor dialog box. Use the Shift and Ctrl keys to highlight more than one column at a time. To clear all counters, click the Clear All Aggregates button.
Click OK to save your changes and close the Quick Aggregation dialog box. This picture shows an example of the Quick Aggregation dialog box:
Page 122
OPTIMA User Reference Guide Version 6.1
8
To set the aggregate description:
In the Description column, type the description for the column. -orClick the Get Default Column Descriptions button to populate the description column with the data. This data is present in the table and field information dialog box. For more information, see About Table and Field Information Settings on page 63. You can edit this description information and it is saved only for this data query. It does not get reflected in the Table and Field Information Settings.
9
Click Preview SQL . The Selection dialog box opens. Select the elements and parameters for element aggregation. For more information, see Selecting Elements and Parameters on page 92.
Click OK to run the query. The Preview tab is populated with the output data of the aggregated query.
You can click View/Test element aggregation SQL button to view the aggregation query and check that the query is valid.
Displaying Element Aggregated Data in Inspector Element Aggregation allows you to change an module element level query by aggregating to a parent level. For more information on element aggregation, see Element Aggregation in Module Queries on page 119. When a module query is run at a parent element level, aggregated data is displayed in both the data grid and in the graph. The aggregated data is displayed in the graph only if a graph is defined. To set the level at which you want to run a module data query: 1
From the Inspector menu, click Module Combinations.
2
In the Module Combination Explorer, select a folder containing the module combinations you want to view. A list of module combinations appears in the right hand pane.
3
Double-click a module combination.
4
In the Modules pane, expand a module to view its element tree.
5
Select the elements whose data query you want to run.
OPTIMA User Reference Guide Version 6.1
Page 123
For example, in the picture below, the selected module has an element tree containing BScs, Sitenames, and Cells. As shown, two cell are selected, hence the cell level data query is run.
6
Page 124
Select the element level at which you want the data query. You can do this in two ways:
OPTIMA User Reference Guide Version 6.1
Right-click a Cell and from the menu that appears, point to Run Level (Element Aggregation) and click the element level (Cell, Sitename, BSC) at which you want to run the query as shown in the picture below:
In the Module pane, click the Module Settings button . In the Module Settings dialog box that appears, select the Aggregation tab and set the Element Aggregation level.
When you select a parent level for element aggregation, all the elements at that level become green in color. For example, if you select the run level for element aggregation as SiteName, the sites in the tree are shown in the green color. For example, as shown in the picture below, the following sites are green in color:
Green Hall
Institute Victoria
Island City Hotel
Peco Industrial
Rentokil
Victoria Street
Wisma Rajab
OPTIMA User Reference Guide Version 6.1
Page 125
This picture shows an example:
7
From the toolbar, click
to run the selected module.
Restricting Access to OPTIMA Modules If you have OPTIMA_Administrator permissions, you can restrict access to modules to prevent users who do not have Administrator permissions from editing them. You may want to do this if a module is particularly complex to create or if a module is used by lots of users, to prevent the module being changed in error. To restrict access to a module: 1
From the Inspector menu, select Modules. -or Click the Modules button
.
2
In the Module Explorer, select the module you want to restrict.
3
Right-click and then, from the menu that appears, click Properties.
4
In the Module Properties dialog box, select the Admin Module checkbox.
5
Click OK.
To remove the restriction from a module, follow the previous steps and clear the Admin Module checkbox.
Page 126
OPTIMA User Reference Guide Version 6.1
Restricting Editing of OPTIMA Modules You can use an owning group to restrict who has editing access to a module. If a module is assigned an owning group, then it can only be edited by members of that group. A module can only have one owning group. To assign an owning group for a module, you must have one of the following: OPTIMA_Administrator permissions OPTIMA_Advanced_User permissions and be a member the group that owns the module To make a group the owner of a module: 1
From the Inspector menu, click Modules. -or Click the Modules button
2
.
In the Module Explorer window, select the module you want to set the owning group for. You cannot assign the owning group for an Admin Module, unless you have OPTIMA_Administrator permissions.
3
Right-click the selected module and from the menu that appears, click Properties.
4
In the Module Properties dialog box, select a group from the drop-down list.
5
Click OK.
Editing and Deleting OPTIMA Modules To edit a module: 1
Ensure you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions.
2
From the Inspector menu, select Modules. or – Click the Modules button
.
3
Double-click on the module and make the necessary changes.
4
Click OK to save the changes.
OPTIMA User Reference Guide Version 6.1
Page 127
To delete a module: 1
Ensure you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions.
2
From the Inspector menu, click Modules. – or – Click the Modules button
3
.
Select the module you want to delete, right-click and, from the menu that appears, click Delete. – or – Select the module you want to delete and click the Delete button
4
.
In the Confirm dialog box, click Yes to delete the module.
Opening an OPTIMA Module in a New Combination To open a module in a new combination: 1
From the Inspector menu, select Modules. -or Click the Modules button
.
2
In the Module Explorer, select the module you want to open in a new combination.
3
Right-click and then, from the menu that appears, click Execute. The New Module Combination dialog box appears with the selected module added.
For more information about combinations, see About Combination Windows in OPTIMA on page 140.
Copying OPTIMA Modules If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can copy existing modules and then modify them. To do this: 1
From the Inspector menu, click Modules. -or Click the Modules button
Page 128
.
OPTIMA User Reference Guide Version 6.1
2
In the Module Explorer, select the module(s) you want to copy.
Use the Shift and Ctrl keys to select more than one module at a time. 3
Right-click, and from the menu that appears, click Copy.
4
Select the folder that you want to copy the module(s) to.
5
Right-click, and from the menu that appears, click Paste. The modules are copied to the specified folder.
Importing and Exporting OPTIMA Modules If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can export OPTIMA modules to a datafile and then import and use them in another OPTIMA installation. You can import and export: Modules Module folders A combination of modules and module folders You must have OPTIMA_Administrator permissions to import and export Admin modules and Admin folders. Importing Modules To import a module: 1
In the Module Explorer, select the folder into which you want to import the file(s).
2
Click the Import Module From File button
.
- or Right-click, and from the menu that appears, click Import. 3
Click OK to confirm.
4
In the Import Modules dialog box, click the Browse button.
5
In the Browse for Folder dialog box, select the folder which contains the module(s) you want to import and click OK.
6
In the File Name list, select the file(s) and/or folder(s) you want to import and click OK. Use the Shift and Ctrl keys to select more than one file and/or folder at a time.
OPTIMA User Reference Guide Version 6.1
Page 129
7
If your selection includes modules in sub-folders, you will be asked if you want to recreate the directory structure in the Module Explorer. Click Yes to recreate the directory structure, otherwise click No.
8
In the message box that appears, click OK to import the module(s). The modules are imported to the specified folder.
Exporting Modules To export a module: 1
In the Module Explorer, select the module(s) and/or folder(s) you want to export. Use the Shift and Ctrl keys to select more than one module and/or folder at a time.
2
Click the Export Module to File button
.
- or Right-click, and from the menu that appears, click Export. 3
Page 130
If your selection includes modules in sub-folders, then in the Export Modules dialog box, set the following options by selecting or clearing the appropriate checkboxes:
Export modules from sub-folders
Create folders in destination directory
4
Click OK.
5
In the Browse for Folder dialog box, select the folder into which you want to export the module(s) and click OK.
6
In the message box that appears, click OK to export the module(s). The modules are exported to the specified folder.
OPTIMA User Reference Guide Version 6.1
Using the Element Hierarchies Explorer In the Element Hierarchies Explorer, you can create, edit and delete element hierarchies. Element hierarchies are re-usable SQL queries which enable you to display network elements in the form of a hierarchical tree. You can use element hierarchies in OPTIMA modules instead of defining a new element tree SQL each time you create a module. For more information, see About OPTIMA Modules on page 114. You can use three types of element hierarchy in OPTIMA. These are described in this table: This Type
Can be Used By
Personal
The user who creates them and administrators.
Group
The user who creates them, group members, and administrators.
System
Administrators only.
To open the Element Hierarchies Explorer: From the Tools menu, click Element Hierarchies. - or Click the Element Hierarchies button
.
The Element Hierarchies Explorer opens, this picture shows an example:
Element Hierarchies Explorer
OPTIMA User Reference Guide Version 6.1
Page 131
About the Element Hierarchies Explorer Toolbar This picture shows the Element Hierarchies Explorer toolbar:
Element Hierarchies Explorer toolbar
Creating Element Hierarchies in the Element Hierarchies Explorer To create an element hierarchy: 1
In the Element Hierarchies Explorer, either:
From the File menu, point to New Element Hierarchy.
- or
Click the Create New Element Hierarchy button
.
The Element Hierarchy Creation Wizard appears. This picture shows an example:
Page 132
OPTIMA User Reference Guide Version 6.1
2
In the Element Hierarchy (Add) dialog box, on the Details tab, complete the following information: In this field:
Do this:
Name
Type a name for the element hierarchy.
Description
Type a description for the element hierarchy.
Type
Choose the OPTIMA type you require by selecting the appropriate radio button.
3
Click Next.
4
On the SQL tab, you define the data query for the element hierarchy. To do this:
Click Edit. The Data Explorer appears.
In the Data Explorer, define the SQL for the element hierarchy. For more information, see Defining a Query on page 82.
When you have finished, close the Data Explorer to save your SQL. The SQL is added to the SQL pane.
5
Click Next. The query is executed and the results are displayed on the Preview tab.
6
Click Next.
7
If you chose to save your element hierarchy as a Group or Administrator hierarchy, on the Security tab, complete the following information: In this field:
Do this:
Admin Only
Select this checkbox if you only want Administrators to access the element hierarchy. This option is only enabled for Administration element hierarchies.
Group list
Select the user group(s) that can use the element hierarchy. To add a new group: 1. Click Add. 2. In the Select Groups dialog box that appears, select the group(s) you want to have access to this element hierarchy and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
8
On the Complete tab, check your element hierarchy details and then click Finish. The element hierarchy is now available from the list in the Element Hierarchies Explorer.
OPTIMA User Reference Guide Version 6.1
Page 133
Editing Element Hierarchies In the Element Hierarchies Explorer, you can edit existing element hierarchies. To do this: 1
In the Element Hierarchies Explorer, select the element hierarchy you want to edit.
2
Right-click, and from the menu that appears, click Edit Element Hierarchy. - or Click the Edit Element Hierarchy button
.
3
If the element hierarchy is used by any modules, a message box is displayed listing these modules. Click Yes to continue editing the element hierarchy.
4
In the Element Hierarchy (Edit) dialog box that appears, edit the element hierarchy details as required on each page. When you are satisfied, click the Finish button on the final page.
Renaming Element Hierarchies In the Element Hierarchies Explorer, you can rename existing element hierarchies. To do this: 1
In the Element Hierarchies Explorer, select the element hierarchy you want to rename.
2
Right-click, and from the menu that appears, click Rename.
3
Type in the new name for the element hierarchy and press Enter.
Deleting Element Hierarchies You can only delete an element hierarchy if it is not used in any modules. To delete an element hierarchy: 1
In the Element Hierarchies Explorer, select the element hierarchy you want to delete.
2
Right-click, and from the menu that appears, click Delete. - or Click the Delete Element Hierarchy button
3
Page 134
.
In the message box that appears, click Yes to confirm. The element hierarchy is deleted from the list in the Element Hierarchies Explorer.
OPTIMA User Reference Guide Version 6.1
Setting Element Hierarchy Security If you are the creator of a group element hierarchy or an OPTIMA Administrator, you can select which groups are allowed to use that group element hierarchy. To do this: 1
In the Element Hierarchies Explorer, select the group element hierarchy.
2
Right-click and, from the menu that appears, click Properties. The Element Hierarchy Properties dialog box appears.
3
In the Element Hierarchy Properties dialog box, on the Security tab, select the user group(s) that can use the element hierarchy. To add a new group:
Click Add.
In the Select Groups dialog box that appears, select the group(s) you want to have access to this element hierarchy and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
4
Click Apply to save your changes.
5
Click OK to close the Element Hierarchy Properties dialog box and return to the Element Hierarchies Explorer.
Finding Element Hierarchies If you want to view a particular element hierarchy, you can search for it in the OPTIMA database. To find an element hierarchy: 1
From the Edit menu, click Search. - or Click the Search button
2
.
In the Find Element Hierarchy dialog box that appears, type the name of the element hierarchy you wish to find. Element hierarchy names are case-insensitive.
3
Click Find First and the first occurrence of the element hierarchy is highlighted.
4
Click Find Next and the next occurrence of the element hierarchy is highlighted.
To close the dialog box and return to the Element Hierarchies Explorer, click Cancel.
OPTIMA User Reference Guide Version 6.1
Page 135
Copying Element Hierarchies in the Hierarchies Explorer To copy an element hierarchy: 1
In the Element Hierarchies Explorer, select the element hierarchy that you want to copy.
2
Right-click, and from the menu that appears, click Copy Element Hierarchy. - or Click the Copy Element Hierarchy button
.
3
Select the folder where you want to copy the element hierarchy to.
4
Right-click, and from the menu that appears, click Paste Element Hierarchy. – or – Click the Paste Element Hierarchy button
.
The element hierarchy is copied to the specified folder.
Viewing Element Hierarchies in the Element Hierarchies Explorer To view the different types of element hierarchy available in the Element Hierarchies Explorer: In the Element Hierarchies Explorer, in the left-hand pane, click the element hierarchy type you want to view. All existing element hierarchies of that type are then displayed in the right-hand pane. For example, click Group to view the Group element hierarchies.
If you only want to view your own personal element hierarchies, right-click in the left-hand pane and, from the menu that appears, click Show only current user's hierarchies.
Page 136
OPTIMA User Reference Guide Version 6.1
Previewing Element Hierarchies in the Element Hierarchies Explorer To preview an element hierarchy in the Element Hierarchies Explorer: 1
In the Element Hierarchies Explorer, select the element hierarchy you want to preview.
2
Click the Preview tab and click OK to confirm in the message box that appears. - or Click Run. The element hierarchy is displayed on the Preview tab:
OPTIMA User Reference Guide Version 6.1
Page 137
Page 138
OPTIMA User Reference Guide Version 6.1
CHAPTER 6
Viewing Data in OPTIMA OPTIMA enables you to view specific data from your network using combination windows, which you can define yourself. For example, you can display cell statistics within a certain date range in both a graph and a grid layout.
In This Section About Combination Windows in OPTIMA Adding and Editing Favourites in OPTIMA Filtering Data in the Combination Window Finding Elements in the Modules Pane Filtering Elements in the Modules Pane Displaying Data in Graphs Using the Filter Explorer
OPTIMA User Reference Guide Version 6.1
140 154 155 158 159 164 165
Page 139
About Combination Windows in OPTIMA You can view data in OPTIMA in either a pre-defined combination window or a window you have created. A combination window is made up of a number of panes. This picture shows an example:
Combination Window Example
Page 140
OPTIMA User Reference Guide Version 6.1
The following table describes how you can customise the window using these panes. This Pane
Enables you to
Modules
Add and remove modules that customise the data that is to be displayed in the window. For more information, see Creating Combination Windows on page 144. You can run one module, or a combination of modules.
Filters
Select, create and edit custom filters. You can hide or display this pane by clicking on the title bar. For more information, see Filtering Elements in the Modules Pane on page 159.
Date Range
Set the date range for the data to be displayed. You can hide or display this pane by clicking on the title bar. For more information, see Setting a Date Range on page 156.
Grid
Display the data. You can modify the order of the data as well as search for specific information. For more information, see Customising Grids in OPTIMA on page 175.
Series List
Select what data appears in the graph pane. For more information, see About the Series List on page 209.
Graphs
Display the data in a graph format. For more information, see Displaying Data in Graphs on page 164.
Before you can use combination windows, OPTIMA_Administrators and OPTIMA_Advanced_Users must first define the modules. For more information, see Creating OPTIMA Modules on page 117.
Creating Folders for OPTIMA Combination Windows To create and delete folders in the Combination Explorer, you must have OPTIMA_Administrator or OPTIMA_Advanced_User permissions. To create a new folder: 1
From the Inspector menu, click Module Combinations. - or – Click the Module Combinations button
2
.
In the Combination Explorer window, browse to where you want to create the new folder and right-click. From the menu that appears, click New Folder.
- or – Click the New Folder button 3
.
Type a name for your new folder and press Enter.
OPTIMA User Reference Guide Version 6.1
Page 141
OPTIMA_Administrators can restrict access to folders to prevent other users from accessing them. For more information about this, see Restricting Access to Folders on page 142.
Deleting Folders To delete a folder: 1
In the Combination Explorer window, highlight the folder you want to delete
2
Right-click and, from the menu that appears, click Delete. - or – Click the Delete button
3
.
In the Confirm dialog box, click Yes to delete the folder and return to the Combination Explorer.
Restricting Access to Folders If you have OPTIMA_Administrator permissions, you can restrict access to folders to prevent users, other Administrators, from editing, moving or deleting them. To restrict access to a folder: 1
From the Inspector menu, select Module Combinations. -or Click the Module Combinations button
.
2
In the Combination Explorer, select the folder you want to restrict.
3
Right-click and then, from the menu that appears, click Properties.
4
On the Security tab in the Combination Folder Properties dialog box, select the Admin Folder checkbox.
5
Click OK.
6
If the selected folder has child folders, you will be asked if you want to apply changes to all child folders. This enables you to restrict all of the child folders of an Admin Folder. Click Yes to apply changes, otherwise click No.
To remove the restriction from a folder: Follow the previous steps and clear the Admin Folder checkbox.
Page 142
OPTIMA User Reference Guide Version 6.1
Viewing Pre-Defined Combination Windows To view a pre-defined combination window: 1
From the Inspector menu, click Module Combinations. – or – Click the Module Combinations button
2
.
In the Combination Explorer, select the file containing the combination window you want to view. A list of the combinations will appear in the right hand pane. You can choose to view the combinations as a list or as a list with details. To change between the two, right-click and then, from the menu that appears, point to View and select List or Details.
3
Double-click on a combination name to open that combination window.
4
Select the data you want to view, for example, the network elements and date. For more information, see Filtering Data in the Combination Window on page 155. Click the Run All Modules button combination
5
to view data for all the modules in the
If you want to view a single module, select it in the Module pane and click the Run Highlighted Module button
OPTIMA User Reference Guide Version 6.1
.
Page 143
Creating Combination Windows To create a new combination window: 1
From the Inspector menu, click New Combination. – or – Click the New Combination button
2
.
In the New Module Combination window that appears, either:
Right-click the Modules pane and, from the menu that appears, click Add Module. - or Click the Add Module to Combination button
.
From the Select Module dialog box, select the module you wish to use and click Open. The module appears in the Module Pane. – or –
In the Module Explorer, select the module you wish to use and drag and drop it onto the Modules pane. The module appears in the Module Pane. If you want to select more than one module, hold down the Shift key and click the modules you want to select before dragging.
3
You can now create links between the modules to view associated element data. For more information, see Displaying Element Data Across Modules on page 146.
4
To save the combination, right-click the Modules pane and, from the menu that appears, click Save. – or – Click the Save button
5
Page 144
.
In the Save Module Combination dialog box, type a name and description and click Save.
OPTIMA User Reference Guide Version 6.1
Removing Modules from the Combination Window To remove a module from the combination window: 1
In the New Module Combination window, select the module you want to remove and click the Remove Module button
.
2
The Confirm dialog box appears, click Yes to delete the module.
3
To save the window, click the Save button , type a name and description in the Save Module Combination dialog box and click Save.
Removing a module from a combination window does not delete that module from the Module Explorer.
Refreshing Modules in the Combination Window You use the Refresh Module option to update a module in the combination window. To refresh a module: 1
In the Modules pane, highlight the module you want to refresh.
2
Right-click the Modules pane and, from the menu that appears, select Refresh Module.
3
In the message box that appears, click Yes to confirm. The selected module is refreshed.
Deleting Combination Windows To delete a saved combination window: 1
In the Module Combination Explorer window, select the module combination you want to delete.
2
Click the Delete button
.
- or Right-click and, from the menu that appears, click Delete. 3
The Confirm dialog box appears, click Yes to delete the combination window.
OPTIMA User Reference Guide Version 6.1
Page 145
Displaying Element Data Across Modules When you combine modules you can also add links between them so that the modules display data for the same elements selected from any of the module network element trees. There are two different types of link: Tree links – are between modules and link elements in the module trees. When an element in one module tree is selected, all other elements with the same name are automatically selected in the other module trees. Links can be edited to include other matching attributes. Drill down links – are between levels in the same or other modules. Drill down links do not have default settings. When you create a drill down link, you also have to select a field to be used in the link. This link will enable you to view data from linked modules. To enable or disable linking within a combination: In the Module pane, right-click and from the menu that appears, click Enable Linking:
Page 146
OPTIMA User Reference Guide Version 6.1
Adding Links To add links in a Module Combination window: 1
Click the Edit Module Links button
.
- or Right-click the Modules pane and, from the menu that appears, click Edit Links. The Module Links dialog box appears. The Modules pane lists each module and each level under that module for which data is available. 2
Highlight a level in the Module pane and click Add. The Link Editor appears.
3
Select the type of link you want to create, either a Tree link or a Drill down link. If the link is between data levels in the same module, you must select Drill down link.
4
From the Additional Levels/Data Fields listed in the Source Module pane, select the level/field you want to link.
5
From the TARGET Module and Tree Level menus, select the module and level you want to link to. The Additional Levels pane shows the list of available levels.
6
Highlight the level you want to link to and click the > and < buttons to add or remove links from the Additional Links pane. If you have selected a drill down link, the first link is automatically set to the TARGET module tree level.
7
When you have finished adding links to the Additional Links pane, click OK.
8
In the Module Links dialog box, click OK to save the changes and return to the combination window. You can now run the linked modules from the grid.
Editing and Removing Links To edit or remove a link: 1
In the Links pane of the Module Links dialog box, highlight the link you want to edit or remove.
2
Click Edit, the Link Editor appears. Make the required changes and click OK. - or Click Remove.
3
In the Module Links dialog box, click OK to save the changes and return to the combination window.
OPTIMA User Reference Guide Version 6.1
Page 147
Running Linked Modules When you have added drill-down links between modules, you can run the linked modules from either the grid or the graph. Elements in a grid column that have available drill-down links are underlined and shown in blue text. To run linked modules from the grid: 1
Double-click the element name for which you wish to run linked modules. For example cell 306A.
2
In the Confirm dialog box, click Yes to run the linked modules. The data for the linked modules will appear in the grid.
To run linked modules from the graph: 1
Double-click the series point for which you wish to run linked modules.
2
In the Confirm dialog box, click Yes to run the linked modules. The data for the linked modules will appear in the grid.
Saving Combination Windows as Templates If you want to save the settings of a module combination and reuse them, you can save them as a template. You can also set a template to be your personal default for a module combination. When you save a combination window as a template, the following are saved: Layout Font Colours Threshold Module Selection Date Range Tiling information of the graphs Graph Scroll Information If you are the creator of a module combination and you set a template to be the default, it becomes the default template for every user viewing the module combination unless they have personal settings particular to that module combination.
Page 148
OPTIMA User Reference Guide Version 6.1
To save a combination window as a template: 1
In the Module Combination window, click the double down arrow the Template pane.
2
In the Template pane, click Save As New Template.
to expand
This picture shows an example:
3
In the dialog box that appears, type a name and click OK to save your template.
Loading Combination Window Templates If you have created your own combination window template, you can load it when you open a module combination. To load a combination window template: 1
In the Module Combination window which contains the module combination you want to apply the template to, click the double down arrow Template pane.
2
to expand the
In the Template pane:
Select the Run All Modules Immediately checkbox, if you want to run the template straight away. If you just want to load the template without running the modules, leave this checkbox unselected.
Select the template you want to load from the Change to Load Template dropdown list.
OPTIMA User Reference Guide Version 6.1
Page 149
This picture shows an example:
3
In the message box that appears, click Yes to confirm. The template is loaded.
Editing Combination Window Templates If you are the creator of a template, you can edit that template and/or set it as the default template for a combination window. To edit a combination window template: 1
In the Module Combination window, click the double down arrow the Template pane.
to expand
2
Make the required changes to the combination window and then click Update Settings.
3
In the message box that appears, click OK. The template is updated with the new settings.
4
If you want to set the template as the default template, click Set As Default Template and, in the message box that appears, click OK. The template is set as the default for the combination window.
Deleting Combination Window Templates To delete a combination window template: 1
In the Module Combination window which contains the module combination you want to apply the template to, click the double down arrow Template pane.
Page 150
to expand the
2
In the Template pane, select the template you want to delete from the Change to Load Template drop-down list.
3
In the message box that appears, click Yes to confirm. The template is deleted.
OPTIMA User Reference Guide Version 6.1
Restricting Access to Combination Windows If you have OPTIMA_Administrator permissions, you restrict access to combinations to prevent users, other Administrators, from editing them. To restrict access to a combination: 1
From the Inspector menu, select Module Combinations. -or Click the Module Combinations button
.
2
In the Combination Explorer, select the combination you want to restrict.
3
Right-click and then, from the menu that appears, click Properties.
4
In the Combination Module Properties dialog box, select the Admin Combination checkbox.
5
Click OK.
To remove the restriction from a combination, follow the previous steps and clear the Admin Combination checkbox.
Restricting Editing of Combination Windows You can use an owning group to restrict who has editing access to a combination. If a combination is assigned an owning group, then it can only be edited by members of that group. A combination can only have one owning group. To assign an owning group for a combination, you must have one of the following: OPTIMA_Administrator permissions OPTIMA_Advanced_User permissions and be a member the group that owns the combination To make a group the owner of a combination: 1
From the Inspector menu, click Module Combinations. -or Click the Module Combinations button
2
.
In the Combination Explorer window, select the combination you want to set the owning group for. You cannot assign the owning group for an Admin Combination, unless you have OPTIMA_Administrator permissions.
3
Right-click the selected combination and from the menu that appears, click Properties.
4
In the Combination Module Properties dialog box, select a group from the dropdown list.
5
Click OK.
OPTIMA User Reference Guide Version 6.1
Page 151
Copying Combination Windows If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can copy existing combination windows and then modify them. To do this: 1
From the Inspector menu, click Module Combinations. -or Click the Module Combinations button
2
.
In the Combination Explorer, select the combination window(s) you want to copy.
Use the Shift and Ctrl keys to select more than one combination at a time. 3
Right-click, and from the menu that appears, click Copy.
4
Select the folder that you want to copy the combination window(s) to.
5
Right-click, and from the menu that appears, click Paste. The combinations are copied to the specified folder.
Importing and Exporting Combination Windows If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can export OPTIMA module combinations to a datafile and then import and use them in another OPTIMA installation. You can import and export: Combinations Combination folders A combination of combinations and combination folders You must have OPTIMA_Administrator permissions to import and export Admin combinations and Admin folders. Importing Module Combinations To import a combination: 1
In the Combination Explorer, select the folder into which you want to import the file(s).
2
Click the Import Module Combination From File button
.
- or Right-click, and from the menu that appears, click Import. 3 Page 152
Click OK to confirm. OPTIMA User Reference Guide Version 6.1
4
In the Import Module Combinations dialog box, click the Browse button.
5
In the Browse for Folder dialog box, select the folder which contains the combination(s) you want to import and click OK.
6
In the File Name list, select the file(s) and/or folder(s) you want to import and click OK. Use the Shift and Ctrl keys to select more than one file and/or folder at a time.
7
If your selection includes combinations in sub-folders, you will be asked if you want to recreate the directory structure in the Combination Explorer. Click Yes to recreate the directory structure, otherwise click No.
8
In the message box that appears, click OK to import the combination(s). The combinations are imported to the specified folder.
Exporting Module Combinations To export a combination: 1
In the Combination Explorer, select the combination(s) and/or folder(s) you want to export. Use the Shift and Ctrl keys to select more than one combination and/or folder at a time.
2
Click the Export Module Combination to File button
.
- or Right-click, and from the menu that appears, click Export. 3
If your selection includes combinations in sub-folders, then in the Export Module Combinations dialog box, set the following options by selecting or clearing the appropriate checkboxes:
Export module combinations from sub-folders
Create folders in destination directory
4
Click OK.
5
In the Browse for Folder dialog box, select the folder into which you want to export the combination(s) and click OK.
6
In the message box that appears, click OK to export the combinations(s). The combinations are exported to the specified folder.
OPTIMA User Reference Guide Version 6.1
Page 153
Adding and Editing Favourites in OPTIMA OPTIMA enables you to save module combinations, reports and work areas as favourites. This means you will have fast and easy access to information, via a customised toolbar. The toolbar contains a shortcut button for each favourite you save and is enabled after you have saved one or more favourites. This is an example of the Favourites toolbar:
Favourites toolbar
To add or edit favourites: 1
From the Favourites menu, click Edit Favourites. You can right-click the module combination, report or work area you want to save and click Edit Favourites.
2
In the Edit Favourites dialog box that appears, edit an existing favourite by selecting it and modifying the information or delete a favourite from the list by selecting it and clicking Delete.
3
To add a favourite click Add and then, from the Favourite Type dialog box, select the type of item you want to add and click OK.
4
If you chose to add a module combination, in the Module Combination Explorer window that appears, select the combination you want to add and click OK.
5
If you chose to add a report, in the Report Explorer window that appears, select the report you want to add and click OK.
6
If you chose to add a work area, browse to the work area .INI file and click Open. The combination, report or work area appears in the Edit Favourites dialog box.
7
Click Icon and then in the dialog box that appears, select the icon file and click Open.
8
Click Save to close the Favourites Editor. A new button is added to the Favourites toolbar with the selected icon.
9
You can now access the favourite view by clicking the appropriate button on the Favourites toolbar. To share your favourites, save and load them to a .INI file.
Page 154
OPTIMA User Reference Guide Version 6.1
Filtering Data in the Combination Window In the combination window, you can filter the data you view in the grid and graph panes by: Selecting network elements from the modules in the combination. Data is only displayed for the selected items. Setting a date range. This option is available if a date filter has been included in the module. Setting parameter values. This option is available if a parameter has been included in the module. Setting time aggregation. This option is available if you have configured time aggregation.
Filtering Data by Selecting Network Elements You can select network elements from module to restrict the data shown in the combination window. You can select elements in the following ways: If you know where the network element appears in the module tree, click the + sign to expand the tree under the module containing the element you want and select the checkbox.
If you do not know where the element appears in the module tree, you can search for it within one module or across all modules. For more information, see Finding Elements in the Modules Pane on page 158. You can apply a filter to select a defined group of elements within the modules. For information, see Filtering Elements in the Modules Pane on page 159. You can select or clear all the elements under each network element by rightclicking the element name and, from the menu that appears, clicking All or Clear All.
OPTIMA User Reference Guide Version 6.1
Page 155
When you have selected the network element(s): Click the Run All Modules button or the Run Highlighted Module button to refresh the data based on this filtering.
Setting a Date Range You can restrict data by filtering on the current date or over a specified date range. To select a date or date range: 1
In the New Module Combination window, click the double down arrow expand the Date Range pane.
to
2
In the Date Range pane, click the Date Range button Parameter dialog box appears.
3
On the Range tab, select the period over which you require data in one of these ways:
. The Changing Date
To
Do this
Link to the global clock
Select the Start or End checkbox and then select Synchronise to Global Clock. The current date and time appears. Enter the required period in the Period box. For example, 2 days. You can set a global data and time in the OPTIMA Main Clock. For more information, see Using Clocks in OPTIMA on page 30.
Specify a duration whose start or end date you know
Click either the Start or End checkbox and choose the correct date. Enter the desired period in the period box. For example, 1 week. Select the Include Time checkbox, if you wish to set the start or end time in hours and minutes.
Specify a period whose start and end dates you know
Select the Start and End checkboxes and choose the required dates. Select the Include Time checkbox, if you wish to set the start or end time in hours and minutes. You cannot synchronise to the global clock if you set a start and end date.
4
5
To modify your time period further, on the Exclude/Include tab:
Select which days you want to include in the date range. Right-click the Dates of Week area and, from the menu that appears, you can Select All or Deselect All the days or choose just Weekdays or Weekends.
Select the Start and End hours for the days you have included.
Select the checkbox if you want to Exclude Holidays. For more information about holidays, see Excluding Particular Days from Reports on page 77.
Click the Run All Modules button to refresh the data.
or the Run Highlighted Module button
Data for the period that you specified is displayed. The dates you set are saved for this window and you can save different dates for each window separately unless you have linked to the global clock.
Page 156
OPTIMA User Reference Guide Version 6.1
Setting Parameter Values If you have pre-defined parameters, you can set parameter values to filter module data. For more information about defining parameters, see Defining Parameters for a Query on page 87. To set parameter values: 1
In the Module Combination window, click the Module Settings button Module Settings dialog box appears.
2
In the Module Settings dialog box, on the Parameter Settings tab, complete the following information: In this field
Do this
Operator
Select an operator from the drop-down list. For example, if you want to create a filter that only returns data for an exact value, then select the = operator.
Values
Type the default value(s) for the parameter.
. The
Multiple values must be separated by commas. - or Click the Values button and, in the dialog box that appears, set the default values you require and click OK. This button is only available when using certain data types (DATE and NUMBER) and/or operators (Between, Not Between, In List and Not In List). Show All
Select this checkbox if you want the parameter to display all of the values of the field.
3
If you want to set parameter values globally for all modules with the same parameter, select the parameter you require and click Apply Selected Values Globally.
4
Click OK.
5
Click the Run All Modules button to refresh the data.
OPTIMA User Reference Guide Version 6.1
or the Run Highlighted Module button
Page 157
Setting Time Aggregation If you have configured time aggregation for a module, you can set the time period at which to run the module. For more information about time aggregation, see Enabling Time Aggregation for a Query on page 94. To set time aggregation: 1
In the Module Combination window, click the Module Settings button
.
The Module Settings dialog box appears. 2
In the Module Settings dialog box, on the Time Aggregation tab, select the time period for the module, at the element hierarchy level you want the query to run.
3
If you want to set time aggregation globally for all modules, select the time period you require and click Apply Selected Values Globally. This setting will only be applied to queries that can run at the specified time period.
4
Click OK.
Click the Run All Modules button refresh the data.
or the Run Highlighted Module button
to
Finding Elements in the Modules Pane If you want to view data for a particular network element or group of elements, you can search for it in the Modules pane using the following options: Find in module – use this to find elements within a single module. Find across modules – use this to find elements across a number of modules.
Finding Elements Within One Module If you want to search in one module for a single network element:
Page 158
1
In the Modules pane, highlight the module you want to search.
2
Right-click the Modules pane and, from the menu that appears, click Find in Module.
3
In the Find dialog box, type the element you want find.
4
Click Find Next. If the element is found, it is highlighted in the Module pane. You can now select that element and run the module to view the data.
OPTIMA User Reference Guide Version 6.1
Finding Elements Across Modules If you want to search across several modules for a network element: 1
In the Modules pane, highlight a module.
2
Right-click and from the menu that appears, click Find Across Modules.
3
In the Find Across Modules dialog box, type the element you want to find.
4
Click Find Next. If the item is found, it is highlighted in the Module pane. You can now select that element and run the module to view the data.
Filtering Elements in the Modules Pane In the Modules pane, you can use filters to select a sub-set of performance data based on particular network elements. For example, you might want to select data for cells 10A, 10B and 10C only if these are known to be a group of problem cells. Filters are found in the Filters pane. If the pane is hidden, click the double down arrow
to display it.
Filters pane
You can create custom filters in the Filter Explorer. For more information see Using the Filter Explorer on page 165.
OPTIMA User Reference Guide Version 6.1
Page 159
Creating a Static Filter from a Selection You can create a static filter by selecting network elements in the Modules Pane. For more information about static filters, see Creating Static Filters in the Filter Explorer on page 166. To create a static filter from a selection: 1
In the Modules pane, select the checkbox for each element that you want to add to the filter.
2
Right-click the Modules pane and, from the menu that appears, click Create Filter From Selection.
3
To include the parent elements for each element you have selected, click With Path. - or To include just the selected element names, click Without Path.
4
In the Custom Filter dialog box that appears, complete the filter details as required on each page. For more information, see Creating Static Filters in the Filter Explorer on page 166.
5
When you are satisfied, click the Finish button on the final page. The filter is now available from the list of filters that appear in the Filters pane. This picture shows an example:
Page 160
OPTIMA User Reference Guide Version 6.1
Creating a Static Filter From the Grid Pane If you have run a module and data is displayed in the grid, you can create a static filter from the Grid pane . The filter will only contain the elements shown in the grid. For more information about static filters, see Creating Static Filters in the Filter Explorer on page 166. To create a static filter from the Grid pane: 1
Right-click and, from the menu that appears, click Create Filter. - or Click the Create Filter button
.
The Custom Filter dialog box appears. 2
In the Custom Filter dialog box that appears, complete the filter details as required on each page. For more information, see Creating Static Filters in the Filter Explorer on page 166.
3
When you are satisfied, click the Finish button on the final page. The filter is now available from the list of filters that appear in the Filters pane. This picture shows an example:
OPTIMA User Reference Guide Version 6.1
Page 161
Applying Filters In the Filters pane, you can apply filters in different ways using the Filters Pane toolbar. This picture shows an example of the Filters Pane toolbar:
Filters Pane toolbar
To apply a filter: 1
In the Filters pane, select the filter you want to apply by selecting its checkbox. You can apply more than one filter at a time. To select another filter simply select its checkbox. When you select a filter, the word Include is displayed next to it. This means that the filter's values will be included when the filter is applied. You can exclude a filter's values by clicking Include and changing it to Exclude.
Page 162
2
If you want the filter(s) to apply to all modules, ensure the Apply: all Modules checkbox is selected.
3
If you only want the filter(s) to apply to a selected module, unselect the Apply: all Modules checkbox and, in the Modules pane, select the module you want to filter.
OPTIMA User Reference Guide Version 6.1
4
Apply the selected filter(s) by using one of the three methods described in the following table: If you want to:
Do this:
Apply the selected filter(s) to the module tree.
Click the Select in Module Tree button
.
The elements within the filter(s) are selected in the Modules pane. Only show the selected filter(s) in the module tree.
Click the Display in Module Tree button
.
Only the elements within the filter(s) are shown in the Modules pane. Apply the selected filter(s) to the grid and graph.
Click the Apply to Grid and Graph button
.
Only the elements within the filter(s) are shown in the grid.
When you apply a filter, any elements you have previously selected will be cleared.
Selecting Elements Quickly You can use the Quick Selection list to select a list of elements in the Modules pane. You can also re-use previous lists. When you apply a filter, any elements you have previously selected will be cleared. To quickly select elements: 1
In the Filters pane, in the Quick Selection drop-down, type the list of elements you want to select. The elements must be separated by commas, for example, 10A,11B,11C. You can use wildcards to represent characters in filter values. There are two wildcards you can use:
2
Asterisk (*) - to represent zero or more characters. For example, if you type 'BSC*', you will filter all the elements that begin BSC.
Question mark (?) – to represent a single character. For example, if you type 'BSC?', you will filter all the four-character elements that begin BSC, such as BSC1 or BSC2.
Click one of the buttons on the Filters Pane toolbar to apply your selection. For more information, see Applying Filters on page 162.
The Quick Selection drop-down list holds the previous ten quick selection filters. To re-use one of these filters: 1
From the Quick Selection drop-down list, select the one you want to use.
2
Click one of the buttons on the Filters Pane toolbar to apply your selection. For more information, see Applying Filters on page 162.
OPTIMA User Reference Guide Version 6.1
Page 163
Displaying Data in Graphs In the Graphs pane, you can add and arrange graphs. If the pane is hidden, click the double down arrow
to display it.
Graphs pane
The following table describes the options that are available in the Graphs pane: Click this:
To:
Add Graph
Add a new graph to the combination window. You can add as many graphs as required.
Align graphs horizontally in the combination window. Align graphs vertically in the combination window. Display each graph on a separate tab. Detach graphs from the combination window and display them in their own dialog box. To dock the graphs again, click the Re-dock button
Link Graphs
.
Link graphs that have the same x-axis field. In the message box that appears, you can choose to link graphs by either x-axis only or by x-axis and y-axis. Once you have linked your graphs, they will zoom and scroll in unison. To unlink graphs, click Link Graphs again.
Save Graphs to HTML Bring Graphs to Front Graph Scrolling
Export graphs to an HTML file. Display detached graphs in front of other open windows. Set all the graphs to equal size. It initially aligns all the graphs horizontally and then sets the size of each graph to 1/3 of the screen size.
For detailed information about customising graphs, see Using Graphs on page 191.
Page 164
OPTIMA User Reference Guide Version 6.1
Using the Filter Explorer In the Filter Explorer, you can create, edit and delete filters. You can use four types of filter in OPTIMA. These are described in this table: This Type
Can be Used By
And is Stored
Personal
The user who creates them and administrators
In the OPTIMA database
Group
The user who creates them, group members, and administrators
In the OPTIMA database
System
Administrators only
In the OPTIMA database
ENTERPRISE
Any user with the correct ENTERPRISE permissions
In the ENTERPRISE database
You cannot create ENTERPRISE filters in OPTIMA Lite. To open the Filter Explorer, either: From the Tools menu, click Filters. - or Click the Filters button
.
The Filter Explorer opens, this picture shows an example:
Filter Explorer
OPTIMA User Reference Guide Version 6.1
Page 165
About the Filter Explorer Toolbar This picture shows the Filter Explorer toolbar:
Filter Explorer toolbar
Creating Static Filters in the Filter Explorer Static filters are based on fixed filter values that you specify as part of the filter definition. To create a static filter: 1
In the Filter Explorer, either: From the File menu, point to New and click New Static Filter. - or Click the Create New Static Filter button
.
The Static Filter (Add) dialog box appears. This picture shows an example:
Page 166
OPTIMA User Reference Guide Version 6.1
2
In the Static Filter (Add) dialog box, on the Filter Details tab, complete the following information: In this field:
Do this:
Name
Type a name for the filter.
Description
Type a description for the filter.
Filter Type
Choose the OPTIMA or ENTERPRISE filter type you require by selecting the appropriate radio button.
3
Click Next.
4
On the Filter Values tab, complete the following information: In this pane:
Do this:
Filter Values
Type the values on which you want to filter. For example, if you want to filter on cell 10A, type 'Cell10A'. You can use wildcards to represent characters in filter values. There are two wildcards you can use: Asterisk (*) - to represent zero or more characters. For example, if you type 'BSC*', you will filter all the values that begin BSC. Question mark (?) – to represent a single character. For example, if you type 'BSC?', you will filter all the four-character values that begin BSC, such as BSC1 or BSC2. You cannot use wildcards with ENTERPRISE filters.
Load Filter
If you want to load filter values from a file, click the browse button, browse to the filter file and click Open.
5
Click Next.
6
If you chose to save your filter as a Group or Administration filter, the Security tab appears. On the Security tab, complete the following information: In this field:
Do this:
Admin Only
Select this checkbox if you only want Administrators to access the filter. This option is only enabled for Administration filters.
Group list
Select the user group(s) that can use the filter. To add a new group: 1. Click Add. 2. In the Select Groups dialog box that appears, select the group(s) you want to have access to this filter and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
7
Click Next.
8
On the Complete Filter tab, check your filter details and then click Finish. The filter is now available from the list of filters that appear in the Filter Explorer.
OPTIMA User Reference Guide Version 6.1
Page 167
Creating Dynamic Filters in the Filter Explorer Dynamic filters produce a list of filter values by running a data query. This type of filter is dynamic because the values returned by the data query can change. For example, you could define a dynamic query to return all cells with percentage dropped calls less than 5% in the past 24 hours which could return different filter values each time it was run. To create a dynamic filter: 1
In the Filter Explorer, either: From the File menu, point to New and click New Dynamic Filter. - or Click the Create New Dynamic Filter button
.
The Dynamic Filter (Add) dialog box appears. This picture shows an example:
2
Page 168
In the Dynamic Filter (Add) dialog box, on the Filter Details tab, complete the following information: In this field:
Do this:
Name
Type a name for the filter.
Description
Type a description for the filter.
Filter Type
Choose the OPTIMA or ENTERPRISE filter type you require by selecting the appropriate radio button.
OPTIMA User Reference Guide Version 6.1
3
On the SQL tab, you define the data query for the dynamic filter. To do this:
Click Edit. The Data Explorer appears.
In the Data Explorer, define the SQL for the data query. For more information, see Defining a Query on page 82.
When you have finished, close the Data Explorer to save your SQL. The SQL is added to the SQL pane.
4
Click Next. The query is executed and the filter results are displayed in the Filter Values pane of the Filter Values tab.
5
Click Next.
6
If you chose to save your filter as a Group or Administration filter, the Security tab appears. On the Security tab, complete the following information: In this field:
Do this:
Admin Only
Select this checkbox if you only want Administrators to access the filter. This option is only enabled for Administration filters.
Group list
Select the user group(s) that can use the filter. To add a new group: 1. Click Add. 2. In the Select Groups dialog box that appears, select the group(s) you want to have access to this filter and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
7
On the Complete Filter tab, check your filter details and then click Finish. The filter is now available from the list of filters that appear in the Filter Explorer.
Converting a Dynamic Filter to a Static Filter There are two options you can use to convert dynamic filters into static filters. This table describes the two options: Use this option:
To:
Create New Filter
Convert a dynamic filter into a static filter which you can change the name, description and/or type of.
Replace Dynamic Filter
Convert a dynamic filter into a static filter with exactly the same name, description and type.
OPTIMA User Reference Guide Version 6.1
Page 169
To create a new static filter from a dynamic filter: 1
In the Filter Explorer, select the dynamic filter you want to convert.
2
Right-click, point to Convert to Static Filter and click Create New Filter. The dynamic filter's data query is executed and then the Custom Filter (Convert Dynamic Filter to Static Filter) dialog box appears.
3
In the Custom Filter (Convert Dynamic Filter to Static Filter) dialog box, on the Filter Details tab, you can:
Type a new name and/or a description for the filter
Change the filter type by selecting the appropriate radio button
4
Click Next. The results of the data query are displayed as fixed filter values in the Filter Values pane on the Filter Values tab.
5
Click Next.
6
If you chose to save your filter as a Group or Administration filter, the Security tab appears. On the Security tab, complete the following information: In this field:
Do this:
Admin Only
Select this checkbox if you only want Administrators to access the filter. This option is only enabled for Administration filters.
Group list
Select the user group(s) that can use the filter. To add a new group: 1. Click Add. 2. In the Select Groups dialog box that appears, select the group(s) you want to have access to this filter and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
7
Click Next.
8
On the Complete Filter tab, check your filter details and then click Finish. A new static filter is created.
To replace a dynamic filter with a static filter:
Page 170
1
In the Filter Explorer, select the dynamic filter you want to convert.
2
Right-click, point to Convert to Static Filter and click Replace Dynamic Filter.
3
In the message box that appears, click Yes to confirm. The data query is executed and a new static filter is created. The results of the data query provide the fixed filter values for the new static filter.
OPTIMA User Reference Guide Version 6.1
Setting Filter Security If you are the creator of a group filter or an OPTIMA Administrator, you can select which groups are allowed to use that group filter. To do this: 1
In the Filter Explorer, select the group filter.
2
Right-click and, from the menu that appears, click Properties. The Filter Properties dialog box appears.
3
In the Filter Properties dialog box, on the Security tab, select the user group(s) that can use the filter. To add a new group:
Click Add.
In the Select Groups dialog box that appears, select the group(s) you want to have access to this filter and use the > button to move them to the Destination List. Use the Shift and Ctrl keys to select more than one group at a time and use the >> button to add all the groups to the Destination List.
4
Click Apply to save your changes.
5
Click OK to close the Filter Properties dialog box and return to the Filter Explorer.
Editing Filters in the Filter Explorer In the Filter Explorer, you can edit existing filters. To do this: 1
In the Filter Explorer, select the filter you want to edit.
2
Right-click, and from the menu that appears, click Edit Filter. - or Click the Edit Filter button
3
.
In the Custom Filter (Edit) dialog box that appears, edit the filter details as required on each page. When you are satisfied, click the Finish button on the final page. You cannot edit ENTERPRISE filters in OPTIMA Lite.
Renaming Filters In the Filter Explorer, you can rename existing filters. To do this: 1
In the Filter Explorer, select the filter you want to rename.
2
Right-click, and from the menu that appears, click Rename.
3
Type in the new name for the filter and press Enter.
OPTIMA User Reference Guide Version 6.1
Page 171
Deleting Filters To delete a filter: 1
In the Filter Explorer, select the filter you want to delete.
2
Right-click, and from the menu that appears, click Delete. - or Click the Delete Filter button
3
.
In the message box that appears, click Yes to confirm. The filter is deleted from the list of filters in the Filter Explorer. You cannot delete ENTERPRISE filters in OPTIMA Lite.
Finding Filters If you want to view a particular filter, you can search for it in the OPTIMA database. To find a filter: 1
From the Edit menu, click Search. - or Click the Search button
.
2
In the Find Filter dialog box that appears, type the name of the filter you wish to find.
3
Click Find First and the first occurrence of the filter is highlighted.
4
Click Find Next and the next occurrence of the filter is highlighted.
5
To close the dialog box and return to the Filter Explorer, click Cancel.
Copying Filters in the Filter Explorer To copy a filter: 1
In the Filter Explorer, select the filter that you want to copy.
2
Right-click, and from the menu that appears, click Copy Filter. - or Click the Copy Filter button
.
3
Select the folder where you want to copy the filter to.
4
Right-click, and from the menu that appears, click Paste Filter. – or – Click the Paste Filter button
.
The filter is copied to the specified folder.
Page 172
OPTIMA User Reference Guide Version 6.1
Viewing Filters in the Filter Explorer To view the different types of filter available in the Filter Explorer: In the Filter Explorer, in the left-hand pane, click the filter type you want to view. All existing filters of that type are then displayed in the right-hand pane. For example, click Group to view the Group filters.
If you only want to view your own personal filters, right-click in the left-hand pane and, from the menu that appears, click Show only current user's filters.
OPTIMA User Reference Guide Version 6.1
Page 173
Page 174
OPTIMA User Reference Guide Version 6.1
CHAPTER 7
Customising Grids in OPTIMA You can show data in grid format when you run either: A performance alarm in the Alarm Explorer A module in the Module Combination window A query in the Data Explorer For modules, a separate grid is displayed for each module in the combination window. You can switch between grids by clicking the appropriate tab above the grid. This picture shows an example:
Example Combination Window
OPTIMA User Reference Guide Version 6.1
Page 175
Many of the tools used are found by right-clicking the grid. You can also set options to use as the default settings for all grids in OPTIMA. For information about how to do this, see Setting Default Grid Options on page 37. When a grid contains a large number of records some of the tools, such as filtering and grouping, may slow down the speed with which data is shown in the grid. This is due to the background processing of these tools. You can prevent this slow down by disabling these tools after a given number of records are returned from a query. For more information, see Setting Grid Preferences on page 36.
In This Section About the Tools for Customising a Grid 176 Customising Columns in a Grid 177 Searching for Data in Grids 181 Filtering Data in OPTIMA Grids 182 Summarising Data 185 Viewing Details of a Single Network Element in a Grid187 Printing Grids 188 Exporting OPTIMA Grids 189 Counting Records in OPTIMA Grids 189 Viewing SQL in Grids 190
About the Tools for Customising a Grid To view the tools menu, hover the mouse cursor over a grid and right-click. This picture shows the menu that appears:
Grid tools menu
Page 176
OPTIMA User Reference Guide Version 6.1
You can show the toolbar above the grid by pointing to Toolbars and from the menu that appears select Toolbar. The toolbar duplicates the options in the popup menu:
Grid toolbar
Customising Columns in a Grid You can customise the way each grid displays data using the tools described in the following sections. If you have defined a maximum number of columns to display when you run a query (for more information, see Setting Grid Preferences on page 36), then all the columns may not appear in the grid. If you want to display all the columns before you begin to customise them, click the Load All Columns button
.
Sorting Data Within Grid Columns To see by which column data in the grid is sorted, look for the arrow in the column heading. An up arrow indicates data is in ascending order and a down arrow indicates data is in descending order:
Grid columns
To sort the data using the column headings: Click the heading for the column by which you wish to sort the data. Tip : If you want to sort by more than one column, hold down the Shift key and click the heading for each column by which you want to sort the data. The table refreshes to show information sorted in ascending or descending order by the column you clicked. To clear a sort on a column: Hold down the Ctrl key and click the heading for the column from which you want to remove the sort.
OPTIMA User Reference Guide Version 6.1
Page 177
Sorting Data Before Running a Module Before you run a module, you can sort data on the server. This is particularly useful if you know the query will return a large amount of data. The sorting function is much quicker when run on the server. To sort data on the server: 1
Highlight the module in the Modules pane.
2
Right-click the grid and, from the menu that appears, click Server-side Sorting.
3
In the Sort Order dialog box that appears, highlight the column by which you want to sort the data and click the right arrow button. Repeat this step for all the columns you want to sort by. You can move all the selected columns back to the list on the left by clicking the double left arrow button.
4
Sort the columns in the right-hand pane by using the Up and Down buttons.
5
Use the ASC or DESC button to switch between ascending and descending sort orders for each column.
6
Click OK to return to the grid.
7
You can now run the module. To do this, in the Modules pane: Click the Run Highlighted Module button
.
Fixing Grid Columns For OPTIMA windows that contain a grid showing data, you can choose to fix any number of columns in that grid. This means that they remain displayed while the other columns of data will still scroll. For example, in a window showing Cell Statistics, you might want to have the Cell Identification and Site name columns fixed so that they are always shown when you are scrolling through the data. This makes it easy to see which information belongs to which cell. To fix columns: Right-click the grid, point to Fix columns and choose the number of columns you wish to fix. - or Click the Fix N Columns button and in the Fix Columns dialog box that appears, type the number of columns and click OK.
Page 178
OPTIMA User Reference Guide Version 6.1
Scrolling to a Grid Column To scroll to a column: 1
Ensure the Row Highlight option is not selected. For more information, see Viewing Details of a Single Network Element in a Grid on page 187.
2
Right-click the grid and, from the menu that appears, select Scroll to Column.
3
In the Scroll to Column dialog box that appears, select from the drop down menu the column that you want to scroll to and click OK.
Changing the Grid Column Settings OPTIMA enables you to change the column settings. You can set the position, size and width of columns and also hide columns. You can also change how text appears in the columns. To change the column settings: 1
Right-click the grid and from the menu that appears select Column Settings. - or Click the Column Settings button
2
.
In the Column Settings window, set up your columns as required: To:
Do this:
Move a column up or down
Select the column from the list and click the Move Up and Move Down buttons as appropriate.
Move a column to the beginning Select the column from the list and click the Move to First and Move to Last or end buttons as appropriate Change the width of the column Double-click on the column you want to modify and, in the Column dialog box, type the width you want the column to be. – or – Select the column to which you want to make changes and click the Edit button. In the Column dialog box, type the width you want the column to be. – or – Click in the Width column next to the column to which you want to make changes and type in the width you want the column to be. Hide or show a hidden column Select the checkbox in the Show column for each column to want to display. You can Show All, or Hide All, by clicking the Show All or Hide All buttons.
You can also use shortcuts to quickly edit columns. For more information, see Shortcuts for Changing Column Settings on page 180.
OPTIMA User Reference Guide Version 6.1
Page 179
You can change how the text appears in all the columns in your grid by changing the column fonts. If you have also set threshold and conditional fonts, these will overwrite the column font. To change the column font: 1
Right-click the grid and, from the menu that appears, select Font.
2
In the Font dialog box that appears, select how you want the text to appear.
3
Click OK to close the Font dialog box and save the changes.
Shortcuts for Changing Column Settings You can also change the column settings in the grid using the following shortcuts: To:
Do this:
Change the position of a column
Select the column and drag it to the desired location in the table.
Change the width of the column
Place the cursor between the column titles (above the column divider) then click and drag the cursor to the required width.
Automatically size the column so you can read all the column text
Place the cursor between the column titles (above the column divider) then double click between the columns. The column to the left will automatically resize.
Setting Thresholds and Conditional Fonts You can use conditional fonts to highlight certain data values, for example, if you want to show congestion greater than 1% in blue, and greater than 2 % in red. You can do this as part of the process of setting thresholds. Conditional fonts will override counter thresholds that have been set via the Thresholds window. For example, if the conditional font has been set on a column containing Erlang data, the data will be displayed using the conditional fonts rather than the global Erlang threshold colours. To set thresholds: 1
Right-click the grid and, from the menu that appears, select Column Settings. - or Click the Column Settings button
Page 180
.
2
In the Column Settings window, double-click in one of the Threshold columns.
3
In the Column window that appears, select a checkbox to enable that threshold.
4
Type in a value for the threshold and select a logical operator (=, <>, >, >=, <, <=) from the drop-down menu.
5
Click the font type.
6
Click OK to close the Font dialog box and then click OK to close the Column dialog box.
button to set the conditional fonts. You can set the colour, size and
OPTIMA User Reference Guide Version 6.1
You can set up to three threshold for each column.
Refreshing Data The Refresh data option is used to update data in the grid to show the most recent query run. To refresh data: Right-click the grid and, from the menu that appears, select Refresh Data. - or Click the Refresh Data button
.
Searching for Data in Grids You can search for data in a grid using the Search toolbar. To do this: 1
Make sure the toolbar is displayed by selecting Search Bar from the Toolbars menu:
2
In the Search On box, from the menu select the item that you want to find.
3
In the For box, type a value or element name as required.
4
Select the checkboxes if you want to find a Partial Match and/or you want your search to be Case Insensitive. If you search for a partial match of CELL and 301, the search would return all cells containing the number 301. That is 30100, 30101, 40301 and so on.
5
Click Find to start the search. The grid scrolls and the line that contains the nearest match to your search is indicated with an arrow:
OPTIMA User Reference Guide Version 6.1
Page 181
Filtering Data in OPTIMA Grids You can filter the data in one or more columns of the grid. This makes it easier to view specific information. For example, the grid could display data for a number of days, but you may want to quickly view the data for just one of those days. Tip : If a column has a filter applied to it, the filter arrow is shown in blue. Using filters, you can define the data in the grid in the following ways: Display data for a single value from one or more columns, for example BSC1 Display data which is filtered by rules applied to one column, for example where the Erlang is less than 5 or greater than 10 Display data which is filtered by rules applied to more than one column, for example where the Erlang is less than 5 or greater than 10 and the BSC is equal to BSC1
Selecting a Single Value to Filter the Grid You can select a single value from any column in the grid and only view the data which applies to that value. To select a value: Click the arrow on the heading of the column you want to filter and, from the menu that appears, click the value. Repeat this for each column that you wish to filter.
To remove a filter: Click the blue arrow on the heading of the column from which you want to remove the filter and then click All. You can limit number of values that are listed by editing your user preferences. For more information, see Setting Grid Preferences on page 36.
Page 182
OPTIMA User Reference Guide Version 6.1
Filtering One Column of the Grid You can create a filter which applies to only one column of the grid but uses rules to return more than one value in that column. To create a filter: 1
Click the arrow on the heading of the column you want to filter and, from the menu that appears, click Custom.
The Custom Filter dialog box appears. 2
Select a rule and type a value for your filter. If the value is a date, click the arrow in the value box and a calendar appears from which you can select a date.
3
If you want to define a second rule, you must select a logical operator for your filter.
4
Click OK. The grid refreshes to show only the filtered data, the filtered column's arrow changes to blue and a summary of the filter appears below the grid.
5
Repeat the above steps for each column that you wish to filter.
To remove a filter: Click the blue arrow on the heading of the column from which you want to remove the filter and then click All. - or Click X in the filter summary.
OPTIMA User Reference Guide Version 6.1
Page 183
Filtering More Than One Column In The Grid You can create a filter which applies to more than one column of the grid and uses rules to return more than one value for each column. This is done in the Filter Builder. To open the Filter Builder: Click Customize, to the right of the filter summary, below the grid.
To create a filter in the Filter Builder:
Page 184
1
Click Filter and select Add Condition.
2
In the condition row that appears, the first column from the grid is automatically displayed. To change this, click the column name and from the list of columns that appear select the appropriate one.
3
To select an operator, click on the default operator and from the list that appears select the appropriate operator.
4
To select a value, click Empty and type a value. If the value is a date, click the arrow in the value box and a calendar appears from which you can select a date.
5
Repeat the above steps until you have defined your filter.
6
Click Apply to view the grid with the filter applied.
7
Click OK to apply the filter and close the Filter Builder.
OPTIMA User Reference Guide Version 6.1
To remove a filter: Click the blue arrow on the heading of the column from which you want to remove the filter and then click All. - or Click X in the filter summary.
Summarising Data OPTIMA enables you to summarise the data contained in the grid. You choose at least one column by which you wish to group the data, for example, you could choose to group by CELL. The data in the column you choose to group by cannot be summarised. You can then summarise each column by one summary type, that is either count, average, minimum, maximum or total. For example:
Summaries Example
OPTIMA User Reference Guide Version 6.1
Page 185
To create a summary of data in one or more columns: 1
Right-click and, from the menu that appears, click Customise Summaries. - or Click the Customise Summaries button
.
2
In the Quick Aggregation dialog box that appears, select the summary type you require from the Global Aggregate drop-down list.
3
If you want to apply the summary type to all columns, click the Apply Aggregate to All Fields button
.
- or If you want to apply the summary type to one or more columns, select the column(s) in the Field Name list and click the Apply Aggregate to Selected Fields button
.
Use the Shift and Ctrl keys to highlight more than one column at a time. This picture shows an example:
To clear all summaries, click the Clear All Aggregates button 4
Page 186
.
Click OK to save your changes and close the Quick Aggregation dialog box.
OPTIMA User Reference Guide Version 6.1
To view summarised data: 1
Ensure you have created a summary for each column you want to summarise then decide by which column you want to group the data, this column must not have a summary created for it.
2
Click the heading of the column by which you want to group the data and drag the heading into the grey area above the grid.
The grid displays the summaries. 3
Repeat the step above for each column by which you want to group the data.
To remove the summaries: Click the heading in the grey area above the grid and drag it back onto the grid.
Viewing Details of a Single Network Element in a Grid If your grid has many columns, you might want to highlight a row or view all the details for a single network element. In OPTIMA, you can do this is two ways: Highlighting a Row in a Grid To highlight a row: 1
Select a cell in the row you want to highlight.
2
Right-click and, from the menu that appears, select Row Highlight.
To clear the row highlight, click the button again. Viewing Details in a Grid To view details for a single network element: 1
Select a cell in the row for the element you wish to view.
2
Right-click and, from the menu that appears, select View Details. - or Click the View Details button
3
.
A Grid Details window appears, detailing information on your chosen element.
OPTIMA User Reference Guide Version 6.1
Page 187
This picture shows an example:
4
In the Grid Details window, you can manipulate your data in the following ways: Manipulation
To Do This
Move the position of data
Click the data you wish to move and drag it to the required position.
Sort the details by Field name or Data
Click on the Field name or Data header box to sort the details. Click again to view the details in descending order.
Delete a piece of data
Right-click the data and from the menu that appears, click Delete. Note : Deleting data in this way removes it from the Grid Dialog Box only; it still remains in the Cell Statistics window.
Print the data
In the Grid Details window, right-click and, from the menu that appears, select Print or Print Preview. Note : This will only print data for this network element.
Printing Grids From the combination window, you can print: A single network element. To do this, you first need to view the details for that single element, for more information on this, see Viewing Details of a Single Network Element in a Grid on page 187. The entire grid. To print an entire grid: 1
Right-click the grid and from the menu that appears select Print. - or Click the Print button
2
Page 188
.
In the Print dialog box, choose your options then click OK.
OPTIMA User Reference Guide Version 6.1
Exporting OPTIMA Grids You can export OPTIMA grids to: A CSV or HTML file The Clipboard, from where you can paste the grid into other applications A Microsoft
Excel
spreadsheet
To export a grid: 1
Right-click the grid, point to Export and choose one of the following:
Clipboard
File as CSV
File as HTML
Excel
- or If you just want to export to Excel, click the Export to Excel button 2
.
If you export to the clipboard, open an application and paste the grid. – or – If you export to Excel, an Excel spreadsheet displaying the data opens. – or – If you select .CSV or .HTML, type a filename then click Save.
Counting Records in OPTIMA Grids You can count the total number of cells shown in the grid, even for a particular filter displayed. To count the records shown: Right-click the grid and, from the menu that appears, select Record Count. - or Click the Record Count button
.
A dialog box appears, displaying the number of records.
OPTIMA User Reference Guide Version 6.1
Page 189
Viewing SQL in Grids You can view the SQL query used in the module that calls the data shown in the grid. You might want to do this to check you are querying the correct tables, or you may wish to copy the SQL to use it elsewhere. To view the SQL: Right-click the grid and, from the menu that appears, select Show SQL. A window appears, showing the SQL. You can copy the SQL in this window by pressing Ctrl+C.
Page 190
OPTIMA User Reference Guide Version 6.1
CHAPTER 8
Using Graphs When you run a module in the Module Combination window, the data is shown in grid and graph format. This chapter describes the tools you can use to customise the graph. Many of the tools used are found by right-clicking the graph.
In This Section About the Options for Customising a Graph Changing the Appearance of Graphs About the Navigating Tools About the Appearance Tools Changing the X-Axis Field Ordering Graph Data Selecting and Extending Trends on a Graph Viewing Details in a Graph Printing OPTIMA Graphs Exporting OPTIMA Graphs Saving OPTIMA Graphs as Pictures About the Series List
OPTIMA User Reference Guide Version 6.1
192 193 199 201 203 204 205 206 207 208 209 209
Page 191
About the Options for Customising a Graph To view the tools menu, hover the cursor over a graph and right-click. This picture shows the menu that appears:
Graph tools menu
By selecting Toolbar, you can display the navigating, appearance, function, printing, and exporting options from the menu as a toolbar. This picture shows the sections of the toolbar that appears:
Graph toolbar
Page 192
OPTIMA User Reference Guide Version 6.1
Changing the Appearance of Graphs You can set up the properties of graphs using the OPTIMA Graph Options dialog box. Once this is set up for one graph, it is used as the default for all other graphs. To open the OPTIMA Graph Options dialog box: Right-click the graph and from the menu that appears, select Properties. You can edit the graph options on the following tabs: General Axis Series Functions Threshold Lines Advanced Options Chart Themes
Using the General Tab in the OPTIMA Graph Options Dialog Box On the General tab you can: Choose to show or hide the legend key and amend the alignment Select auto marks Edit the background, weekend and holiday colours Showing and Hiding the Legend Key You can select to show or hide the legend key in the OPTIMA Graph Options dialog box. To do this: 1
Right-click the graph and from the menu that appears, select Properties.
2
On the General tab, select the Show Legend checkbox.
3
To amend the alignment of the legend key, in the Legend Alignment pane, click the required option such as Left, Right, Top or Bottom.
4
Click Apply to view the changes and then click OK to save the changes.
OPTIMA User Reference Guide Version 6.1
Page 193
Setting the Auto Marks You can set the mouse so that when it is hovered over a series, the information about that point in the series is automatically: Displayed in the graph Highlighted in the grid This is known as auto marks. To set the auto marks: 1
Right-click a graph and from the menu that appears, select Properties.
2
On the General tab, select the Auto marks checkbox.
3
Click Apply to view the changes and then click OK to save the changes. Now when you hover over a point on a graph, the information is automatically displayed, as shown here:
Setting the Colours You can set different colours for the weekends and holidays shown on the graph as well as setting the background colour for the entire graph area. To set a colour:
Page 194
1
Right-click a graph and from the menu that appears, select Properties.
2
On the General tab, click the Change button next to the holiday, weekend or background colour.
3
In the Colour dialog box that appears, click on the colour you want to use and click OK.
4
In the OPTIMA Graph Options dialog box, click Apply to view the changes and then click OK to save the changes.
OPTIMA User Reference Guide Version 6.1
Changing the Appearance of Graph Axis On the Axis tab of the OPTIMA Graph Options dialog box, you can: Add grid lines to your graph Change the values of each axis Hide the x-axis border Amend the date format Change the angle of the labels on each axis Change the position of the x-axis border Adding Grid Lines To add gridlines to thegraph: 1
Right-click the graph then, from the menu that appears, select Properties.
2
Select the Axis tab and click the Gridlines checkbox for the relevant axis, either left, bottom or right.
3
Click Apply to view the changes and then click OK to save the changes.
To remove gridlines, repeat the process. Changing the Values of an Axis You may want to change the values of an axis because you wish to view the values as a percentage or because values for one of two selected counters, shown on different axes, may be too small to display. To change the values of an axis in an OPTIMA graph: 1
Right-click the graph then, from the menu that appears, select Properties.
2
On the Axis tab, under the axis you want to change, deselect the Automatic checkbox and insert the required minimum and maximum values.
3
Click Apply to view the changes and then click OK to save the changes.
Hiding the Border If you want to hide the x-axis border of a graph: 1
Right-click the graph and from the menu that appears, select Properties.
2
On the Axis tab, in the Bottom pane, select the Hide Border checkbox.
3
Click Apply to view the changes and then click OK to save the changes.
OPTIMA User Reference Guide Version 6.1
Page 195
Changing the Date Format If you want to change the format of any dates that are shown on the graph axis: 1
Right-click the graph and from the menu that appears, select Properties.
2
On the Axis tab, in the Bottom pane, select the required Date Format from the list.
3
Click Apply to view the changes and then click OK to save the changes.
Changing the Angle of the Labels You can change the angle of the labels on the bottom axis to enable more labels to be viewed. To do this: 1
Right-click the graph and from the menu that appears, select Properties.
2
On the Axis tab, in the Bottom pane, use the up and down arrows on the Angle box to select the angle in degrees.
3
Click Apply to view the changes and then click OK to save the changes.
Changing the Position of the Border If you want to change the position of the x-axis border: 1
Right-click the graph and from the menu that appears, select Properties.
2
On the Axis tab, in the Bottom pane, use the up and down arrows on the Position box to select a percentage between -100% and 100%.
3
Click Apply to view the changes and then click OK to save the changes.
Changing the Thickness of Graph Lines If your graph is a line graph, you can adjust the thickness of the lines displayed. To do this:
Page 196
1
Right-click the graph and from the menu that appears, select Properties.
2
On the Line Series tab, select the required line thickness – Thin, Medium or Thick.
3
Click Apply to view the changes and then click OK to save the changes.
OPTIMA User Reference Guide Version 6.1
Using the Functions Tab in the OPTIMA Graph Options Dialog Box In the Functions tab of the OPTIMA Graph Options dialog box you can set a gap period. The gap period is normally set at twice the data capture period, for example, if the data is captured at hourly intervals, then the gap period would be set at two hours. To set the gap period: 1
Right-click the graph and from the menu that appears, select Properties.
2
On the Functions tab, in the Gap Period pane, use the up and down arrows to set the number and from the drop-down list select the time period.
3
In the Moving Average Function pane, set the number of value used in the moving average function.
4
Click Apply to view the changes and then click OK to save the changes.
Changing the Thickness of Bars on Bar Graphs If your graph is a bar graph, you can adjust the thickness of the bars displayed. To do this: 1
Right-click the graph and from the menu that appears, select Properties.
2
On the Bar Series tab, in the Multiple Bar pane, choose how you want the bars to appear – None, Side, Stacked, Stacked 100%.
3
If your bar graph has DATETIME on the X-axis, you can specify the thickness of the bars by typing a number between 0 and 100 in the Bar Width field. The default bar width is 70.
4
Click Apply to view the changes and then click OK to save the changes.
Displaying Thresholds on Graphs You can set thresholds and then display a threshold line in the graph. This does not affect the threshold display options in the Grid. To set the threshold: 1
Right-click the graph and from the menu that appears, select Properties.
2
On the Threshold tab, click Add.
3
Type a name for the threshold, for example GSM_Standard.
4
Insert a value.
5
Select the Axis and choose a colour.
6
Click OK.
7
In the Graph Display Options dialog box, click OK to save the changes.
OPTIMA User Reference Guide Version 6.1
Page 197
To edit or delete a threshold, highlight the threshold and click Edit and make your changes or click Delete. To display threshold lines: Right-click the graph and from the menu that appears, select Show Threshold Lines. The threshold lines for this graph are displayed.
Using Advanced Options On the Advanced Options tab of the OPTIMA Graph Options dialog box you can set a wide range of graph options. The Advanced Options tab has two sub-tabs which are described in the following table: On this sub-tab:
You can:
Chart
Perform or set many of the options for graphs, for example: Print Preview Zoom Scroll Axis Titles Legend
Export
Set the options for exporting graphs.
Using Chart Themes On the Chart Themes tab of the OPTIMA Graph Options dialog box, you can apply pre-defined themes, such as Windows XP, to your graphs. To apply a theme to a graph:
Page 198
1
Right-click the graph and, from the menu that appears, select Properties.
2
On the Chart Themes tab, select a theme from the list in the left-hand pane.
3
Click Apply to apply the theme to your graph.
4
Click OK to save your changes and return to the combination window.
OPTIMA User Reference Guide Version 6.1
About the Navigating Tools You can use the following tools to navigate around the OPTIMA graphs: Zoom Rotate Cursor
Zooming and Scrolling on OPTIMA Graphs You can point to an area on the graph and manually zoom in or zoom out. To do this: 1
Click the Arrow & Manual Zoom button
on the toolbar.
2
Click and hold the left mouse button on the graph and drag the cursor to select an area: dragging to the right zooms in the graph, dragging to the left zooms out, and so on.
3
Release the left mouse button to achieve the desired effect.
You also have options to zoom in or zoom out by only 10%. To do this: To zoom in on a graph: On the graph, right-click and from the menu that appears, click Zoom In. - or Click the Zoom In button
.
To zoom out on a graph: On the graph, right-click and from the menu that appears, click Zoom Out. - or Click the Zoom Out button
.
You can also scroll to a particular point on the graph. To do this: 1
On the graph, right-click and from the menu that appears, point to Mouse Options and click Drag Mode. - or Click the Drag Mode button
2
on the toolbar.
Click and hold the left mouse button on the graph and drag the cursor in the required direction: dragging to the right scrolls the graph right, dragging to the left scrolls the graph left, and so on.
To turn scrolling off, click the Drag Mode button again.
OPTIMA User Reference Guide Version 6.1
Page 199
Rotating a Graph You can rotate graphs using the rotating tool. To do this: 1
On the graph, right-click and then from the menu that appears, point to Mouse Options and click Rotate. - or Click the Rotate button
2
on the toolbar.
Click and hold the left mouse button on the graph and drag the cursor in the required direction.
To turn the rotating tool off, click any one of the following buttons on the toolbar: Arrow & Manual Zoom button Cursor button Drag button
Viewing Values Using the Cursor Key Use the cursor key to view values between points. To select the cursor: 1
On the graph, right-click and then from the menu that appears, point to Mouse Options and click Cursor. - or Click the Cursor button
2
on the toolbar.
Hover with the mouse over the graph and drag the cursor in the required direction, the values are highlighted on the graph.
To turn the cursor tool off, click any one of the following buttons on the toolbar: Arrow & Manual Zoom button Rotate button The Rotate button
is active only if the graph is in the 3D view.
Drag button
Page 200
OPTIMA User Reference Guide Version 6.1
About the Appearance Tools You can use the following tools to change the appearance of the OPTIMA graphs: View 3D Show Gaps Show Points Show Weekends and Holidays
Viewing the Graph in 3D You can view graphs in 2D or in 3D. To view a graph in 3D: On the graph, right-click and from the menu that appears, click View 3D. - or Click the View 3D button
on the toolbar.
To revert to a 2D graph, click the View 3D button.
Viewing Gaps in the Data You can view gaps, or missing data values, in the data shown in a graph. The gap period is set on the Functions tab in the OPTIMA Graph Options dialog box. For more information, see Using the Functions Tab in the OPTIMA Graph Options Dialog Box on page 197. To view the gaps in the data: 1
Ensure you have set the required gap period.
2
On the graph, right-click and from the menu that appears, point to Extra Info and click Show Gaps. - or Click the Show Gaps button
on the toolbar.
The gaps will display on the graph. To view the gaps closer, use the zooming tool. To remove gaps from the graph, click the Show Gaps button.
OPTIMA User Reference Guide Version 6.1
Page 201
Displaying Data per Point on an OPTIMA Graph You may wish to study data related to a specific point on an OPTIMA graph. To do this: 1
Right-click a graph and from the menu that appears, point to Extra Info and click Show Points. - or Click the Show Points button
2
on the toolbar.
Click the specific point on the graph. The Counter value and the date appear. The grid also scrolls to this value, enabling you to see the relevant data in tabular form. You can also view the information on the graph automatically with the mouse hovered over the points. This is called auto marks. For more information, see Using the General Tab in the OPTIMA Graph Options Dialog Box on page 193.
To remove the points from the graph, click the Show Points button.
Viewing Weekends and Holidays You may wish to view or analyse points that occur at the weekend or on holidays. You can change the colour of these points so that they stand out from other points. This is done in the OPTIMA Graph Options dialog box. For more information, see Using the General Tab in the OPTIMA Graph Options Dialog Box on page 193. To view weekend or holiday points: On the graph, right-click and from the menu that appears, point to Extra Info and click either Show weekends or Show Holidays. - or Click the Show Weekend button
or Show Holiday button
on the toolbar.
To remove the points from the graph, click the Show Weekend or Show Holiday buttons.
Page 202
OPTIMA User Reference Guide Version 6.1
Changing the X-Axis Field To change the x-axis field of a graph: 1
Right-click the graph and, from the menu that appears, select Change X-Axis Field.
2
In the message box that appears, click Yes to confirm.
3
In the Select Field dialog box that appears, in the left-hand pane, select the module with the field that you want to be the x-axis. This picture shows an example:
4
Select either Date Type or Non-Date type from the View drop-down list, depending on which data type you require.
5
In the right-hand pane, double-click the field you want to be the x-axis field. All x-axis fields must have matching data types.
6
When you have finished, click OK to save your changes and return to the combination window.
OPTIMA User Reference Guide Version 6.1
Page 203
Ordering Graph Data You may wish to order values in a graph in ascending or descending order. You can only do this if the current x-axis field is non-date type. Each new series you add to the graph will have the same order applied. To order graph data: 1
Click the Apply Order to Graph button
.
2
In the grid, click the heading for the column by which you wish to sort the data in the graph. The graph refreshes to show the data sorted in ascending or descending order. This picture shows an example of a graph with its y-axis data sorted in ascending order:
3
Repeat step 2, if you want to order graph data by a different column heading.
To stop ordering graph data, click the Apply Order to Graph button
Page 204
again.
OPTIMA User Reference Guide Version 6.1
Selecting and Extending Trends on a Graph To select a trend: 1
From the Series list, select the Counters or the Elements tab.
2
On the selected tab, select a node.
3
Right-click and from the menu that appears, point to Series Properties and select All Series Options. This picture shows an example:
4
In the dialog box that appears, click the Functions column corresponding to the selected node.
5
Select the Trend Function Type. Click the Colour column to select the colour of the trend in the graph. This picture shows an example of selecting a trend for a node:
6
Click OK.
OPTIMA User Reference Guide Version 6.1
Page 205
To extend a trend: 1
Select a trend.
2
On the graph, right-click and from the menu that appears, select Show Extents. - or Select the Show Extents button
3
from the toolbar.
In the Time Period dialog box that appears, use the up and down arrows and the drop down menu to select how far you would like to extend the trends. This picture shows an example:
4
Click OK to view the extended trend.
Viewing Details in a Graph To view details for a series point on a graph: 1
Select the point on the graph you wish to view details about.
2
Right-click and, from the menu that appears, select View Details. - or Click the View Details button
3
.
A Grid Details window appears, detailing information on your chosen point. This picture shows an example:
4
Page 206
In the Grid Details window, you can sort your data by clicking on the Field name or Data header box.
OPTIMA User Reference Guide Version 6.1
Printing OPTIMA Graphs From the combination window, you can print a graph. To do this: 1
Right-click the graph and from the menu that appears, select Print Preview. - or Select the Print Preview button
2
3
from the toolbar.
In the Print Preview window, the following items so your graph prints as required: Set the:
By Doing This:
Printer
Selecting a printer from the list. You can set the printer properties by clicking the Setup button.
Paper Orientation
Selecting either Portrait or Landscape.
Margins
Using the up and down arrows next to each margin value. – or – Selecting the View Margins checkbox and dragging the margins to the desired position on the preview of the graph.
Detail Level
Dragging the Detail arrow to either More or Normal.
Click the Print button. The Print Preview window appears.
OPTIMA User Reference Guide Version 6.1
Page 207
Exporting OPTIMA Graphs From the combination window, you can export a graph: To the Clipboard To a File Via e-mail To export a graph: 1
Right-click the graph and from the menu that appears, select Export. - or Select the Export button
Page 208
from the toolbar.
2
In the Export dialog box that appears, select the format type for exporting the graph.
3
If you want to save the graph to the Clipboard, click Clipboard. The graph is saved to the clipboard.
4
If you want to export the graph to a File, click File and in the Save as window that appears, browse to the appropriate folder and save your graph.
5
If you want to export the graph via email, click Email and in the Choose profile dialog box, ensure the profile is correct and click OK. The graph is added to a blank email as an attachment.
6
When you have completed your export, in the Export dialog box, click Close.
OPTIMA User Reference Guide Version 6.1
Saving OPTIMA Graphs as Pictures From the combination window, you can save a graph as a picture. To do this: 1
Click the Save Graph as Picture button
on the toolbar.
2
In the Save As dialog box that appears, browse to the appropriate folder, type a name, and click Save. The graph is saved as a JPEG file.
About the Series List The Series List is the pane to the left of the Graph pane and contains a list of counters and elements. Select counters and elements to display its corresponding series values on the graph. The following picture shows the Series List.
You can show and hide the series list. To show or hide the list: Right-click the graph, from the menu that appears click Visible Tree. To view the series list tool menu: Right-click the series list. Use the Selections Options to select all the data in the series list and the Unselect all option to deselect the data.
OPTIMA User Reference Guide Version 6.1
Page 209
From the series list you can: Order data in the series list Move series along the z axis when viewing a graph in 3D Change the colours used on the graph Change the axis where data appears Change the graph type between bar, line and point graphs Access extra functions if the graph is a line graph
Ordering the List of Data for a Graph You may wish to order performance data in the list to the left of the graph. OPTIMA enables you to sort this data alphabetically. This is useful for displaying related data together when multiple elements have been selected for viewing. To order the list of data that you can display on a graph: 1
Right-click the series list.
2
From the menu that appears, click Sort.
About the 3D Options in the Series List Menu The 3D options are only available when a graph is in 3D mode. You can use the 3D options to move series in a graph on the z axis forward one, back one or right to the beginning of the axis or to the end of the axis. To do this:
Page 210
1
Right-click the Series list.
2
From the menu that appears select 3D Options and then select the option you require.
OPTIMA User Reference Guide Version 6.1
Changing the Colours of the Graph Lines To change the colour of a graph line: 1
In the Series List pane, select the node for which you want to change the colour and right-click.
2
From the menu that appears, point to Series Properties and click All Series Options.
3
In the dialog box that appears, click the Colour column corresponding to the selected node.
4
Choose a colour from the colour palette.
5
Click OK to close the dialog box. This applies the colour to the graph.
You can also change the colour of a series in the following way: 1
Select a series on the graph.
2
Right-click and click Change Series Colour.
3
In the dialog box that appears, select a colour for the series.
4
Click OK. The series has the selected colour in the graph.
Changing the Type of Graph You may wish to display data on different types of graph. You can use this function to switch between area, bar, line and point graphs. To do this: Right-click the series list and, from the menu that appears, point to Change Graph Type and click either Area, Bar, Line or Point.
The graph data is then displayed in the new graph type. If you do this at the module level, you can change the graph type for all items in the series list.
OPTIMA User Reference Guide Version 6.1
Page 211
Changing the Axis Where Data Appears If you are comparing two graphs, it is sometimes easier to gain an accurate picture or comparison when the graphs you are viewing have the same axis. An example of this might be if you have a view set up that combines a cell history and cell statistics module. However, you may not want all the data displayed using the same axis. For example, values for one of two selected counters may be too small to display. In this case, you can select one of the counters and change the axis. To do this: In the Series List pane, click the displayed on the right axis.
next to the required counter. The counters are
To change the axis back repeat the process and the counter will display on the left axis.
Using the Series List Functions in Line Graphs If the graph is a line graph, you can access extra functions such as trend, and average, for the graph. To use a function:
Page 212
1
In the Series List pane, select a node and right-click.
2
From the menu that appears, point to Series Properties and click All Series Options.
3
In the dialog box that appears, click the Functions column corresponding to the selected node.
4
From the list of functions that appears, select the one you want to use.
OPTIMA User Reference Guide Version 6.1
This table describes the functions: Function
Description
Trend
Constructs a line based on the trend of the Series values; it draws the best straight line trend through the data.
Low
Shows the lowest point of all the series values.
High
Shows the highest point of all the series values.
Average
Gives you the average for a series across the whole chart.
Moving Average
Performs a simple or weighted average of last period series values enabling you to track the current average as your data charts.
Exponential Average
Creates an exponential average based on the series values. The exponential average is similar to a moving average. It has a weight factor to add importance to more recent data.
Standard Deviation
Shows the standard deviation from the mean of data from the input Series.
Curve Fitting
Performs a polynomical Gaussian calculation on the underlying series data to draw a smooth curve over the original points.
Cumulative
Constructs a line based on the cumulative values of the input. It sums the series values starting from the first point.
Count
Draws a horizontal line at Y position that is defined by the number of values in underlying series.
RSI
Calculates a percent value based on financial data.
OPTIMA User Reference Guide Version 6.1
Page 213
Page 214
OPTIMA User Reference Guide Version 6.1
CHAPTER 9
Using OPTIMA Work Areas An OPTIMA work area can contain two types of page: Web browser pages, which enable you to display web pages Combination pages, which enable you to display module combinations By using a work area, you can: Save all the items you regularly use then open this one work area rather than opening each item every time you want to view it. All the settings for the work area are saved on a per user basis to a local .INI file. You can save a work area as a favourite. This gives you quick, easy access to that work area from the Favourites toolbar. For more information, see Adding and Editing Favourites in OPTIMA on page 154. Set up refresh times so, after a specified interval, queries will be executed again. Set switching intervals so that you can automatically switch between combinations and web browsers.
In This Section About the Work Area Toolbar Creating a New Work Area Adding and Removing Combinations Adding and Removing Web Browsers Refreshing Data and Switching Tabs Loading a Work Area
OPTIMA User Reference Guide Version 6.1
216 216 217 218 219 220
Page 215
About the Work Area Toolbar This picture shows the work area toolbar:
Work Area toolbar
You can use the options available from the toolbar to customise your work area. For more options when you have a work area open, right-click the work area and, from the menu that appears, select the appropriate action.
Creating a New Work Area A work area consists of two types of page: Web browser pages, which enable you to display web pages Combination pages, which enable you to display module combinations You can have as many pages in a single work area as you require. To create a new work area: 1
From the Inspector menu, select New Work Area. - or Click the New Work Area button
.
2
Add any combinations you want to save with this work area. For more information, see Adding and Removing Combinations on page 217.
3
Add any web browser pages you want to save with this work area. For more information, see Adding and Removing Web Browsers on page 218.
4
Add the switching and refreshing data intervals. For more information, see Refreshing Data and Switching Tabs on page 219.
5
Click the Save button on the work area toolbar to save your changes.
6
Select a directory and type a filename for the work area then click OK.
When you save the work area it is saved to a local .INI file. If you want to remove a work area you will need to delete the .INI file from your machine. This will remove the file completely. You should only do this if you are certain you no longer need this work area. Page 216
OPTIMA User Reference Guide Version 6.1
Adding and Removing Combinations Adding a Combination To add a combination to a work area: 1
Click the Add Combination button
.
2
In the Module Combination Explorer, select the combination you want to add and click OK.
3
You can now enter the switching interval and the refreshing interval for the page. For more information see Refreshing Data and Switching Tabs on page 219.
4
Click the Save button on the work area toolbar to save your changes. You can also drag and drop an open combination onto a work area.
Removing a Combination To remove a combination from the work area: 1
Right-click the combination tab you want to remove and, from the menu that appears, select Remove Combination. - or Click on the combination tab you want to remove and click the Remove Combination button
2
.
In the Confirm dialog box, that appears, click Yes. The combination is removed from the work area.
3
Click the Save button on the work area toolbar to save your changes.
OPTIMA User Reference Guide Version 6.1
Page 217
Adding and Removing Web Browsers You can add web browsers to the work area so that you can view any queries that may be running via the Intranet or Internet. Adding a Web Browser To add a web browser to a work area: 1
Click the Add Web Page button
.
2
In the dialog box that appears, type the URL for the web page you want to display then click OK. To change the page you want to display, on the work area toolbar, click the Edit Web Page button
and type the new web page address.
A new page displaying the web page is added to your work area. This picture shows an example:
You can navigate to other areas from the web page, although the Back web browser button is not available when navigating from the web page.
Page 218
3
You can now enter the switching interval and the refreshing interval for the page. For more information, see Refreshing Data and Switching Tabs on page 219.
4
Click the Save button on the work area toolbar to save your changes.
OPTIMA User Reference Guide Version 6.1
Removing a Web Browser To remove a web browser from the work area: 1
Right-click the web page tab you want to remove and, from the menu that appears, select Remove Web Page. - or Click on the web page tab you want to remove and click the Remove Web Page button
2
.
In the Confirm dialog box, that appears, click Yes. The web page is removed from the work area.
3
Click the Save button on the work area toolbar to save your changes.
Refreshing Data and Switching Tabs You can set up refresh times for the data, so that after a specified interval the query will be executed again and the data updated. You can also set a switching interval, which specifies how long each page is shown. Refresh and switching intervals can be set per page. To specify the interval for data refresh or switching for a page: 1
In the New Work Area dialog box, select the page you want to set the refresh and switching intervals for.
2
Click the Tab Options button
3
From the Tab Options dialog box that appears:
on the toolbar.
In the Refresh Interval field, enter the interval time in seconds. This is the number of seconds that should pass before the query runs to refresh the data. If you want the interval to apply to all pages, select the Apply to All checkbox.
In the Switch Interval field, enter the interval time in seconds. This is the number of seconds that should pass before the work area switches to the next page. If you want the interval to apply to all pages, select the Apply to All checkbox.
4
Click OK. If you have selected to apply the refresh and/or switching intervals to all pages, click Yes to confirm.
OPTIMA User Reference Guide Version 6.1
Page 219
Enabling Data Refreshing and Switching Refresh Option To turn the Refreshing data option on or off: On the Work area toolbar, click the Enable Refresh button
.
Switching Option To turn the Switching option on or off: On the Work area toolbar, click the Enable Switching button
.
Loading a Work Area If you have saved a work area previously, you can load it. Loading a work area involves loading an .INI file. To load a work area: 1
Ensure you have added a combination or web browser page to a work area and saved the work area. For more information, see Creating a New Work Area on page 216.
2
From the Inspector menu, select New Work Area. - or Click the New Work Area button
.
3
On the work area toolbar, click the Load work area
button.
4
In the Open window select the relevant work area file and click Open. The work area is loaded along with any switching and refreshing procedures previously set up for that work area.
Page 220
OPTIMA User Reference Guide Version 6.1
CHAPTER 10
Viewing Data on the Map When using OPTIMA with ENTERPRISE, you can view operational performance against geographical location using the Map View window. To enable you to do this, OPTIMA has the category Performance Data in the standard list of data types available for display in the Map View window. KPIs, created by the OPTIMA_Administrator, are shown under this category. All these counters can be displayed on the map. KPIs which, when they were defined, did not have the Show in Map checkbox selected will not appear in the performance data list. For more information, see Creating KPIs on page 101. For more information about the ENTERPRISE Map View Window, see the ENTERPRISE User Reference Guide.
In This Section Displaying Performance Data on the Map Changing the Display of Performance Data Using the Clock to Display Performance Data Displaying Cell-Handover KPIs on the Map
OPTIMA User Reference Guide Version 6.1
222 223 225 226
Page 221
Displaying Performance Data on the Map When you have collected performance data, you can display it on the map. To display data on the map: 1
From the View menu, click 2D View to open a Map View window. - or Click the New 2D View button
Page 222
.
2
Click the Show Data Types button
.
3
In the list of data types, click the + sign next to Performance Data to expand the category.
4
Expand the appropriate schema and table and then select the counters that you want to display on the map.
5
Right-click the map and click Refresh to redraw the map and show the performance data that you selected.
OPTIMA User Reference Guide Version 6.1
This picture shows an example.
Changing the Display of Performance Data When using OPTIMA to display data on the Map View window, you can customise the display for the selected performance counter using the Display Properties window. You can change properties such as font, colour, symbol, and size of symbol. Also, on the Data tab you can: Choose which data is shown on the map by setting the date and time required Choose the filter required, to specify whether all or a sub-set of cell groups is shown on the map In the Display Options pane, choose whether to display service area, sector and text for the cells To change how performance data is displayed on the map: 1
In the Map View window, click the Show Data Types button
2
Expand the Performance Data category.
3
Double-click the counter whose display you wish to change. The Display Properties dialog box appears.
OPTIMA User Reference Guide Version 6.1
.
Page 223
4
On the Data tab: Select The
To display
Link to Global Clock
Data for the current date. If you do not select this checkbox, select a date using the calendar in the Date pane.
5
6
Page 224
Filter
Only data that is included in the selected ENTERPRISE filter. Select the All filter to include all data.
Sector checkbox
The cell as a 3-sector icon.
Text checkbox
The textual data that applies to this cell.
Service Area checkbox
The area of service provided by this cell. Click Select to choose a 2G or 3g service area. If you choose 3G, you can also select array settings from the Array Setting menus.
On the Size tab, select:
A Symbol Size, using either Auto or typing in a set size in metres
The minimum and maximum size limits to stop the symbol from dominating the view when you zoom in or disappearing when you zoom out
On the Colour tab, select:
The first colour used to show the data type
The interval. For every increase in the value you type in the Interval box, the colour will change to the next colour in the palette
The minimum and maximum values displayed by any colour
OPTIMA User Reference Guide Version 6.1
7
On the Font tab, change the font settings as required.
8
On the Background tab, select whether a background colour is switched On or Off. If you choose On, select a colour from the palette.
9
Click OK to save the changes.
10 Right-click the map and click Refresh to redraw the map.
Using the Clock to Display Performance Data You can display performance data by using the OPTIMA clock. By using the Play function, you can look at the data from different time periods as quickly or as slowly as you want. To use the clock's Play function: 1
From the Tools menu, click Clock.
2
In the Main OPTIMA Calendar dialog box that appears, click Advanced. This pane appears.
OPTIMA User Reference Guide Version 6.1
Page 225
This table shows what you can do in this pane:
3
In this pane/box
Choose
Playing Data in 2D Map – Increment by:
The size of the interval you want between each data display. For example, to see the data at 0000, 0200 and 0400, you would select a step of 2 hours.
Playing Data in 2D Map – Every:
How quickly you want the map to refresh with the data you have specified. For example, if you refresh the map view every minute, it gives you a minute to analyse the data before it changes.
2D Map Switching – Every:
How often you want to switch between maps.
When you have selected the step and period value, click Play. The performance data displayed on the map will alter accordingly.
Displaying Cell-Handover KPIs on the Map To display cell-handover KPIs on the map: 1
From the View menu, click 2D View to open a Map View window. - or Click the New 2D View button
Page 226
.
2
Click the Show Data Types button
.
3
In the list of data types, click the + sign next to Performance Data to expand the category.
4
Expand the appropriate schema and table and then select the counters that you want to display on the map.
5
Right-click the map and click Redraw to refresh the map and show the performance data that you selected.
6
Click the Display Neighbours button
7
Right-click a cell on the map and, from the menu that appears, select the neighbour cell. A line is drawn between the cells. The thickness of the line is determined by the value of the selected cell-handover KPI.
.
OPTIMA User Reference Guide Version 6.1
This picture shows an example:
OPTIMA User Reference Guide Version 6.1
Page 227
Page 228
OPTIMA User Reference Guide Version 6.1
CHAPTER 11
Generating and Scheduling Reports You can use OPTIMA to generate and schedule reports of performance data. You can create reports, and then, at times you have defined, have OPTIMA automatically produce reports and email them to you, print them to a printer or save them to a file. The reports can be printed or exported in the following formats: RAF CSV PDF XHTML RTF HTML
XLS BMP JPEG TIFF RTM
You can save a report as a favourite and then have quick, easy access to that report from the Favourites toolbar. For more information, see Adding and Editing Favourites in OPTIMA on page 154. The report system uses the following report applications: ReportBuilder, which is a third party report application that is fully integrated with OPTIMA. For more information, see Creating Reports Using Report Builder on page 232. Detailed information on ReportBuilder and how to use it can be found on the Digital Metaphors website at www.digital-metaphors.com. Digital Metaphors supply a document called Learning ReportBuilder, which is available for download from their website. OPTIMA Excel Report Editor, which enables you to create and edit Microsoft® Excel™ reports in OPTIMA. For more information, see Creating Excel Reports on page 262.
In This Section Download Learning ReportBuilder About Using OPTIMA Reports Scheduling When Reports Run
OPTIMA User Reference Guide Version 6.1
230 230 273
Page 229
Download Learning ReportBuilder To access the Learning ReportBuilder document: 1
On the www.digital-metaphors.com Welcome page click the rbuilder ENTERPRISE link.
2
On the page that is displayed next, select Learning ReportBuilder from the list of options in the left hand pane. You can now download the Learning ReportBuilder document, in PDF format.
About Using OPTIMA Reports Using the OPTIMA Report Explorer, all OPTIMA_Users can: Select existing reports to view View the history of a report OPTIMA_Administrators and OPTIMA_Advanced_Users can additionally: Create and delete folders Create reports Filter report data Restrict editing of reports Edit and rename reports Copy and paste reports Import and export reports Print and print preview reports
Page 230
OPTIMA User Reference Guide Version 6.1
Creating Folders for Reports To create and delete folders in Report Explorer, you must have OPTIMA_Administrator or OPTIMA_Advanced_User permissions. To create a new folder: 1
From the Reporter menu, click Reports. - or – Click the Reports button
2
.
In the Report Explorer window, browse to where you want to create the new folder and right-click. From the menu that appears, click New Folder. - or – Click the Create New Folder button
3
.
Type a name for your new folder and press Enter.
OPTIMA_Administrators can restrict access to folders to prevent other users from accessing them. For more information about this, see Restricting Access to Folders on page 231.
Deleting Folders To delete a folder: 1
In the Report Explorer window, highlight the folder you want to delete.
2
Right-click and, from the menu that appears, click Delete. - or – Click the Delete button
3
.
In the Confirm dialog box, click Yes to delete the folder and return to the Report Explorer.
Restricting Access to Folders If you have OPTIMA_Administrator permissions, you can restrict access to folders to prevent users who do not have Administrator permissions from editing, moving or deleting them. To restrict access to a folder: 1
From the Reporter menu, select Reports. -or Click the Reports button
.
2
In the Report Explorer, select the folder you want to restrict.
3
Right-click and then, from the menu that appears, click Properties.
OPTIMA User Reference Guide Version 6.1
Page 231
4
On the Security tab in the Report Folder Properties dialog box, select the Admin Folder checkbox.
5
Click OK.
6
If the selected folder has child folders, you will be asked if you want to apply changes to all child folders. This enables you to restrict all of the child folders of an Admin Folder. Click Yes to apply changes, otherwise click No.
To remove the restriction from a folder: Follow the previous steps and clear the Admin Folder checkbox.
Viewing Reports To view a report: 1
From the Reporter menu, click Reports. - or – Click the Reports button
2
.
In the Report Explorer window, browse for the report you want to view and either:
Double-click the report name. - or –
Right-click the report, and from the menu that appears, click Open.
Creating Reports Using Report Builder If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can create and edit reports with Report Builder. The Report Builder application is incorporated within the Report Designer window. You use the Report Designer window to create and edit your reports. This picture shows an example of the Report Designer window: To create a new report: 1
From the Reporter menu, click Reports. - or – Click the Reports button
2
.
In the Report Explorer window, browse to where you want to create the new report and right-click. From the menu that appears, click New Report. - or – Click the New Report button
Page 232
.
OPTIMA User Reference Guide Version 6.1
The Report Designer window appears. You can now choose the content of your report and design its layout. For more information, see Defining Queries on page 234 and Designing Reports on page 252.
Report Designer window
The Report Designer window has three tabs, which are described in the following table: Use This Tab:
To:
Data
Select and manipulate the data required for a report. For more information, see Defining Queries on page 234 and Editing Queries on page 242.
Calc
Perform calculations and dynamically control visual aspects of the report layout. For more information, see Controlling Visual Aspects of a Report on page 243.
Design
Design the layout of a report. For more information, see Designing Reports on page 252.
Preview
See how a report will look when it is printed.
OPTIMA User Reference Guide Version 6.1
Page 233
Defining Queries On the Data tab of the Report Designer window, you can define queries to retrieve information from the OPTIMA database to use in your reports. When you build a query, you can choose to use either the Data Explorer, the Query Wizard or the Query Designer. The following table describes the options: Option:
Description:
Data Explorer
An OPTIMA explorer that enables you to build a query using SQL or by dragging and dropping tables to create the query if you are not familiar with SQL. For more information, see Using the Data Explorer to Define a Query on page 234 and Editing Queries on page 242. If you create a report query with the Data Explorer, you cannot subsequently use the Query Designer tabs to edit that query.
Query Wizard
A step by step wizard that guides you through the process of defining a query. You do not need to be familiar with SQL to use the Query Wizard. For more information, see Using the Query Wizard to Define a Query on page 235.
Query Designer
A dialog box with a series of tabs that can be used to define and edit queries. The Query Designer is more flexible than the Query Wizard and allows you to edit the SQL manually. It can also be used for multi-vendor queries. For more information, see Using the Query Designer to Define a Query on page 238 and Editing Queries on page 242.
Using the Data Explorer to Define a Query To define a query using the Data Explorer:
Page 234
1
In the Report Designer window, on the Data tab, from the File menu, click New.
2
In the New Items dialog box that appears, select Data Explorer and then click OK.
OPTIMA User Reference Guide Version 6.1
The Data Explorer appears. 3
In the Data Explorer, define the SQL for the query. For detailed information about how to do this, see Defining a Query on page 82.
4
When you have finished, close the Data Explorer and click Yes to save your SQL. The query is added to the Report Designer window.
Using the Query Wizard to Define a Query To define a query using the Query Wizard: 1
In the Report Designer window, on the Data tab, from the File menu, click New.
2
In the New Items dialog box that appears, select Query Wizard and then click OK.
3
On the first page of the Query Wizard, in the left-hand pane, select the table that you want to query and click the > button.
4
Click Next.
5
On the second page of the Query Wizard, select the fields that you want to query by selecting one of the options described in the following table: Select This Radio Button:
If You Want To:
All Fields
Select all of the fields in the table.
Choose Fields
Select specific fields in the table. To select a field, select it in the left-hand pane and click the > button.
6
Click Next.
7
On the third page of the Query Wizard, you can add calculations to the fields selected in Step 5.
OPTIMA User Reference Guide Version 6.1
Page 235
To add a calculation to a field:
Select the Add Calculations radio button.
In the left-hand pane, select the field you want to add a calculation to and click the > button.
In the dialog box that appears, select a function from the Function drop-down list and a field from the Numeric Field drop-down list.
Click OK. The calculation is added to the right-hand pane.
To add another calculation, repeat steps 2 to 4.
If you do not want to add any calculations, select the No Calculations radio button. 8
Click Next.
9
On the fourth page of the Query Wizard, you can group rows together based on common field values. The following table describes the two grouping options: Select This Radio Button:
If You Want To:
No Grouping
Have no grouping.
Select Group Fields
Select the fields to group by. To select a field, select it in the left-hand pane and click the > button.
If your query contains calculations, then it will automatically be grouped by all selected fields. 10 Click Next. 11 On the fifth page of the Query Wizard, you can limit the rows returned by the query. You might want to do this to restrict the amount of data returned during the design process. The following table describes the two limiting options: Select This Radio Button:
If You Want To:
All Rows
Have all rows returned by the query.
Define Search Criteria
Define search criteria to limit the rows returned. To define search criteria: 1. In the Criteria pane, right-click and, from the menu that appears, click Insert Criteria. 2. In the Search Criteria dialog box, select a Field and an Operator from the appropriate drop-down lists and enter a value in the Value field. 3. Click OK. The search criteria is added to the Criteria pane. 4. To define more search criteria, repeat steps 1 to 3.
Page 236
OPTIMA User Reference Guide Version 6.1
12 Click Next. 13 On the sixth page of the Query Wizard, you can set the row order based on the field values. The following table describes the two row order options: Select This Radio Button:
If You Want To:
Natural Order
Use the natural row order.
Set Order
Set your own row order. To set the row order: 1. In the left-hand pane, select the row that you want to be first in the order and click the > button. 2. In the left-hand pane, select the row that you want to be next in the order and click the > button. 3. Repeat step 2 until there are no more rows in the left-hand pane.
14 Click Next. 15 On the final page of the Query Wizard, type a name for your query and select one of the options described in the following table: Select This Radio Button:
If You Want To:
Return to Data Workspace
To be returned to the data workspace when you have finished.
Preview this Query
Preview the data returned by your query when you have finished.
Modify the Query's Design
Modify your query using the Query Designer when you have finished.
16 Click Finish to save your query and close the Query Wizard.
OPTIMA User Reference Guide Version 6.1
Page 237
This picture shows an example query which returns data from the CELLSTATS table:
Using the Query Designer to Define a Query To define a query using the Query Designer: 1
Page 238
In the Report Designer window, on the Data tab, from the File menu, click New.
OPTIMA User Reference Guide Version 6.1
2
In the New Items dialog box that appears, select Query Designer and then click OK. The Query Designer window appears. This picture shows an example:
3
On the Tables tab, in the Available Tables list, double-click the table you want to query. The table is added to the Selected Tables list. This picture shows an example:
To remove a table, double-click the table in the Selected Tables list.
OPTIMA User Reference Guide Version 6.1
Page 239
4
On the Fields tab, in the Available Fields list, double-click the fields you want to query. The fields are added to the Selected Fields list. This picture shows an example:
You can add all of the fields to the Selected Fields list by selecting the All Fields checkbox. 5
On the Calcs tab, you can add calculations to the fields selected in Step 4. To add a calculation to a field:
In the Available Fields list, double-click the field you want to add a calculation to. The field is added to the Calculations list.
In the Calculations list, select the field.
Select a function from the Function drop-down list. If you want to use a userdefined expression, select Expression from the Function drop-down list and then type the expression in the Expression field. This picture shows an example of the Sum function:
Page 240
6
On the Group tab, you can select fields to group the results of your query by. To select a field to group by, double-click the field in the Available Fields list.
7
On the Search tab, you can filter the data returned by your query. For detailed information about how to do this, see Creating Filters for Reports on page 258.
8
On the Sort tab, you can select fields to order the rows returned by your query.
OPTIMA User Reference Guide Version 6.1
To select a field to order by:
In the Available Fields list, double-click the field you want to order by.
If you want the returned rows to be in descending order, select the field in the Sort Fields list and then select the Desc (z>a) checkbox. This picture shows an example:
To use the order of the rows stored in the OPTIMA database, select the Natural Order checkbox. 9
On the SQL tab, you can view and manually edit the SQL of your query. Once you have manually edited a query, you can no longer use the Query Designer tabs to edit your query. To manually edit a query:
Right-click the SQL and, from the menu that appears, click Edit SQL.
Click Yes to confirm. The SQL becomes editable.
- or
If you want to use the Data Explorer, right-click the SQL and, from the menu that appears, click Data Explorer.
Click Yes to confirm. The Data Explorer appears.
In the Data Explorer, make the required changes to your query. For more information, see Defining a Query on page 82.
When you have finished, close the Data Explorer and click Yes to save your changes and return to the Query Designer.
10 Click OK to save your query and close the Query Designer.
OPTIMA User Reference Guide Version 6.1
Page 241
Editing Queries You can edit report queries using either the Query Designer or the Data Explorer, depending upon the following conditions: If you have created the report query with the Query Designer, you can edit it using either the Data Explorer or the Query Designer. If you have created the report query with the Data Explorer, you can only edit it using the Data Explorer. If you have already edited the report query with the Data Explorer, then you can only edit it using the Data Explorer. To edit an existing query using the Data Explorer: 1
In the Report Explorer, double-click the report with the query you want to edit. The Report Designer window appears.
2
In the Report Designer window, click the Data tab.
3
Right-click the query you want to edit and, from the menu that appears, click Data Explorer. - or Click the Data Explorer button
4
.
If the query was defined using either the Query Wizard or the Query Designer, a message box appears asking you to confirm you want to manually edit the query. Click Yes to confirm. The Data Explorer appears.
5
In the Data Explorer, make the required changes to your query. For more information about using the Data Explorer, see Using the Data Explorer on page 80.
6
When you have finished, close the Data Explorer and click Yes to save your changes.
To edit an existing query using the Query Designer:
Page 242
1
In the Report Explorer, double-click the report with the query you want to edit. The Report Designer window appears.
2
In the Report Designer window, click the Data tab.
OPTIMA User Reference Guide Version 6.1
3
Right-click the query you want to edit and, from the menu that appears, select the required option.
The Query Designer appears, with the corresponding tab selected. 4
Make the required changes to your query. For more information about using the Query Designer, see Using the Query Designer to Define a Query on page 238.
5
When you have finished, click OK to save your changes and close the Query Designer.
Controlling Visual Aspects of the Report Layout On the Calc tab of the Report Designer window, you can use an event-based environment to perform calculations and dynamically control visual aspects of the report layout while the report is generating. The Calc tab is divided into the following areas: Code Explorer Code Toolbox Code Editor Message Window
OPTIMA User Reference Guide Version 6.1
Page 243
This picture shows an example of the Calc Tab of the Report Designer:
Code Explorer
Code Editor
Message Window
Code Toolbox
Calc Tab
About the Code Explorer The upper area of the Calc tab is called the Code Explorer. The Code Explorer area contains a tree view to enable you to navigate your report's code. In the Code Explorer, you can manage the report code using different views: Variables View Events View Module View
Page 244
OPTIMA User Reference Guide Version 6.1
Viewing the Report Variables In the Variables view, you can display the variables within a report. Variables enable you perform calculations. This picture shows an example of the Variables view:
Variables View
To view the variables in a report: Right-click in the Code Explorer area and from the menu that appears, click Variables.
OPTIMA User Reference Guide Version 6.1
Page 245
Viewing the Report Events In the Events view, you can view all components contained within a report. You can also view any events associated with the currently selected component. This picture shows an example of the Events view:
Events View
To view the events contained within a report: Right-click in the Code Explorer area and from the menu that appears, click Events.
Viewing the Report Modules In the Module view, you can view a global view of the declarations, events, programs, and event handlers. This view is useful when you want to examine all of the report’s code. It displays the following:
Page 246
Module
Description
Declarations
Variables and constants that are globally visible throughout the report
Events
Report events
Programs
Procedures and functions that are globally visible throughout the report and can therefore be called from any event handler
Event Handlers
Event handlers that have been implemented in the report
OPTIMA User Reference Guide Version 6.1
This picture shows an example of the Module view:
Module View
To view the report modules: Right-click in the Code Explorer area and from the menu that appears, click Module.
OPTIMA User Reference Guide Version 6.1
Page 247
About the Code Toolbox The lower right-hand side area of the Calc tab is called the Code Toolbox. It is a visual code repository that contains identifiers and code elements. It consists of the following three tabs: Data Objects Language Viewing Data Fields In the Data tab of the Code Toolbox, you can view data pipelines and fields and drag and drop field references into the Code Editor. To use the data fields in the code: 1
In the Code Explorer, ensure that you are displaying the Events view and select the Data tab.
2
Select a field and drag it in the Code Editor. The code necessary to retrieve the field value is generated.
For example, if you drag the City field from the Code Toolbox, you get the following code in the Code Editor: Value := Clients[’City’] This picture shows an example of the Data tab of the Code Toolbox:
Data Tab of the Code Toolbox
Page 248
OPTIMA User Reference Guide Version 6.1
Viewing the Report Objects In the Objects tab of the Code Toolbox, you can view report objects and their properties, and drag and drop properties into the Code Editor. To use the report objects in the code: 1
In the Code Explorer, ensure that you are displaying the Events view and select the Objects tab.
2
In the Code Toolbox: Report Objects pane, select an object in the tree. The properties of the object are displayed in the Properties for Detail pane.
3
In the Properties for Detail pane, select and drag a property to the Code Editor. The code necessary to retrieve the value of the property or call the method is generated.
For example, if you drag the AutoSize property from the Code Toolbox, the following code generates in the Code Editor: Label1.AutoSize This picture shows an example of the Objects tab of the Code Toolbox:
Objects Tab of the Code Toolbox
OPTIMA User Reference Guide Version 6.1
Page 249
Viewing the Report Application Pascal (RAP) Language Elements In the Language tab of the Code Toolbox, you can view the RAP language elements and drag and drop elements into the Code Editor. To use the RAP language elements in the code: 1
In the Code Explorer, ensure that you are displaying the Events view and select the Language tab.
2
In the Code Toolbox: Language pane, select a category in the tree to view elements for that category.
3
In the Code Toolbox: Language pane, select and drag an element to the Code Editor. The code necessary to reference or use the element is generated.
For example, if you drag Copy to the Code Editor, the following code is generated: Copy(S, Index, Count); When you drop an item such as a function call, the function's parameter list is provided. This picture shows an example of the Language tab of the Code Toolbox:
Language Tab of the Code Toolbox
Page 250
OPTIMA User Reference Guide Version 6.1
About the Code Editor The lower left-hand side area of the Calc tab is called the Code Editor and it contains the code. This picture shows an example of the Code Editor:
Code Editor
To create the code in the Code Editor: Right-click an event in the Code Explorer and from the menu that appears, click New. An outline of the code for the selected element is displayed in the Code Editor. You can then edit the code. -orSelect an element in the Code Toolbox and drag it to the Code Editor. The code for the selected element is displayed in the Code Editor. You can then edit the code. -orRight-click in the Code Editor and select New. The outline of the code is displayed in the Code Editor. You can then edit the code. The New option is only enabled if there is no existing code for the item currently selected in the Code Explorer. To compile, save, delete, or revert the code, right-click and from the menu that appears, click the appropriate option. About the Message Window In the Message Window, you can see the error messages from the compiler when you compile the code in the Code Editor.
OPTIMA User Reference Guide Version 6.1
Page 251
Designing Reports After you have selected the content of your report, you can design its layout. You design reports using the toolbars available on the Design tab in the Report Designer window. The Standard Component toolbar contains static components which you use to enhance the appearance of your report, for example, to add labels or images. This picture shows an example of the Standard toolbar:
Standard Component toolbar
The Data Component toolbar contains data aware components. You use these components to display actual data from the OPTIMA database. This picture shows an example of the Data toolbar:
Data Aware Components Data Component toolbar
For more information about designing reports using ReportBuilder, see the Digital Metaphors website at www.digital-metaphors.com. This picture shows an example report design. In the example, static components have been used in the Header band of the design area to create the visual appearance of the report and data aware components have been used in the Detail and Footer bands to display data from the OPTIMA database.
Page 252
OPTIMA User Reference Guide Version 6.1
Example Report Design
Displaying Query Data in a Graph With Report Builder, you can add graphs to your reports to display the data from queries. You create graphs using TeeChart Pro. TeeChart Pro is a third party charting application. For more information about TeeChart Pro, see the Steema Software website at http://www.steema.com. You must have a query defined before creating a graph. For information about defining queries, see Defining Queries on page 234. To display query data in a graph: 1
In the Report Explorer, double-click the report you want to add the graph to. The Report Designer window appears.
2
In the Report Designer window, click the DB Chart button
3
In the design area, click where you want the graph to be located.
OPTIMA User Reference Guide Version 6.1
.
Page 253
Page 254
4
Right-click the graph and, from the menu that appears, click Edit Chart. The Editing ppDPTeeChartControl1 dialog box appears. This picture shows an example:
5
In the Editing ppDPTeeChartControl1 dialog box, click Add. The TeeChart Gallery dialog box appears. This picture shows an example:
6
In the TeeChart Gallery dialog box, click the type of graph that you want to add. If you want your graph to be a 2D graph, unselect the 3D checkbox. OPTIMA User Reference Guide Version 6.1
7
Click OK. A new series is added to the Editing ppDPTeeChartControl1 dialog box. This picture shows an example of a series for a bar graph:
To rename the series, click Title and, in the dialog box that appears, type a new name and then click OK. 8
Click the Series tab and then click the Data Source sub-tab.
9
On the Data Source sub-tab, select Data Pipeline from the drop-down list. This will enable you to link a query to the series.
10 From the Data Pipeline drop-down list, select the query that you want to link to the series. 11 On the Data Source sub-tab, complete the following information: In This Field:
Do This:
Labels
Select a label from the drop-down list, if you want a label to be displayed on the x axis for each series point.
X
Select a field from the drop-down list to display on the x axis of the graph.
Bar
Select a field from the drop-down list to display on the y axis of the graph.
DateTime
Select this checkbox if you want to display the date and time on the x axis.
DateTime
Select this checkbox if you want to display the date and time on the y axis.
OPTIMA User Reference Guide Version 6.1
Page 255
This picture shows an example of a bar series which is linked to the MIRNC01_Query query and has DAY, Date and Time on the X axis and RAB SU ACC COMP VOICE % on the Y axis:
12 Click Apply. 13 If you want to add another series to your graph, repeat steps 5 to 12. 14 Click the Chart tab and then click the Titles sub-tab.
15 In the Text pane, type a title for your graph. 16 Click Close to save your graph and exit TeeChart Pro. To preview your graph, in the Report Designer window, click the Preview tab. This picture shows an example of a 3 series bar graph:
Page 256
OPTIMA User Reference Guide Version 6.1
Example Bar Graph
OPTIMA User Reference Guide Version 6.1
Page 257
Saving Reports To save a report to the OPTIMA database: 1
In the Report Designer window, on the Design tab, from the File menu, click Save As.
2
In the Save New Report As dialog box, browse to the Report Explorer folder where you want to save your report, type a name and click Save. The report is saved to the OPTIMA database.
To save a report to file: 1
In the Report Designer window, on the Design tab, from the File menu, click Save to File.
2
In the Save As dialog box, browse to the folder where you want to save your report, type a name and click Save. Reports are saved in RTM format. This means that you can send reports, by email for example, and load them into other OPTIMA databases by using the Load from File option.
Filtering the Data Displayed in Reports In OPTIMA, you can use filters and parameters to limit the data returned when reports are run. When you run a report with a filter or a parameter, the Selection dialog box is displayed. In the Selection dialog box, you select the values for the filters and parameters. Creating Filters for Reports In ReportBuilder, you can use filters to limit the data returned when reports are run. When you run a report with a filter, you are asked to specify the criteria that you want OPTIMA to report on. To create a filter for a report: 1
In the Report Explorer window, open the report that you want to add a filter to. The Report Designer window appears.
2
In the Report Designer window, click the Data tab.
3
Select the query that you want to filter and either: Click the Search button
.
- or Right-click the query and, from the menu that appears, click Search.
Page 258
OPTIMA User Reference Guide Version 6.1
The Query Designer appears, with the Search tab selected. This picture shows an example:
4
In the Available Fields pane, either: Double-click the field that you want to be a filter. - or Right-click the field that you want to be a filter and, from the menu that appears, click Insert Criteria. The selected field appears in the Criteria pane.
5
In the Criteria pane, complete the following information: In This Field:
Do This:
Operator
Select an operator from the drop-down list. For example, if you want to create a filter that only returns data for an exact value, then select the = operator. You must select In List if you want to use OPTIMA filters when the report is run.
Value
Either leave this field blank or add default values. If you add default values, they will be pre-selected in the filter when you run the report. For more information about filter values, see Adding Filter Values for Reports on page 260.
AutoSearch
Select this checkbox if you want to display the Search dialog box when the report is run. For more information, see Adding Filter Values for Reports on page 260. Do not select the AutoSearch checkbox if the report is to be scheduled.
Mandatory
Select this checkbox if you want to ensure that a filter value is entered when the report is run.
Show All
Select this checkbox if you want the filter to display all of the values of the field. This option overrides all other filter options.
OPTIMA User Reference Guide Version 6.1
Page 259
This picture shows a filter for the XXTRAFFMEASBH24_ERI.UTRANCELL field which when run will display the Search dialog box and allow OPTIMA filters to be used:
6
Click OK.
7
Close the Report Designer and click Yes to save your changes. Now when you run the report, you will be asked to specify filter value(s) based on the criteria you have set. For more information about filter values, see Adding Filter Values for Reports on page 260.
Adding Filter Values for Reports When you run a report with a filter, the Selection dialog box is displayed. In the Selection dialog box, you can choose to add a filter value and/or an OPTIMA filter. The report will display only the information that relates to the filter value(s) you have added. To add a filter value: 1
In the Report Explorer window, preview the report you want to filter.
2
In the Selection dialog box that appears, select the filter values that you want to add. For more information, see Selecting Filter Values and Parameters on page 92.
3
Click OK to close the Selection dialog box and run the report with the specified filter value.
Creating Parameters for Reports With OPTIMA reports, you can use parameters to limit the data returned when reports are run. When you run a report with a parameter, you are asked to specify the criteria that you want OPTIMA to report on. Creating a parameter for a report requires you to manually edit the report query. Once you have manually edited a query, you can no longer use the Query Designer tabs to edit that query.
Page 260
OPTIMA User Reference Guide Version 6.1
To create a parameter for a report: 1
In the Report Explorer window, open the report that you want to add a parameter to. The Report Designer window appears.
2
In the Report Designer window, click the Data tab.
3
Select the query that you want to filter and either: Right-click the query and, from the menu that appears, click Data Explorer. - or Click the Data Explorer button
4
.
If the report query was defined using the either the Query Wizard or the Query Designer, a message box appears asking you to confirm you want to manually edit the query. Click Yes to confirm. The Data Explorer appears.
5
In the Data Explorer, create the parameter. For detailed information about how to do this, see Defining Parameters for a Query on page 87.
6
When you have finished, close the Data Explorer and click Yes to save your changes.
7
Close the Report Designer and click Yes to save your changes. Now when you run the report, you will be asked to specify parameter values based on the criteria you have set. For more information about parameter values, see Setting Parameter Values for Reports on page 261.
Setting Parameter Values for Reports When you run a report with a parameter, the Search dialog box is displayed. In the Search dialog box, you set the parameter value(s) you want to use. If you do not want to specify parameter values each time you run a report, you can set default parameter values. For detailed information about how to do this, see Specifying Default Parameter Values on page 89. To set a parameter value: 1
In the Report Explorer window, preview the report you want to filter.
2
In the Selection dialog box that appears, set the parameter values for the reports. For more information, see Selecting Filter Values and Parameters on page 92.
OPTIMA User Reference Guide Version 6.1
Page 261
This picture shows an example:
Creating Excel Reports If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can create and edit Microsoft® Excel™ reports in OPTIMA. To create an Excel report: 1
From the Reporter menu, click Reports. - or Click the Reports button
2
.
From the Report Explorer File menu, point to New and click Excel Report. - or Click the New Excel Report button
Page 262
.
OPTIMA User Reference Guide Version 6.1
The OPTIMA Excel Report Editor window appears. This picture shows an example:
3
On the Report Information tab, type a name and description and select the Enabled checkbox. Ensure the Enabled checkbox is selected otherwise the report will not run.
4
On the Report Definition tab, you define the contents of your report by writing one or more data queries. Data queries determine what data will be displayed in your report. This table describes the Report Definition buttons: Click:
To:
Add
Create and add a new data query to a report. To do this: 1. Click Add. The Data Explorer appears. 2. In the Data Explorer, define your data query. For more information, see Defining a Query on page 82. 3. Close the Data Explorer and click Yes to save your data query to the Excel Report. 4. In the dialog box that appears, type a name and description for your data query and click OK. The new data query is added to your report and appears in the Report Data Queries List.
Remove
Remove a data query from a report. To do this: 1. Select the data query you want to remove in the Report Data Queries List. 2. Click Remove. 3. Click OK to remove the data query.
OPTIMA User Reference Guide Version 6.1
Page 263
Click:
To:
Edit
Edit a pre-defined data query. To do this: 1. Select the data query you want to edit in the Report Data Queries List. 2. Click Edit. The Data Explorer appears. 3. In the Data Explorer, edit your data query. For more information, see Defining a Query on page 82. 4. Close the Data Explorer and click Yes to save your data query to the Excel Report. 5. In the dialog box that appears, click OK. The edited data query is added to your report.
Preview Data
Preview the data returned from a data query. To do this: 1. Select the data queries you want to preview in the Report Data Queries List. Use the Shift and Ctrl keys to highlight more than one data query at a time. 2. Click Preview Data. An Excel workbook appears, containing a separate worksheet for each selected data query. 3. Close Excel to return to the Excel Report Editor window.
This picture shows an example of the Report Definition tab:
5
Click Create Blank template. This creates a blank Excel template for your report. - or Create your own Excel template. For detailed information about how to create an Excel template, see Creating an Excel Template on page 265.
6
Page 264
Click the Assign Template button.
OPTIMA User Reference Guide Version 6.1
7
In the dialog that appears, select the Excel template that you want to associate with your report and click Open. The name of the associated template appears in the Template File Name field.
8
Click the Preview Report button. The data is exported to Excel and displayed in the named ranges defined in the Excel template.
9
In Excel, add any further formatting you require to your report, for example, headings or graphs.
10 When you have finished, remove the data and re-save the workbook as an .XLT file. 11 Close Excel to return to the Excel Report Editor window. 12 Click OK to save your report to the OPTIMA database and close the OPTIMA Excel Report Editor window. This picture shows an example of an Excel report:
Example Excel Report
Creating an Excel Template When you create an Excel report in OPTIMA, you also need an Excel template so you can add formatting to your report. For more information about Excel reports, see Creating Excel Reports on page 262. To create an Excel template: 1
In the OPTIMA Excel Report Editor window, on the Report Definition tab, select the data queries in the Report Data Queries List that you want to use in the template. Use the Shift and Ctrl keys to highlight more than one data query at a time.
2
Click Preview Data. An Excel workbook appears, containing a separate worksheet for each selected data query.
OPTIMA User Reference Guide Version 6.1
Page 265
3
In Excel, create a cell range for each data query that you want to be displayed. You can define the cell ranges in the same worksheet or in separate worksheets. To create a cell range:
Select the range of cells that you want to use. When selecting a range, you can simply select the top left cell rather than the full range. If you select a range which is smaller than the data size, only the data that fits the range will be displayed.
Select the Name Box at the left-hand end of the formula bar.
Type a name for the cell range. The name of each cell range must match the corresponding data query name, otherwise the data will not be displayed in the range when it is exported to Excel. Data query names are case sensitive.
Press Enter.
For more information about cell ranges, see the Microsoft Excel Help. 4
Delete the data from the Excel worksheet(s).
5
Save the workbook as an .XLT file.
6
Close Excel to return to the Excel Report Editor window.
Viewing Excel Reports All OPTIMA_Users can view Excel Reports. To view an Excel report: 1
From the Reporter menu, click Reports. - or – Click the Reports button
2
.
In the Report Explorer window, browse for the Excel report you want to view and either:
Double-click the report name. - or –
Page 266
Right-click the report, and from the menu that appears, click Open.
OPTIMA User Reference Guide Version 6.1
Restricting Access to Reports If you have OPTIMA_Administrator permissions, you can restrict access to reports to prevent users who do not have Administrator permissions from editing them. To restrict access to a report: 1
From the Reporter menu, select Reports. -or Click the Reports button
.
2
In the Report Explorer, select the report you want to restrict.
3
Right-click and then, from the menu that appears, click Properties.
4
In the Report Properties dialog box, select the Admin Report checkbox.
5
Click OK.
To remove the restriction from a report follow the previous steps and clear the Admin Report checkbox.
Restricting Editing of Reports You can use an owning group to restrict who has editing access to a report. If a report is assigned an owning group, then it can only be edited by members of that group. A report can only have one owning group. To assign an owning group for a report, you must have one of the following: OPTIMA_Administrator permissions OPTIMA_Advanced_User permissions and be a member the group that owns the report To make a group the owner of a report: 1
From the Inspector menu, click Reports. -or Click the Reports button
2
.
In the Report Explorer window, select the report you want to set the owning group for. You cannot assign the owning group for an Admin Report, unless you have OPTIMA_Administrator permissions.
3
Right-click the selected report and from the menu that appears, click Properties.
4
In the Report Properties dialog box, select a group from the drop-down list.
5
Click OK.
OPTIMA User Reference Guide Version 6.1
Page 267
Editing and Deleting Reports Editing Reports To edit a report: 1
From the Reporter menu, click Reports. - or – Click the Reports button
2
.
Highlight the report you want to edit and double-click to open it. The Report Designer window appears.
Renaming Reports To rename a report: 1
In the Report Explorer, right-click a selected report, and from the menu that appears, click Rename.
2
Type in the new name for the report and press Enter.
Deleting Reports To delete a report: 1
In the Report Explorer, highlight the report you want to delete
2
Right-click, and from the menu that appears, click Delete. – or – Click the Delete button
.
Copying Reports If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can copy existing reports and then modify them. To do this: 1
From the Reporter menu, click Reports. -or Click the Reports button
2
.
In the Report Explorer, select the report(s) you want to copy.
Use the Shift and Ctrl keys to select more than one report at a time. Page 268
OPTIMA User Reference Guide Version 6.1
3
Right-click, and from the menu that appears, click Copy.
4
Select the folder that you want to copy the report(s) to.
5
Right-click, and from the menu that appears, click Paste. The reports are copied to the specified folder.
Printing Reports To print and print preview reports, you must have OPTIMA_Administrator or OPTIMA_Advanced_User permissions. To print a report: 1
From the Reporter menu, click Reports. - or – Click the Reports button
2
.
In the Report Explorer window, highlight the report you want to print and either: Right-click and from the menu that appears, click Print or Print Preview. - or – Click the Print or Print Preview buttons
3
.
In the Print Preview dialog box, you can scroll through the report pages and zoom in and zoom out on the report. Click the Print button box.
to open the Print dialog
You can preview more than one report at a time. To do this repeat step 2. 4
In the Print dialog box, select the printer and the print properties and click OK to print the report and return to the Report Explorer.
Importing and Exporting Report Definitions If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can export reports and then import and use them in another OPTIMA installation. You can import and export: Reports Report folders A combination of reports and report folders You must have OPTIMA_Administrator permissions to import and export Admin reports and Admin folders.
OPTIMA User Reference Guide Version 6.1
Page 269
Importing Reports To import a report: 1
In the Report Explorer, select the folder into which you want to import the report(s).
2
Click the Import Report From File button
.
- or Right-click, and from the menu that appears, click Import Report(s) Definition. 3
Click OK to confirm.
4
In the Import Reports dialog box, click the Browse button.
5
In the Browse for Folder dialog box, select the folder which contains the report(s) you want to import and click OK.
6
In the File Name list, select the file(s) and/or folder(s) you want to import and click OK. Use the Shift and Ctrl keys to select more than one file and/or folder at a time.
7
If your selection includes reports in sub-folders, you will be asked if you want to recreate the directory structure in the Report Explorer. Click Yes to recreate the directory structure, otherwise click No.
8
In the message box that appears, click OK to import the report(s). The reports are imported to the specified folder.
Exporting Reports To export a report: 1
In the Report Explorer, select the report(s) and/or folder(s) you want to export. Use the Shift and Ctrl keys to select more than one report and/or folder at a time.
2
Click the Export Report to File button
.
- or Right-click, and from the menu that appears, click Export Report(s) Definition. 3
Page 270
If your selection includes reports in sub-folders, then in the Export Reports dialog box, set the following options by selecting or clearing the appropriate checkboxes:
Export reports from sub-folders
Create folders in destination directory
4
Click OK.
5
In the Browse for Folder dialog box, select the folder into which you want to export the report(s) and click OK.
6
In the message box that appears, click OK to export the report(s). The reports are exported to the specified folder. OPTIMA User Reference Guide Version 6.1
Exporting Reports If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can export reports to file and/or email. To do this: 1
In the Report Explorer, select the report you want to export.
2
Right-click, and from the menu that appears, click Export.
3
In the Export dialog box that appears, select the format you want to export the report in by selecting the appropriate radio button. This picture shows an example:
Note : If you are exporting an Excel report, the Excel File radio button is preselected for you. 4
If you want to zip the report, select the Zip File Before Exporting checkbox.
5
If you want to export the report to file, click File and in the Save As dialog box that appears, browse to the appropriate folder, type a name, and click Save.
6
If you want to export the report via email, click Email and in the blank email that appears, type the email addresses and click Send. If the OPTIMA Email Client Settings have been enabled in the User Preferences, then the OPTIMA client will appear and you can use the OPTIMA email address book to select the appropriate email addresses. For more information, see Setting Email Client Options on page 42.
7
When you have finished, click Close to return to the Report Explorer.
OPTIMA User Reference Guide Version 6.1
Page 271
Using the Fast CSV (*.CSV) Option To save time, you also have the option of exporting the file in a fast way using the Fast CSV (*.CSV) option. When you use this option, the details of the Design tab are ignored and only the columns in the Select statement of the SQL query are exported to the CSV file. Note : The Fast CSV option is available only to Report Builder reports. It is not available for Excel reports. To use the Fast CSV option: 1
In the Report Explorer, select the report you want to export.
2
Right-click, and from the menu that appears, click Export.
3
In the Export dialog box that appears, select the Fast CSV (*.CSV) option.
4
If you want to export the report to file, click File. In the dialog box that appears, click Yes to confirm. The dialog box informs that the report layout will be ignored and the report will be exported without the details of the design tab. Browse to the appropriate folder, and click OK. The report is exported. -orIf you want to export the report via email, click Email. In the dialog box that appears, click Yes to confirm. The dialog box informs that the report layout will be ignored and the report will be exported without the details of the design tab. In the blank email that appears, type the email addresses and click Send.
5
When you have finished, click Close to return to the Report Explorer. Note : When you use the Fast CSV (*.CSV) option, the number of reports exported is equivalent to the number of SQL queries in the Data tab of the Report Designer. The filename of the report that is saved is a combination of the report name and a unique number. For example, if you export a report called Test with three SQL queries, then the filenames of the reports will be:
Page 272
Test.csv
Test_1.csv
Test_2.csv
OPTIMA User Reference Guide Version 6.1
Scheduling When Reports Run You can manage report schedules in the Scheduler Explorer window. If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can create, edit or delete a schedule and view the history of a schedule.
Creating Folders for Schedules To create and delete folders in the Schedule Explorer, you must have OPTIMA_Administrator or OPTIMA_Advanced_User permissions. To create a new folder: 1
From the Reporter menu, click Schedules. - or – Click the Schedules button
2
.
In the Schedule Explorer window, browse to where you want to create the new folder and right-click. From the menu that appears, click New Folder. - or – Click the New Folder button
3
.
Type a name for your new folder and press Enter.
OPTIMA_Administrators can restrict access to folders to prevent other users from accessing them. For more information about this, see Restricting Access to Folders on page 274.
Deleting Folders To delete a folder: 1
In the Schedule Explorer window, highlight the folder you want to delete.
2
Right-click and, from the menu that appears, click Delete. - or – Click the Delete button
3
.
In the Confirm dialog box, click Yes to delete the folder and return to the Schedule Explorer.
OPTIMA User Reference Guide Version 6.1
Page 273
Restricting Access to Folders If you have OPTIMA_Administrator permissions, you can restrict access to folders to prevent users who do not have Administrator permissions from editing, moving or deleting them. To restrict access to a folder: 1
From the Reporter menu, select Schedules. -or Click the Schedules button
.
2
In the Schedule Explorer, select the folder you want to restrict.
3
Right-click and then, from the menu that appears, click Properties.
4
On the Security tab in the Schedule Folder Properties dialog box, select the Admin Folder checkbox.
5
Click OK.
6
If the selected folder has child folders, you will be asked if you want to apply changes to all child folders. This enables you to restrict all of the child folders of an Admin Folder. Click Yes to apply changes, otherwise click No.
To remove the restriction from a folder: Follow the previous steps and clear the Admin Folder checkbox.
Creating a Schedule for a Report OPTIMA_Administrators or OPTIMA_Advanced_Users can either create a schedule for a report from the Report Explorer or from the Schedule Explorer. To create a report schedule: 1
In the Report Explorer window, right-click the report you want to schedule and, from the menu that appears, click Schedule. – or – In the Schedule Explorer, right-click the report you want to schedule and, from the menu that appears, click New Schedule. – or – In the Schedule Explorer, click the New Schedule toolbar button
2
Page 274
.
In the Select Report dialog box, select the report you want to create a schedule for and click Open.
OPTIMA User Reference Guide Version 6.1
3
In the Schedule Editor dialog box, set the following options: On this tab/sub-tab
Do this
General
Type a name for the schedule, and a description if required. Ensure the Enable Schedule checkbox is selected otherwise the report will not run.
Recurrence
In the Pattern pane, select how often you want the report to run. Using the options that appear, select when you want the report to run. In the Rang pane, select the start and end date and time. You can also select whether you want the schedule for running the report to: End on a particular date End after the report has run a specific number of times Have no end date
Export
Choose where you want the report to be exported by selecting the appropriate Export To checkbox(es).
Export/Printer
Select the Windows default or a specified printer for the report. You can choose a format for the report from the Export Format drop-down list. The default format is PDF.
Export/File
Click the Browse button and, in the dialog box that appears, find the client server shared folder, type a name and click Save. Click Add to add the file to the File Names list. You can add as many files as you want. It is important to specify a network path. If you have specified the name of the file as .csv, the Fast CSV checkbox is enabled. You can use this option to export the file in a fast way. When you use this option, the details of the Design tab are ignored and only the columns in the Select statement of the SQL query are exported to the CSV file. When you use the Fast CSV (*.CSV) option, the number of reports exported is equivalent to the number of SQL queries in the Data tab of the Report Designer. The filename of the report that is saved is a combination of the report name and a unique number. The Fast CSV option is available only to Report Builder reports. It is not available for Excel reports. If you want to overwrite the same report each time you run the schedule, select the radio button. If you do not want to overwrite the report, select the radio button. Select a date format from the drop-down list and, if you want to specify a date offset, select the Apply Date Offset checkbox and change the offset as required. You can zip the file by selecting the Zip File Before Exporting checkbox.
OPTIMA User Reference Guide Version 6.1
Page 275
On this tab/sub-tab
Do this
Export/Email
Click the Select Contacts button, and in the Address Book that appears,787 select the user(s) and/or group(s) you require and click OK. If you select a group, you are asked to confirm whether you want to export to the individual users in the group or to the group email address. Type a subject line for the email. You can choose a format for the email from the Format drop-down list. If you select the *.CSV option, then the Fast CSV check box is enabled. When you use this option, the details of the Design tab are ignored and only the columns in the Select statement of the SQL query are exported to the CSV file. Notes: The Fast CSV option is available only to Report Builder reports. It is not available for Excel reports. You can zip the file by selecting the Zip File Before Exporting checkbox.
Conditions
Set any further conditions for the report schedule. Use SQL, which may contain multiple conditions ('where' clauses). If the SQL returns any results, the schedule is processed. If no results are returned, the schedule is ignored. For example, to schedule a report only if the percentage drops rate for any cell goes above 2%, you would need to add the following code: SELECT COUNT(*) FROM LASTREADING WHERE PDROP > 2 To test the SQL, click Test SQL. Ensure you select the Enable condition on this report if you want the condition to be active.
Parameters
Set any parameter values for the report schedule. To do this either: Select an operator from the drop-down list and type the required values in the Value field. - or If you want to display all of the values, select the Select All checkbox. For more information, see Setting Parameter Values for Reports on page 261.
4
Click OK to schedule the report. Note : Notes: If you created the New Schedule from the Report Explorer then you will be prompted to save the schedule to a folder. To do this, select the appropriate folder and click OK. If you have selected the Fast CSV option, click Yes in the confirmation message that appears to save the schedule.
Page 276
OPTIMA User Reference Guide Version 6.1
Editing and Deleting Schedules Editing Schedules To edit a report schedule: 1
In the Schedule Explorer, double-click the report you want to edit. The Schedule Editor is displayed.
2
Amend the details and click OK to save the changes.
Renaming Schedules To rename a schedule: 1
In the Schedule Explorer, double-click the schedule you want to rename.
2
In the Schedule Editor, select the General tab and delete the current schedule name and insert the new schedule name.
3
Click OK to save the changes.
Deleting Schedules To delete a schedule: 1
In the Schedule Explorer, highlight the schedule you want to delete
2
Right-click and from the menu that appears, click Delete. – or – Click the Delete button
.
Copying Schedules If you have OPTIMA_Administrator or OPTIMA_Advanced_User permissions, you can copy existing report schedules and then modify them. To do this: 1
From the Reporter menu, click Schedules. -or Click the Schedules button
2
.
In the Schedule Explorer, select the schedule(s) you want to copy. Use the Shift and Ctrl keys to select more than one report.
3
Right-click, and from the menu that appears, click Copy.
4
Select the folder that you want to copy the schedule(s) to.
5
Right-click, and from the menu that appears, click Paste. The schedules are copied to the specified folder.
OPTIMA User Reference Guide Version 6.1
Page 277
Viewing and Deleting the History of a Schedule In the Schedule Explorer you can view the history of a schedule. To do this: Select the schedule for which you want to view the history. The history appears in the Schedule History pane of the Schedule Explorer. Deleting the History of a Schedule In the Schedule Explorer you can delete the history of a schedule. To do this:
Page 278
1
Select the schedule for which you want to clear the history. The history appears in the Schedule History pane of the Schedule Explorer.
2
In the Schedule History pane, right-click and click Clear History.
3
In the Confirm dialog box, click Yes to delete the history.
OPTIMA User Reference Guide Version 6.1
CHAPTER 12
Using Performance Alarms Only OPTIMA_Administrators can use OPTIMA's performance alarms. OPTIMA users can view performance alarms but cannot configure them. Performance alarms enable you to set network counter thresholds or key performance indicators (KPIs) and then receive alerts whenever network conditions are not met. Network data is processed, at user defined intervals, by OPTIMA. This data is stored in OPTIMA database tables in the form of counters. Ripple counts are used to define the threshold conditions for setting or clearing alarms. The information from these alarms can be: Queries in OPTIMA modules and reports Viewed in the Alarms Explorer Passed on to a fault management system
In This Section About Alarm Settings Defining an Alarm About Ripple Counts Assigning Alarms to Contacts Viewing, Clearing and Resetting Alarms Viewing and Clearing Alarm Definitions Viewing and Clearing Alarms History Viewing Alarms Run History Customising Alarm Information About the Alarms Backend Applications Troubleshooting
OPTIMA User Reference Guide Version 6.1
280 284 294 295 298 300 301 302 303 304 304
Page 279
About Alarm Settings Before you can define and use an alarm, you must define the following: Vendors Technologies Element types Problem text Maintenance parameters You define these settings from menus in the Alarms Explorer. To open the Alarms Explorer: From the Performance Alarms menu, select Alarms Explorer. Once defined, these settings can be added to an alarm on the Settings tab of the Alarm Definition dialog box. The settings provide an easy way to sort information in the Alarm Log Viewer.
Configuring Vendors In the Vendor Settings dialog box you can add, edit or delete the vendors that you can use when creating an alarm. To add a vendor: 1
In the Alarms Explorer, from the Config menu, click Vendor.
2
In the dialog box that appears, click Add.
3
Type the name of the vendor and click OK.
To edit a vendor name: 1
In the Alarms Explorer, from the Config menu click Vendor.
2
Select the vendor and click Rename - or – Double-click the vendor name.
3
Type in the new name for the vendor.
To delete a vendor:
Page 280
1
In the Alarms Explorer, from the Config menu click Vendor.
2
Select the vendor and click Delete.
3
Click Yes to confirm.
OPTIMA User Reference Guide Version 6.1
Configuring Technologies In the Technology Settings dialog box you can add, edit or delete the technologies that you can use when creating an alarm. To add a technology: 1
In the Alarms Explorer, from the Config menu, click Technology.
2
In the dialog box that appears, click Add.
3
Type the name of the technology and click OK.
To edit a technology name: 1
In the Alarms Explorer, from the Config menu click Technology.
2
Select the technology and click Rename - or – Double-click the technology name.
3
Type in the new name for the technology.
To delete a technology: 1
In the Alarms Explorer, from the Config menu click Technology.
2
Select the technology and click Delete.
3
Click Yes to confirm.
Configuring Element Types In the Element Type Settings dialog box you can add, edit or delete the elements that you can use when creating an alarm. To add an element type: 1
In the Alarms Explorer, from the Config menu, click Element Type.
2
In the dialog box that appears, click Add.
3
Type the name of the element type and click OK.
To edit an element type: 1
In the Alarms Explorer, from the Config menu click Element Type.
2
Select the element type and click Rename - or – Double-click the element type name.
3
Type in the new name for the element type.
To delete an element type: 1
In the Alarms Explorer, from the Config menu click Element Type.
2
Select the element type and click Delete.
3
Click Yes to confirm.
OPTIMA User Reference Guide Version 6.1
Page 281
Configuring Problem Texts In the Problem Text dialog box, you can add or delete the problem text definitions that you can use when creating an alarm. To add a problem text: 1
In the Alarms Explorer, from the Config menu, click Problem Text.
2
In the dialog box that appears, click Add.
3
In the Name column, type the name of the problem text.
4
In the Definition column, click the empty row.
5
In the text box that appears, click Edit.
6
In the dialog box that appears, type in your definition, either as an SQL query or simple text. If you are using SQL query, check the Override SQL checkbox so that the system knows that the written text is SQL. You can double-click any of the items in the list of OPTIMA tables and columns, Oracle keywords and functions in the Database pane on the right-hand side to help you write the problem text.
7
To test that the code works correctly, click Test SQL. If your code is correct, results appear in the bottom pane of the dialog box.
8
Click Save.
Following is a problem text example for Route congestion alarm: SET PROBLEM TEXT FDN:%ELEMENTID DATETIME:%DATE CONGESTION:%LAST(%CONGESTION) OG CALLS:%LAST(%NCALLSO) OG TRAF:%LAST(%OG_TRAF) RIPPLE:%COUNT(%CONGESTION) Result of Set Problem Text: FDN:MSC:MRG05;ROUTE:BRSI-BRSO DATETIME:26-03-2007 12:00:00 CONGESTION:1,09 OG CALLS:2475 OG TRAF:74 RIPPLE:1 CLEAR PROBLEM TEXT %ELEMENTID CLEARED
Page 282
OPTIMA User Reference Guide Version 6.1
To delete a problem text: 1
In the Alarms Explorer, from the Config menu, click Problem Text.
2
Select the problem text that you want to delete and click Delete.
3
Click Yes to confirm.
Configuring Alarm Maintenance Parameters In the Alarm Maintenance dialog box, you can configure parameters that you can use to schedule the alarm maintenance routine. To configure alarm maintenance parameters: 1
In the Alarms Explorer, from the Config menu, click Maintenance.
2
Select the number of days that you want to keep the alarms in the database.
3
Select if you want the user to acknowledge an alarm before it is removed from the system. The user will only be able to acknowledge an alarm only on the OPTIMA web interface. Therefore, you should only select this option only if the OPTIMA web interface is installed on the user's system.
4
Click OK.
OPTIMA User Reference Guide Version 6.1
Page 283
Defining an Alarm Before defining an alarm, ensure you have configured the alarm settings. For more information, see About Alarm Settings on page 280. You can define an alarm in one of the following two ways: Define an alarm using a wizard Define an alarm using an editor
Defining an Alarm using the Alarms Wizard To define an alarm using the alarms wizard: 1
From the Performance Alarms menu, click Alarms.
2
In the Alarms Explorer, click the Create New Alarm Definition button
.
- or In the Alarm Definitions pane, right-click and from the menu that appears, click Add Definition. The Alarm Definition dialog box appears.
Page 284
3
In the dialog box that appears, select the Create with wizard option.
4
In the dialog box that appears, type the name and description of the alarm.
5
Click Next.
OPTIMA User Reference Guide Version 6.1
6
In the dialog box that appears: Item
Description
Schema, Table, Element Column, Date Column
Select the schema, table, element column, and date column to define the alarm.
Date Period to be scanned back
This determines how far back the data is monitored and is required if any of the following conditions arise: There has been a delay in loading the data into the OPTIMA database The alarm service has not been running. By default, the date scan back period is set to 4 weeks.
Element Selection
The alarm monitors these elements. By default, it monitors all the network elements of the type selected in the element column. You can change the selection to apply the alarm only to a subset of elements. To do so: 1. Select the Filter Elements option
.
2. Click Select. The Selection dialog box appears. 3. You can select the elements monitored by the alarm in any one of the following three ways: Element Hierarchy: You can select elements from only one element hierarchy level. Click to select the element hierarchy. For more information on element hierarchy, see Using the Element Hierarchies Explorer on page 131. Filters: You can apply filters on element hierarchy and select the elements. Click to select the elements using the filters. For more information on filters, see Applying Filters on page 162. Manual Selection: You can manually enter element values. Click elements manually.
OPTIMA User Reference Guide Version 6.1
to specify the
Page 285
7
Click Next.
8
In the dialog box that appears: For This
Do This
Severity
This defines the severity of the alarm threshold. From the Severity drop-down list, select a severity for the threshold. You can click