Professional Documents
Culture Documents
Supporting
BMC ProactiveNet version 8.6.01
April 2011
www.bmc.com
BMC, BMC Software, and the BMC Software logo are the exclusive properties of BMC Software, Inc., are registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. All other BMC trademarks, service marks, and logos may be registered or pending registration in the U.S. or in other countries. All other trademarks or registered trademarks are the property of their respective owners. BladeLogic and the BladeLogic logo are the exclusive properties of BladeLogic, Inc. The BladeLogic trademark is registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. All other BladeLogic trademarks, service marks, and logos may be registered or pending registration in the U.S. or in other countries. All other trademarks or registered trademarks are the property of their respective owners. AIX, Current, IBM, Informix, Notes, and Tivoli are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. Linux is the registered trademark of Linus Torvalds. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Crystal Reports is a trademark or registered trademark of SAP AG in Germany and in several other countries. UNIX is the registered trademark of The Open Group in the US and other countries. The information included in this documentation is the proprietary and confidential information of BMC Software, Inc., its affiliates, or licensors. Your use of this information is subject to the terms and conditions of the applicable End User License agreement for the product and to the proprietary and restricted rights notices included in the product documentation.
Customer support
Support website
You can obtain technical support from BMC 24 hours a day, 7 days a week at http://www.bmc.com/support. From this website, you can read overviews about support services and programs that BMC offers find the most current information about BMC products search a database for problems similar to yours and possible solutions order or download product documentation download products and maintenance report a problem or ask a question subscribe to receive proactive e-mail alerts find worldwide BMC support center locations and contact information, including e-mail addresses, fax numbers, and telephone numbers
operating system and environment information machine type operating system type, version, and service pack or other maintenance level such as PUT or PTF system hardware configuration serial numbers related software (database, application, and communication) including type, version, and service pack or maintenance level
sequence of events leading to the problem commands and options that you used messages received (and the time and date that you received them) product error messages messages from the operating system, such as file system full messages from related software
Contents
Chapter 1 Getting started with the BMC ProactiveNet Administration Console 17 Accessing the BMC ProactiveNet Administration Console ....................................17 Launching the BMC ProactiveNet Administration Console on Windows computers ..............................................................................................................18 Launching the BMC ProactiveNet Administration Console on Solaris computers ..............................................................................................................20 Using the Search function in the BMC ProactiveNet Administration Console ......................................................................................................................................21 Configuring cell connection properties to the BMC ProactiveNet Server .............25 Specifying ports in cell connection properties ................................................28 Setting BMC ProactiveNet Server connection properties .........................................29 Logging out of and into the BMC ProactiveNet Server from the BMC ProactiveNet Administration Console .................................................................................................30 Changing your BMC ProactiveNet Administration Console password ...............31 BMC ProactiveNet profiles ............................................................................................31 Accessing online Help ....................................................................................................32 Chapter 2 Managing BMC ProactiveNet Agents 33 Adding Agents ................................................................................................................33 Editing an agent ..............................................................................................................35 About Remote Agents ...................................................................................................35 Local Agents vs. Remote Agents .......................................................................36 Adding remote agents .........................................................................................36 Editing remote agents ........................................................................................39 Connecting, disconnecting, and restarting agents ..........................................40 Deleting a remote agent ......................................................................................41 How do Tunnel Agents work? ......................................................................................42 Installing tunnel agents ..................................................................................................44 Tunnel proxy setup ........................................................................................................48 Adding a proxy agent to the BMC ProactiveNet Server ................................49 Adding the agent to connect through the proxy agent ..................................50 Adding a tunnel agent to the BMC ProactiveNet Server ...............................51 Converting an HTTP/HTTPS Agent to a TCP Agent ...............................................51 Converting an HTTP/Secure or HTTP Agent to HTTPS Agent .............................52 Convert TCP Agent to HTTP/HTTPS Agent .............................................................53 Configuration properties ...............................................................................................54
Contents
Available properties ............................................................................................55 Properties used by Tunnel Agent ......................................................................56 SSL TCP/IP Agent ..........................................................................................................57 Connecting to Agents using SSL .......................................................................57 Converting a TCP Agent to SSL-TCP/IP Agent .............................................57 Configuring a SSL TCP/IP Agent ...............................................................................58 Creating new keystore for the agent controller ...............................................59 Creating new keystore for the agent .................................................................60 Updating the Agent keystore with new self-signed certificate .....................61 Updating the Agent keystore with an existing (CA signed) certificate .......62 Updating the Agent Controller keystore with a new self-signed certificate ...............................................................................................................63 Updating the Agent Controller keystore with an existing (CA signed) certificate ...............................................................................................................64 Examples for Configuring SSL TCP/IP Agents ..............................................65 TCP Proxy Agent ............................................................................................................70 Adding a TCP Proxy Agent ...............................................................................71 Limitations ............................................................................................................73 Chapter 3 Managing devices 75 Summary of devices .......................................................................................................75 Using device aliases ........................................................................................................76 Avoiding duplicate devices ...........................................................................................77 Creating a device ............................................................................................................78 Selecting monitors for the device ................................................................................81 Editing devices ................................................................................................................82 Duplicating devices ........................................................................................................83 Deleting devices ..............................................................................................................84 Creating a monitor template .........................................................................................85 Adding a device from a template .................................................................................86 Applying templates to a single device .........................................................................89 Warning message ............................................................................................................91 Applying templates to multiple devices .....................................................................91 Editing an existing template ...............................................................................92 Deleting a Template .............................................................................................94 Changing device associations .......................................................................................94 Limitations ............................................................................................................95 Domain name ..................................................................................................................95 Adding a domain name ......................................................................................96 Editing a domain name .......................................................................................96 Deleting a domain name .....................................................................................96
Port name .........................................................................................................................97 Adding a port name ............................................................................................97 Editing a port name .............................................................................................98 Delete Port name ..................................................................................................98 Choosing monitors for the device ...............................................................................99 Creating a group ...........................................................................................................100 Group checklist ..................................................................................................101 Working with Dynamic Groups or Rule-based Groups ..............................101 Applying rules to Dynamic Groups ................................................................102 Defining Group display ....................................................................................103 Group made by existing groups ......................................................................103 Group made by specifying rules .....................................................................104 Adding Child Groups ..................................................................................................105 Editing Groups ..............................................................................................................107 Deleting Groups ............................................................................................................107 Chapter 4 Integrating with the BMC Atrium CMDB 109 Benefits of BMC Atrium CMDB integration .............................................................109 User scenario .................................................................................................................110 Creating and editing publication filters in the BMC ProactiveNet Administration Console ...........................................................................................................................112 Understanding Atrium Filters ....................................................................................115 Viewing publication history ........................................................................................116 Viewing computer system CIs ....................................................................................117 Chapter 5 Configuring and using Remote Actions/Diagnostics 119 What are Remote Actions/Diagnostics? ...................................................................119 Properties files ...............................................................................................................120 Creating Remote Actions .............................................................................................121 Defining the performance managed remote actions ....................................123 Defining the remote action rule and task .......................................................126 Assigning roles to actions .................................................................................131 Providing Remote Actions credentials ......................................................................131 Working with credential records for event management rules option ......132 Working with credential records for events ..................................................133 Triggering Remote Actions .........................................................................................138 Defining the remote action policy ..................................................................138 Executing remote actions ..................................................................................141 Adding the AlarmPoint integration ................................................................142 Executing remote actions .............................................................................................143 Generating Remote Action results .............................................................................144
Contents
Macros for Remote Action ...........................................................................................144 Troubleshooting remote actions .................................................................................147 Remote actions\diagnostics exit codes .....................................................................148 Chapter 6 Setting up diagnostic commands 151 Diagnostics wizard .......................................................................................................151 Script ..............................................................................................................................152 Register a user-defined Script command .......................................................152 Editing script commands ..................................................................................159 Deleting script commands ................................................................................159 Creating a detailed diagnostic script for Windows ......................................159 Log file ............................................................................................................................160 Registering a user-defined log file command ................................................161 Editing a log file command ..............................................................................165 Deleting a log file command ............................................................................166 Preconfigured commands ...........................................................................................166 User-defined commands ..............................................................................................166 Configuration of poll driven detailed diagnostics ...................................................167 Chapter 7 Administering BMC ProactiveNet 171 SSL server certificate for Apache server ....................................................................171 Creating a Real SSL server certificate for the Apache Server ......................171 Removing the pass-phrase at Apache startup time ......................................173 Changing the pass-phrase on the private key file .........................................173 Creating and using your own certificate authority (CA) ............................173 Configuring the Apache web server to accept HTTPS connection only .....................................................................................................................................174 Removing the pass-phrase window displayed during Apache startup .....................................................................................................................................175 BMC ProactiveNet Security .........................................................................................175 Securing port communication ..........................................................................176 Security related FAQs .......................................................................................177 Customizing the BMC ProactiveNet Operations Console ......................................183 Customizing event text .....................................................................................183 Customizing the logo on the Operations Console ........................................185 Adding background images .............................................................................186 Changing the default number of breadcrumbs displayed in the operations console .................................................................................................................187 Improving performance when the navigation tree is loaded in the operations console .............................................................................................188 Changing the maximum number of configuration items in a folder .........188
Configuring the operations console to automatically switch views ..........189 Scheduling downtime ..................................................................................................190 Adding a downtime schedule ..........................................................................192 Editing or deleting a downtime schedule ......................................................195 Special notes .......................................................................................................196 Changing the default BMC ProactiveNet Agent TCP control port ......................196 Determining which TCP control ports are being used ...........................................198 Device application monitors and TCP control ports ..............................................200 Admin tunneling through HTTP ...............................................................................200 Firewalls and BMC ProactiveNet interfaces ..................................................201 Dealing with TCP/IP port restrictions ...........................................................201 Dealing with NAT .............................................................................................202 Activating the APACHE proxy server ............................................................203 Admin tunnel limitations .................................................................................204 Fine tuning BMC ProactiveNet system components ...............................................204 Important information for all configuration files ..........................................205 BMC ProactiveNet Server - Solaris edition ....................................................205 BMC ProactiveNet Server Windows edition ..............................................206 BMC ProactiveNet Agent Windows edition ..............................................207 Chapter 8 Managing users 209 Overview ........................................................................................................................209 Default users, user groups and roles .........................................................................210 Users ...............................................................................................................................210 Adding or editing users ....................................................................................211 Associating user(s) to user groups ..................................................................213 Deleting users .....................................................................................................213 User Groups ...................................................................................................................214 Adding or editing user groups ........................................................................214 Deleting user groups .........................................................................................215 Roles and Permissions ..................................................................................................216 Defining or editing roles and permissions .....................................................216 Deleting roles and permissions ........................................................................217 Configuring the system for external authentication ................................................218 Chapter 9 Deploying multiple ProactiveNet Servers 223 Multiple ProactiveNet Server deployment overview ............................................223 Configuring an originating ProactiveNet Server .........................................224 Configuring a central ProactiveNet Server ...................................................227 Chapter 10 Setting up web transactions 229
Contents
System requirements ....................................................................................................230 How and where do I begin? .............................................................................230 Backward compatibility ....................................................................................231 Web transaction capture screen field descriptions ..................................................232 Menu bar options ...............................................................................................232 Buttons .................................................................................................................234 Planning a Web Transaction .......................................................................................236 Creating a web transaction ..........................................................................................238 Need for the transaction file ............................................................................238 Launching the Web Transaction Capture tool ...............................................239 Recording a new Web Transaction .................................................................239 Creating a test monitor ......................................................................................244 Playing a transaction file created with the Web Transaction Capture tool 245 Working with a previously recorded web transaction ................................247 Recording another transaction in the same user session .............................247 Authentication ...............................................................................................................247 How to insert authentication information? ....................................................248 Subtransactions .............................................................................................................249 Working with subtransactions .........................................................................250 Configuring a Web Transaction monitor ..................................................................251 Web transaction test utility ..........................................................................................254 Pop-up Windows ..........................................................................................................255 System authentication pop-up Windows .......................................................255 Browser pop-up Windows ...............................................................................257 Exporting Web Transaction files ................................................................................257 Editing Web Transaction files .....................................................................................258 Editing Web Transaction files created in BMC ProactiveNet 7.0 and later 258 Editing Web Transaction files created prior to BMC ProactiveNet 7.0 ......263 Content match for Web Transaction monitor ...........................................................263 Best practices to record content match ...........................................................264 International characters ....................................................................................264 Extra line feed characters ..................................................................................264 Web Transaction macro ...............................................................................................265 Types of Web Transaction macros ..................................................................266 Managing Web Transaction macros ................................................................267 Usage scenarios ..................................................................................................269 Limitations of Web Transaction capture ...................................................................271 Chapter 11 Working with event management policies 277
10
Displaying the Infrastructure Management node ....................................................277 Event management policy types ................................................................................278 Out-of-the-box event management policies ..............................................................279 How event management policies work .....................................................................282 Event management policy workflow overview ............................................282 Event selectors ....................................................................................................283 Event selector groups ........................................................................................284 Event selection criteria ......................................................................................285 Timeframes .........................................................................................................285 Evaluation order of event policy types ...........................................................286 How dynamic enrichment event management policies work ...............................287 External enrichment data sources ...................................................................287 How to create a new local timeframe ........................................................................289 How to add a notification service (notification policies only) ...............................291 How to create and edit a dynamic enrichment source file .....................................292 Using the sample PATROL messaging text translation dynamic enrichment source file ............................................................................................................294 How to create an event selector and specify event selection criteria ....................297 Alias formulas ...............................................................................................................301 Working with Event Alias Formulas ..............................................................301 Devices with multiple IP addresses ................................................................306 Creating new standard event management policies ...............................................307 Creating a new standard blackout policy .....................................................308 Creating a new component based enrichment policy .................................313 Creating a new component based blackout policy .......................................318 Creating a new closure policy .........................................................................322 Creating a new correlation policy ..................................................................325 Creating a new enrichment policy .................................................................329 Creating a new escalation policy ....................................................................334 Creating a new notification policy .................................................................338 Creating a new propagation policy ................................................................342 Creating a new recurrence policy ...................................................................344 Creating a new remote action policy ..............................................................347 Creating a new suppression policy ................................................................347 Creating a new threshold policy .....................................................................350 Creating a new timeout policy ........................................................................354 Enabling and disabling out-of-the-box standard event management policies ... 356 Creating a new dynamic enrichment event management policy .........................357 Enabling out-of-the-box dynamic enrichment event management policies ........369 Enabling a dynamic enrichment blackout policy ..........................................370
Contents
11
Enabling a dynamic enrichment location policy ...........................................373 Enabling a dynamic enrichment service contact policy ...............................377 Enabling a dynamic enrichment PATROL message text translation policy ...................................................................................................................381 Importing dynamic enrichment source .....................................................................385 Verifying that the policy is running ...........................................................................386 Editing event selection criteria ....................................................................................387 Deleting an event selector ............................................................................................388 Troubleshooting event management policies ...........................................................388 Chapter 12 Working with the dynamic data editor 393 Displaying the Infrastructure Management node ....................................................393 Dynamic data definition using the Dynamic Data Editor ......................................394 Navigating the Dynamic Data Editor ........................................................................394 Filtering and sorting the Data List .............................................................................396 Filtering slots .....................................................................................................396 Sorting data fields ..............................................................................................397 Working with data instances ......................................................................................399 Adding a new data instance ............................................................................399 Editing slots .......................................................................................................401 Exporting data ....................................................................................................402 Chapter 13 Creating and using user-defined policies 405 Understanding user-defined event policy types ......................................................405 Understanding event processing rules (MRL) for policy types .............................405 Format of event processing rules for policy types ........................................405 How a rule for a policy type is processed ......................................................406 Sources of information about rules .................................................................406 User-defined event policy type creation ...................................................................407 Creating user-defined policy types .................................................................407 Defining the policy data class for a new policy type ....................................407 Defining presentation names for a new policy type .....................................409 Creating the event processing rule(s) for a new policy type .......................410 Chapter 14 Working with BMC ProactiveNet Infrastructure Management 413 Default BMC ProactiveNet Infrastructure Management service model ..............413 Roles and permissions .......................................................................................415 Walkthrough ..................................................................................................................415 Displaying the out-of-the-box real-time service model ...............................415 Sampling context-sensitive information .........................................................417 Managing files on remote systems ..................................................................418
12
Packaging support files .....................................................................................419 Launching remote actions ................................................................................420 Common BMC ProactiveNet Infrastructure Management tasks ...........................422 Navigating the interface ....................................................................................422 Displaying and understanding the Details and Administer tab data ...................424 Details tab data ...................................................................................................424 Administer tab data ...........................................................................................427 Editing infrastructure relationships ...........................................................................428 Creating logical components .......................................................................................430 Deleting components ....................................................................................................430 Usage reporting .............................................................................................................431 Executing Remote Actions ...........................................................................................432 Reloading cell configuration .......................................................................................432 Forcing event propagation ..........................................................................................434 Collecting metrics .........................................................................................................434 Executing other actions ................................................................................................435 Audit log parameters ..................................................................................................435 Supported component or application types ..................................................436 Sample logs .........................................................................................................437 Audit log properties in the ias.properties file ................................................437 Creating the support package .....................................................................................438 Slots for specifying support files .....................................................................439 UNIX processing note .......................................................................................440 Reviewing the audit log of the support package ..........................................441 Background to BPPM Infrastructure Management .................................................442 How a product component registers and communicates with the IAC ... 442 Registering a remote cell with the Impact Administration Cell .................442 Recreating an Impact Administration Cell ....................................................443 Unregistering with the IAC ..............................................................................444 Remote actions ...................................................................................................444 Displaying remote cells in the Infrastructure Management tab after upgrading the BMC ProactiveNet Server ............................................................................................447 Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 449 BMC ProactiveNet Administration Console Services Editor tab ..........................449 Monitoring business services in BMC ProactiveNet ...............................................449 Opening a Service Model View .......................................................................450 Viewing service component instances through the navigation pane ........451 Finding service component instances to view ...............................................453 Viewing information about a service component .........................................454
Contents
13
Searching for provider and consumer components ................................................455 Viewing a service components SLM agreements ...................................................456 Viewing property and performance data about a cell ............................................457 The General subtab ............................................................................................457 The Workload subtab ........................................................................................458 The Components subtab ...................................................................................459 Editing Service Model data in the BMC ProactiveNet Administration Console . 459 Managing Service Model components ...........................................................459 Managing Service Model component relationships .....................................464 Launching BMC Atrium Explorer from the BMC ProactiveNet Administration Console ...........................................................................................................................469 Using a customized SSL certificate to create a secure connection to the BMC Atrium CMDB ..............................................................................................................469 Associate monitors to CIs through the BMC ProactiveNet Administration Console ...........................................................................................................................470 Associate monitors to CI in Service Model View ..........................................471 Associating monitors to a CI and verifying that they are associated .........472 Associate a monitor to a CI when CI Alias is unknown to the BMC ProactiveNet Server ...........................................................................................473 Associating a monitor to a CI in the Monitor edit page ...............................474 How aliases are used depends on how the BMC ProactiveNet Servers are deployed ..............................................................................................................474 Chapter 16 Managing cells 475 Production cells and test cells ....................................................................................475 Cell configuration tasks ...............................................................................................476 Configuring mcell.conf parameters .................................................................477 Creating cell-specific configuration files ........................................................480 Configuring event slot propagation ................................................................481 About mcell.dir, the cell directory file ............................................................484 Configuring passive connections ....................................................................486 Configuring slots for time stamping ...............................................................487 Configuring encryption ....................................................................................488 Configuring cell exception handling ...............................................................493 Reloading cell configuration .......................................................................................493 Starting or stopping the cell .......................................................................................494 Stopping or starting a cell on UNIX computers ............................................495 Starting or stopping a cell on Windows computers ....................................496 Creating and managing cell groups ..........................................................................497 Monitoring event performance ...................................................................................500
14
Monitoring client to cell interactions .........................................................................502 Configuring cell tracing ...............................................................................................503 Configuring mcell.trace ....................................................................................504 Configuring a destination for cell trace output .............................................506 Sending trace output to another cell ...............................................................507 Event processing errors .....................................................................................509 Automatic notification of trace configuration changes ................................509 Interpreting cell execution failure codes ...................................................................510 Using the BMC ProactiveNet Administration Console to manage cells .............511 Connecting or disconnecting a cell ..................................................................511 Viewing cell information ..................................................................................512 Chapter 17 Configuring StateBuilder and gateways 513 Understanding the StateBuilder and gateways .......................................................513 StateBuilder configuration file .........................................................................514 statbld return codes ...........................................................................................515 Gateway configuration ......................................................................................515 Exporting events ...........................................................................................................521 Modifying a statbld.conf file to export events ...............................................521 Modifying a gateway.export file to export events ........................................522 Configuring tracing for StateBuilder .........................................................................523 Troubleshooting the StateBuilder process ................................................................523 Chapter 18 Setting up data views for external reports 525 External reports benefits ..............................................................................................525 Performance considerations .......................................................................................525 Creating dataviews ......................................................................................................526 Populating dataviews ...................................................................................................527 Types of information available in dataviews ..........................................................527 Default dataviews ..............................................................................................527 Configuration information .........................................................................................540 Performance (stats, raw) information ........................................................................541 Rate (rolled up, condensed) information ..................................................................542 Baseline information .....................................................................................................543 Event information .........................................................................................................543 All alarms and events information ............................................................................544 Command line option ..................................................................................................545 Sample data dictionary ................................................................................................545 Create ASA database interface ....................................................................................547 Installing the ASA ODBC driver ....................................................................547 Downloading and installing Crystal Reports ...........................................................549
Contents
15
Connect to ASA database through Crystal Reports .....................................551 Accessing the ASA database through Microsoft Excel ...........................................551 Creating sample reports using Microsoft Excel ............................................552 Appendix A mcell.conf file parameters 557 Action result event parameters ...................................................................................557 Cell configuration parameters ....................................................................................558 Cell failover configuration parameters ......................................................................560 Client communication parameters .............................................................................562 Encryption parameters .................................................................................................564 Event repository cleanup parameters ........................................................................565 Heartbeat parameters ...................................................................................................567 Internal cell monitor parameters ................................................................................569 KB parameters ...............................................................................................................570 Propagation parameters ...............................................................................................570 Deprecated MessageBuffer propagation parameters ...................................573 Reporting client connection parameters ....................................................................574 Service model parameters ...........................................................................................575 State Builder parameters ..............................................................................................575 Trace parameters ...........................................................................................................581
16
1
Getting started with the BMC ProactiveNet Administration Console
Accessing the BMC ProactiveNet Administration Console
You can access BMC ProactiveNet Administrative functions in the following ways:
the BMC ProactiveNet Administration Console the Command Line Interface (CLI); for details, see the BMC ProactiveNet Command
These administrative functions allow you to modify and manage the BMC ProactiveNet Server and the BMC ProactiveNet Agent network management areas, such as adding or deleting users, groups, monitored devices, applications, and services, or changing event notifications and thresholds. All operational procedures in this guide (unless explicitly mentioned) use the BMC ProactiveNet Administration Console interface. For details about using the CLI commands, see the BMC ProactiveNet Command Line Interface Reference Manual. Some administrative options are also available through the BMC ProactiveNet Operations Console. For details, see the BMC ProactiveNet User Guide.
installed on computers that reside on the same side of the firewall. All functionality in the Administration tab (General Administration, Event Management Policies, Dynamic Data Editor, and Infrastructure Management) and the Services Editor tab in the BMC ProactiveNet Administration Console is accessible through this connection protocol. and the BMC ProactiveNet Administration Console are installed on computers that reside on different sides of the firewall. Only the General Administration functionality in the Administration tab is accessible through this connection protocol. The Event Management Policies, Dynamic Data Editor, Infrastructure Management, and Services Editor tabs will be grayed out.
HTTP Tunnel: Use this connection protocol when the BMC ProactiveNet Server
In an HTTPS environment, BMC ProactiveNet encrypts the information relay from the Web interface. The Administration Console uses Secured Socket Layer (SSL) connections and encryption to connect to the BMC ProactiveNet Server. For more information on Secure Login, see the BMC ProactiveNet Troubleshooting Guide.
to.
User name with access rights to the BMC ProactiveNet Server. The default is
admin.
Password corresponding to the user name. The default is admin. The type of connection to use to connect to the BMC ProactiveNet Server, either
For details about the connection types, see Accessing the BMC ProactiveNet Administration Console on page 17. 3 Click OK. The BMC ProactiveNet Administration Console is displayed as shown in the following figure.
For remote utilization of BMC ProactiveNet Administration Console, source the profile using the .tmcsh script located in the /usr/pw/pronto/bin directory before entering the pw admin command. 2 Specify the following information:
Name or IP Address of the BMC ProactiveNet Server that you want to connect
Note
to.
User name with access rights to the BMC ProactiveNet Server. The default is
admin.
Password corresponding to the user name. The default is admin. The type of connection to use to connect to the BMC ProactiveNet Server, either
For details about the connection types, see Accessing the BMC ProactiveNet Administration Console on page 17. 3 Click OK.
The BMC ProactiveNet Administration Console is displayed as shown in the
following figure.
to search for monitors, the remaining search filters are disabled and the user is presented with a list of groups to select from. After the user selects a group and clicks the Search option, the search result displays the list of all monitors that belong to the selected group.
Search for Monitors using the Source Agent filter: When the user selects the
Source Agent filter to search for monitors, the remaining search filters are disabled and the user is presented with a list of Agents associated with BMC ProactiveNet Server. After the user selects an Agent and clicks the Search option, the search result displays the list of all monitors that have the selected Agent as the Source Agent. Target Device filter to search for monitors, the remaining search filters are disabled and the user is presented with a list of devices associated with BMC ProactiveNet Server. After the user selects a device and clicks the Search option, the search result displays the list of monitors on the selected device. Monitor Type filter to search for monitors, the remaining filters are disabled and the user is presented with a list of Monitor types for the available monitors. Monitor type option 'ALL' is also allowed. Previously, the list of Managed object types was presented to the user. Now, the list of Monitor Types is displayed. Managed object types like 'Device' are eliminated from the list now. When the user selects a Monitor type, the user can refine the search criteria using Attribute Name-value conditions. The Attribute Name-value conditions has the following:
List of configuration and control attributes for the selected Monitor type List of operators (Contains, Does not contain, Starts with, Equals, Does not
Search for Monitors using the Target Device filter: When the user selects the
Search for Monitors using the Monitor Type filter: When the user selects the
Note
The user can select an attribute from the list, specify the attribute value, and select the operator to be applied to the selected attribute and its value. For example, if a user selects an attribute 'Statistics Poll Interval', specifies the attribute value as '20 min' and selects the operator as 'Equals', it implies that the search result should display those monitors whose attribute 'Statistics Poll Interval' equals '20 min'. The user can specify multiple Attribute Name-value conditions, by using the 'MORE' option. If there are multiple Attribute Name-value conditions, users can also indicate whether all the attribute Name-value conditions should be matched or any one of the specified attribute Name-value conditions can be matched.
When Monitor type option 'ALL' is selected, only the control attributes (PollRate, PollTimeout, DataCollect) and Source Agent attributes are allowed to be used. The search results show a list of all monitors fulfilling the search criteria. When the search result is displayed, the user can do one of the following:
Select one of the monitors and edit/delete the selected monitor Select multiple or all monitors and edit common control attributes Select multiple or all monitors and delete them
Note
If you select Monitor Type, you can further refine your search by using the
Figure 1 on page 24 shows the Search for Monitors window with the Monitor Type search criteria selected. Figure 1: Search for Monitors with Monitor Type refining
3 Click OK.
4 The results of the search are displayed in the Search Results window as shown in Figure 2 on page 25. Figure 2: Example of Search Results
To delete a monitor, select the required monitor from the list and click Delete. Click Cancel to close the Search Results window.
To configure cell connection properties to the server and Impact Manager (cell)
1 From the menu bar, choose Edit => Configure => Administration Settings. 2 In the Configure Administration Settings dialog box, click the Impact Managers tab. 3 Select a cell or cell group. 4 If necessary, click Advanced to display the Cell Properties section of the dialog box. If you select a cell group, changes are applied to all the cells contained in the cell group. If you select a single cell, changes are applied only to the individual cell. 5 Use Table 1 on page 26 to set cell connection properties as required. Table 1: Cell connection properties
Property Name Host Port Timeout Description displays the name of the cell whose properties you are changing displays the name of the host computer where the cell is installed displays the port number the cell uses to connect to the host computer specifies the length of time the console waits to receive data from the cell; default is 30 seconds BMC ProactiveNet saves any negative Timeout values that you type as positive values. Refresh Freq Attempts Connect Freq sets the time interval between polls of the cell; default is 60 seconds BMC ProactiveNet saves any negative Refresh Freq values that you type as positive values. sets the number of times the console attempts to connect to a cell; default is 10 BMC ProactiveNet saves any negative Attempts values that you type as positive values. time interval between connection attempts; default is 5 seconds BMC ProactiveNet saves any negative Connect Freq values that you type as positive values. Encrypted Mode enables and disables encryption of data between the console and the cell; default is enabled (selected) Auto Connect Auto Switch enables and disables automatic connection to the cell at logon; default is disabled (cleared) enables and disables automatic and continuous switching of the connection from the backup cell to the primary cell after failover, using the value set in Connect Freq as the interval; default is disabled
Note
Description enables and disables using a specified range of local ports (on the console) for establishing a connection between the console and a cell. Designating a port range is useful if the console must communicate to a cell through a firewall with only specific ports available for communication. The console scans through the specified port range until a port is connected to the cell or the connection fails because the port range is exhausted. For using port range, once you select the Use Port Range check box, BMC ProactiveNet automatically changes the Min Port No. and Max Port No. values to 1. You must have at least four open ports within the port range, including the Min Port No. and the Max Port No.
specifies the lower limit of the port range specifies the upper limit of the port range enables and disables the automatic connection attempt of the console to the first network card it encounters. Clear this option to bind to a specific IP address. If only one network card exists, ensure that Auto Bind is selected. See Specifying ports in cell connection properties on page 28 for additional information.
IP Address
specifies the IP address assigned to the local network card to which the console connects; available only if Auto Bind is cleared
Or, from the Dynamic Data Editor tab, right-click on the cell and choose Edit
2 In the Edit Server Cell Settings dialog box, select a cell to edit. 3 Use Table 1 on page 26 to set cell connection properties as required.
Note You can configure cell connection properties only on individual cells, and not on cell groups.
4 Click OK to save changes and close the dialog box.
To apply IP address, encrypted mode, and maximum and minumum port cell connection properties to connections to the jserver
By default, when you use the Administration Console to configure connections to a remote cell, those changes are not applied to connections opened by the jserver to the remote cell. To extend the connection properties to the connections opened by the jserver, follow these steps: 1 In a text editor, open the pw/admin/etc/ix.properties file. 2 Set pronet.admin.applyCellConnectionPropertiesInJserver=true. 3 Save and close the file. 4 Restart the Administration Console.
In these circumstances, you must select Use Port Range and specify the limits of the port range and then select either Auto Bind or a particular IP address. The Auto Bind option configures the console to connect to an NIC before it can connect to a cell. If you specify no particular NIC, the console automatically attempts to connect to the first NIC it encounters. On a multi-homed computer, you can specify the NIC by selecting the IP address that the card is using from the IP Address list box. If Auto Bind is not enabled, you must specify a port range for the network card to which the console binds.
Note If the console is running on a computer that is acting as a gateway between multiple subnets, the network card that you bind to must be on the same subnet as the cell to which the console connects.
Logging out of and into the BMC ProactiveNet Server from the BMC ProactiveNet Administration Console
Description enables and disables automatic attempts to reconnect to the BMC ProactiveNet Server when the connection has been dropped The Administration Console will attempt to reconnect to the server at the Frequency and for the Number of Retries that you specify. If, after the final try the server is still not reconnected, an error message is displayed stating that the server is down, and you must manually restart the server and log back on to the Administration Console. A status message is displayed in the status area of the Administration Console showing the number of reconnection attempts.
4 Click Apply to save the changes, or click OK to save and exit the dialog box.
Logging out of and into the BMC ProactiveNet Server from the BMC ProactiveNet Administration Console
You can log out of the BMC ProactiveNet Server and log in from the BMC ProactiveNet Administration Console interface without closing the console.
To log out of the BMC ProactiveNet Server from the Administration Console
1 From the menu bar of the BMC ProactiveNet Administration Console, choose Server => Logout. 2 In the Logout Confirmation dialog box, click Yes.
Note
BMC ProactiveNet Administrator manages profiles (and access rights) for individual users.
Admin profile
Administrators have unlimited access to BMC ProactiveNet. They can configure the environment, define individual user profiles, and perform full administrative functions.
User profile
The BMC ProactiveNet administrator creates user profiles, and can restrict users access to BMC ProactiveNet features. The user profile (as set by the administrator) governs the functionality available to each user in the BMC ProactiveNet Operations Console. BMC ProactiveNet enables the administrator to assign access rights at both micro and macro levels.
2
Managing BMC ProactiveNet Agents
Adding Agents
Use the Add Agent option to add an agent after a device has already been set up. To set up the device and the agent simultaneously, see About Remote Agents on page 35. The BMC ProactiveNet local agent (BMC ProactiveNet Agent) resides on the computer where the BMC ProactiveNet Server is installed. Remote agents are agents that reside on computers outside of the BMC ProactiveNet Server.
Adding Agents
Control Port - The default control port (TCP connection port) is 12124. Change
the port if 12124 is forbidden by a firewall or if it is being used by an existing application. To change the port, click Close, and then see Changing the default BMC ProactiveNet Agent TCP control port on page 196.
Agent Name - BMC ProactiveNet inserts the device name that you specified. Agent IP Address - BMC ProactiveNet inserts the IP Address (or name of the
Agent if using DNS) that you specified in the IP Address field when you created the device. By default, the one created on the previous screen is selected.
Associated Device - BMC ProactiveNet lists devices with the same IP address.
Connection Options. Direct Access using TCP/IP - Select if the remote agent uses TCP/IP. Direct Access using SSL TCP/IP - Select if the remote agent uses SSL TCP/IP. HTTP Tunnel Proxy - Select if the remote agent uses an HTTP Tunnel. For
installation and configuration of the remote agent, see Installing tunnel agents on page 44.
TCP Proxy - Select if the remote agent uses TCP Proxy. For further details,
5 Choose the monitor. 6 Follow the procedure in Choosing monitors for the device on page 99. To view the new agent, expand (or close and expand) the Agents folder. To view the monitor, expand (or close and expand) the Monitors folder. If a problem occurs while you are adding an agent, BMC ProactiveNet displays an error message. For more information, see SSL server certificate for Apache server on page 171.
Editing an agent
Editing an agent
You can edit the properties of the BMC ProactiveNet Agent by using the BMC ProactiveNet Administration Console.
Note If BMC ProactiveNet Server or BMC ProactiveNet Agent is rebooted or shut down for any reason, or if the network goes down, everything reconnects automatically on restart.
Figure 3: Connecting Server and Agents
Agents status monitors must always be done from BMC ProactiveNet Server
BMC ProactiveNet Agent residing on the BMC ProactiveNet Server must always be labeled BMC ProactiveNet Server for this monitor to work correctly.
Note
To add agents
1 In the Administration Console in the Administration => General Administration tab, expand the Advanced Options folder, right-click the Agent folder and select Add Remote Agent. The Add Device and Agent window is displayed. 2 In the Add Device and Agent window, enter the following required information and click Next.
Device Type - Select a device type from the list. Device Name - Enter a descriptive name for the device. IP Address - Enter the IP address (or name of the Agent if using DNS) you are
3 Specify Control attributes on Control tab. 4 Click Next. 5 Specify Group Membership on the Groups Tab. 6 Click Next to open the Remote Diagnostics tab.
Protocol Types rexec, rlogin, rsh, ssh, and telnet. Select a Protocol Type from
the list.
PortNo Enter the port number where the remote service is running. Initially,
Local User Name Mandatory when using the rsh and rlogin Protocol Type.
The user name on the local system from where the DD is fired. Enter the Local User Name. Name.
Remote User Name Mandatory for all Protocol Types. Enter the Remote User
Remote User Password Mandatory for rexec, rlogin, telnet, and ssh Protocol
Types. Enter the Remote User Password. Confirm the Remote User Password. Types.
Remote System Prompt Mandatory when using rlogin and telnet Protocol
Note
The user should give a complete remote system prompt while using rlogin
and telnet protocols. For example, if the remote system prompt is [root@kadamba root]#, then the user should enter correctly in the remote system prompt field. If the user uses partial system prompt, i.e. # instead of [root@kadamba root]#, then the system is prevented from logging into the remote device. The maximum number of characters supported for remote system prompt is 512 characters. based authentication. It is users responsibility to set the proper rhosts authentication before using the rhost protocol.
The rhosts file works only on the rhosts authentication. There is no password-
For details about protocol types, see Diagnostics wizard on page 151.
7 Click Next to open the Baseline tab. 8 If required, select the device from which baseline values of existing monitors must be copied to new monitors being created on the new device. 9 Click Next. 10 In the window that seeks server connection details, fill in the required fields.
Control Port - The default Control Port (TCP connection port) is 12124. Change
the Control Port when 12124 is forbidden by a Firewall, or because it is being used by an existing application.
To change, click Close, then see: TCP Control Ports. For a Windows Agent, see: Changing BMC ProactiveNet Agent (NT/2000/2003) Control Port. Otherwise, accept the default 12124 and continue with the next step.
Agent Name - The default value is the Device Name specified on the previous
screen.
Agent IP Address - The default value is the IP Address (or name of the Agent if
Associated Device - The lists devices with the same IP address are listed. By
11 In the window that seeks server connection details, select a Connection option.
Select Direct Access using TCP/IP option if the remote agent uses TCP/IP. Select Direct Access using SSL TCP/IP option if the remote agent uses SSL TCP/
IP. For more information, see SSL TCP/IP Agent on page 57.
Select HTTP Tunnel Proxy option if the remote agent uses an HTTP Tunnel.
Refer Tunnel Agent topic for information on installation and configuration of the remote agent. TCP Remote Agent. TCP Proxy Agent on page 70.
Select TCP Proxy option if the remote agent is to be proxied behind another
12 Click Next to create the agent and add monitors. When the agent is created, the second Add Agent window is displayed to allow selection of monitors for the device. a Choose the monitor. b Follow the procedure detailed in Choosing monitors for the device on page 99. To view the new agent, expand (or close/expand) the Agents folder. To view the monitor, expand (or close/expand) the Monitors folder. For information, see SSL server certificate for Apache server on page 171. To view the new agent, expand (or close/expand) the Agents folder. To view the monitor, expand (or close/expand) the Monitors folder. 13 Select the monitors to be created on the Agent. 14 Click Finish.
BMC ProactiveNet registers the new agent and creates the specified monitors.
The status of each action is listed on the screen. 15 Click OK to complete the procedure.
2 Right-click the Agent to be edited and select Edit. The Edit Remote Agent window is displayed. 3 Choose from the following:
Control Port - The default Control Port (TCP connection port) is 12124. You
change the Control Port when 12124 is forbidden by a Firewall, or because it is used by an existing application.
To change, click Close, then see: About TCP Control Ports. For a Windows Agent, see: Changing BMC ProactiveNet Agent (NT/2000/2003) Control Port. Otherwise, accept the default 12124 and continue with the next step. To change, click Close, then see: About TCP Control Ports. For a Windows Agent, see: Changing BMC ProactiveNet Agent (NT/2000/2003) Control Port. Otherwise, accept the default 12124 and continue with the next step.
Agent Name - Edit or rename the agent. (You cannot edit or rename 'BMC
ProactiveNet Server').
Agent IP Address - Change the agent IP address. Associated Device - Device associated with this agent.
4 Click OK. If you have changed any values, click OK before doing a reconnect. If you do not click OK, changes made will not be saved.
Note
Disconnect Agent - Select to disconnect the Agent from this BMC ProactiveNet
Restart Agent - Select to restart the Agent. (This works only if the agent status
Note On deleting an Agent, the Administration Console displays the message 'all monitors associated with Agent will be deleted'. This can be construed as that the device will also be deleted, which is not always the case. To remove the device, which contained the Agent, you need to delete it from the Devices folder using the Administration Console. However, if you create a new device/agent pair, a certain number of default monitors are automatically added (i.e., Agent Status, Node Ping, System, and so on).
When the agent is deleted, these default monitors also get deleted. If there are no other monitors tied to the device at this point, the device also gets deleted. If you wish to permanently remove the Agent, you need to use the un-install function.
To delete an agent
1 From the Administration Console in the Administration => General Administration tab, expand the Advanced Options folder and then the Agent folder. 2 Right-click the Agent to delete, and select Delete.
If the Remote Agent is currently monitoring applications, a Warning message is
displayed.
Do not delete BMC ProactiveNet Server! It must always appear in the Agent folder. The Confirm Deletion window is displayed. 3 Click OK. To confirm that the agent has been deleted, close and expand the Agents folder.
Note
Tech tip
To permanently remove the Agent, you must uninstall it. For UNIX or Linux Agents, you can uninstall the agent whether the Administration Console is open or not. For Windows Agents, however, you must close the Administration Console first. For instructions for uninstalling the agent, see the BMC ProactiveNet Getting Started Guide.
Note
BMC ProactiveNet Server identifies proxies using the tunnel ID assigned to the Agent during installation. The Tunnel ID is stored in the Agents pronet.conf file. If the assigned tunnel ID does not match the actual tunnel ID set in pronet.conf file, the Agent will not connect. The pronet.conf file also tells the Agent proxy which URL to connect to. As shown in the figure 'Tunneled Agent Connections - Proxy Embedded in Agent', the URL should point to the Apache Web servlet on BMC ProactiveNet Server.
The Agent Tunnel always uses port 12124. To change the port number because of a conflict, you must open the pronet.conf file and change it there. You cannot change the port number via the console.
Note
Supported modes
Tunnel Agents run in both the HTTP and HTTPS modes, but, it is advised to not use secure tunneling.
Limitations
Tunnel Agents put additional load on CPU usage and I/O of the host computer
due to embedded HTTP proxy. The impact is proportional to the amount of data being collected by the Agent. Generally, it is an additional 1-5 percent on CPU usage. data transfer. Adding/editing monitors to Tunnel Agents requires more time. Tunnel Agent does not perform as well as standard BMC ProactiveNet Agents. Although there is no limit on how much data can be collected with a tunnel Agent, in general, poll frequencies and number of instances supported will not be as high as regular BMC ProactiveNet Agents.
Tunnel Agent connection is virtual, and requires Agent proxy to connect before
AIX agents cannot be connected in secure tunnel mode. The .jre file used in Red Hat Linux versions 7.1 and 9 is 1.3.1, and .jre on BMC
ProactiveNet Server is 1.4.2. Due to this mismatch in the .jre files, BMC ProactiveNet Agent cannot connect in the Tunnel mode.
Windows Server will not perform the desired number of retries as mentioned by
the pronet.conf entry "pronet.apps.agent.pollperiod.allowednoreplies.tcp=2" when an agent is unreachable. The agent will be set as AgentUnreachable immediately.
The process 'tunnelproxy', which shows up under 'pw process list', is the one that takes care of tunnel connections on the server side. However, this does not affect the way tunnel agents are configured.
Note
4 On the prompt, specify the installation path. For example: /datadisk/tunnelagent 5 Accept the Terms and other prompts. 6 On the prompt, specify the unique Tunnel ID. For example: MyTunnel33. The Tunnel ID is an alphanumeric string (maximum length 32 characters). Special characters and spaces are not supported. 7 This Tunnel ID is stored in pronet.conf file on the Agent computer. installDirectory /pw/pronto/custom/conf/pronet.conf 8 Enter 'true' when prompted to 'Allow Secure Tunneling'. This is optional. Secure mode includes Authenticated, Encrypted, and Compressed methods for sending information through the Tunnel. 9 Specify BMC ProactiveNet Server location on the following prompt:
Enter the server name/IP address that you want to connect to:
Location is the name or IP Address of the host. For non-DNS environments, include the computer and domain name (server.mycompany.com). In case BMC ProactiveNet Server is using a port other than 80, you need to append that server port number to the IP address. For BMC ProactiveNet Server using port 8080, specify Server IP as xxx.xxx.xxx.xxx:8080. 10 The installation program records the information, and completes the installation.
On completion of the process, the message 'Proactive Agent Installation
Completed' is displayed.
4 On the prompt, specify the installation path. For example: /datadisk/tunnelagent. 5 Accept the Terms and other prompts. 6 On the prompt, specify the unique Tunnel ID. For example: MyTunnel33. The Tunnel ID is an alphanumeric string (maximum length 32 characters). Special characters and spaces are not supported.
This Tunnel ID is stored in pronet.conf file on the Agent computer.
<installedpath>/pw/pronto/custom/conf/pronet.conf
7 Enter 'false' when prompted to 'Allow Secure Tunneling'. AIX agents cannot be configured in secure mode 8 Specify BMC ProactiveNet Server location on the following prompt:
Enter the server name/IP address that you want to connect to:
Location is the name or IP Address of the host. For non-DNS environments, include the computer and domain name (server.mycompany.com). In case BMC ProactiveNet Server is using a port other than 80, you need to append that server port number to the IP address. For example: for BMC ProactiveNet Server using port 8080, specify Server IP as xxx.xxx.xxx.xxx:8080.
Chapter 2 Managing BMC ProactiveNet Agents 45
9 The installation program records the information, and completes the installation.
On completion of the process, the message 'Proactive Agent Installation
Completed' is displayed.
4 On the prompt, specify the installation path. For example: /datadisk/tunnelagent. 5 Accept the Terms and other prompts. 6 On the prompt, specify the unique Tunnel ID. For example: MyTunnel33. The Tunnel ID is an alphanumeric string (maximum length 32 characters). Special characters and spaces are not supported.
This Tunnel ID is stored in pronet.conf file on the Agent computer.
<installedpath>/pw/pronto/custom/conf/pronet.conf
7 Enter 'true' when prompted to 'Allow Secure Tunneling'. This is optional. Secure mode includes Authenticated, Encrypted, and Compressed methods for sending information through the Tunnel. 8 Specify BMC ProactiveNet Server location on the following prompt:
Enter the server name/IP address that you want to connect to:
Location is the name or IP Address of the host. For non-DNS environments, include the computer and domain name (server.mycompany.com). In case BMC ProactiveNet Server is using a port other than 80, you need to append that server port number to the IP address. For example: for BMC ProactiveNet Server using port 8080, specify Server IP as xxx.xxx.xxx.xxx:8080. 9 The installation program records the information, and completes the installation.
On completion of the process, the message 'Proactive Agent Installation
Completed' is displayed.
4 On the prompt, specify the installation path. For Example: /datadisk/tunnelagent. 5 Accept the Terms and other prompts. 6 On the prompt, specify the unique Tunnel ID. For example: MyTunnel33. The Tunnel ID is an alphanumeric string (maximum length 32 characters). Special characters and spaces are not supported.
This Tunnel ID is stored in pronet.conf file on the Agent computer.
installDirectory /pw/pronto/custom/conf/pronet.conf
7 Enter 'true' when prompted to 'Allow Secure Tunneling'. This is optional. Secure mode includes Authenticated, Encrypted, and Compressed methods for sending information through the Tunnel. 8 Specify BMC ProactiveNet Server location on the following prompt:
Enter the server name/IP address that you want to connect to:
Location is the name or IP Address of the host. For non-DNS environments, include the computer and domain name (server.mycompany.com). In case BMC ProactiveNet Server is using a port other than 80, you need to append that server port number to the IP address. For example: for BMC ProactiveNet Server using port 8080, specify Server IP as xxx.xxx.xxx.xxx:8080. 9 The installation program records the information, and completes the installation.
On completion of the process, the message 'Proactive Agent Installation
Completed' is displayed.
3 Execute Agentx.x_byyy.exe (x.x is the BMC ProactiveNet Release and yyy is the build number) by running the following command:
Agentx.x_Byyy.exe tunnel
4 On the Install shield window, navigate through the screens, accept terms, and specify the path for installation.
Install shield starts the installation process. It prompts for the Tunnel ID and
Server name.
5 Specify Tunnel ID and Server Name. a Tunnel ID It is an alphanumeric string with maximum 32 characters (no special characters or spaces allowed). This ID is stored in the Agents pronet.conf file. b Server Name/IP Address Name/IP Address of the host computer. For nonDNS environments, be sure to include the computer name plus the domain name (server.mycompany.com). If BMC ProactiveNet Server is using a port other than 80, you need to append that Server port number to the IP address. For example, suppose the Server is using the alternate HTTP port 8080. When specifying the Server IP for this field, the IP to enter would be xxx.xxx.xxx.xxx: 8080. 6 Click Next.
You are prompted to select the mode (secure/standard).
The Proxy agent is installed as a Tunnel Agent. It collects data from other remote agents (normal TCP Agents) and communicates with BMC ProactiveNet Server.
48 BMC ProactiveNet Administrator Guide
All NON-tunnel agents should be installed as normal TCP type. Any tunnel agent that uses proxy agent needs to be installed as a tunnel agent with the proxy on a different computer.
8 Specify Tunnel ID. For example: MyTunnel33. 9 Select On same machine as agent. 10 Click Finish. Only default monitors will be created.
Note
6 In the Administration console in the Administration => General Administration tab, expand the Advanced Optionsfolder and then the Agent folder. 7 Right-click the agent instance and click Edit. 8 On the Edit screen, change the connection type to TCP/IP and click OK. The Agent reconnects during the next poll. However, the agent can be manually reconnected at anytime.
Note pronet.conf file is available under a gentHome \Agent\pronto\conf folder. Ensure that duplicate pronet.conf files are not present under a gentHome \Agent \custom\conf\pronet.conf. In case another file is present, you can either delete that file or make the modifications on this file.
4 For the tunnel agents which were running under HTTP in secure mode, delete the following lines:
pronet.ipc.tunnel.authenticate=True pronet.ipc.tunnel.compress=True pronet.ipc.tunnel.encrypt=True pronet.ipc.tunnel.mac=True
5 For agents outside the server's network, qualify the server name. For example:
pronet.ipc.proxy.serverproxy.url=https://aqua.bmc.com/controller/
com.proactivenet.ipc.tunnel.Outside
com.proactivenet.ipc.tunnel.Outside
7 Restart Remote Agent. 8 In the Administration console, go to Advanced Options => Agent. 9 Right-click the agent instance and click Edit. 10 On the Edit screen, change the connection type to HTTP Tunnel Proxy and click OK.
Note pronet.conf file is available under <Agent Home>\Agent\pronto\conf folder. Please make sure that duplicate pronet.conf files are not present under <Agent Home>\Agent\custom\conf\pronet.conf. In case another file is present, you can either delete that file or make the modifications on this file.
4 Add the following lines:
pronet.ipc.proxy.agentproxy.isruninternally=true pronet.ipc.tunnel.inside.terminalid=<tunnelid>(UNIQUE)
5 To convert the TCP Agents to HTTP Agent in secure mode, add the following properties in the pronet.conf file:
Configuration properties
6 For agents outside the server's network, qualify the server name. For example:
For HTTP:
pronet.ipc.proxy.serverproxy.url=http://aqua.bmc.com/controller/ com.proactivenet.ipc.tunnel.Outside
For HTTPS:
pronet.ipc.proxy.serverproxy.url=https://aqua.bmc.com/controller/ com.proactivenet.ipc.tunnel.Outside 7 The IP Address of the server can also be used. For example:
For HTTP:
pronet.ipc.proxy.serverproxy.ip=http://209.11.112.186/controller/ com.proactivenet.ipc.tunnel.Outside
For HTTPS:
pronet.ipc.proxy.serverproxy.ip=https://209.11.112.186/controller/ com.proactivenet.ipc.tunnel.Outside 8 Restart Remote Agent. 9 In the Administration console, go to Advanced Options => Agent. 10 Right-click the agent instance and click Edit. 11 On the Edit screen, change the connection type to HTTP Tunnel Proxy and click OK.
Configuration properties
BMC ProactiveNet Agent installation has separate configuration files available at two locations in the BMC ProactiveNet Agent installation directory:
agentHome /Agent/pronet/conf/pronet.conf
Configuration properties
agentHome /Agent/custom/conf/pronet.conf
Properties available in pronet.conf file available under custom/conf/ overrides the properties available in the other pronet.conf file. For BMC ProactiveNet Agents installed as TCP, pronet.conf file is not available under custom/conf/ directory.
Available properties
Secure Tunnel agents can be configured only on MS Windows platform. During Tunnel Agent installation, some of the properties are set in pronet.conf file available under custom/conf/ directory. The change are based on user input. For NON_SECURE mode installations, the properties are set as follows:
pronet.ipc.proxy.serverproxy.url=http\://luni/controller/ com.proactivenet.ipc.tunnel.Outside pronet.ipc.tunnel.inside.terminalid=bismi pronet.ipc.proxy.agentproxy.isruninternally=true
Note
proxy handling URL to which tunnel agent needs to communicate. This property is commented in the pronet.conf file under \pronto\conf\ directory. The Tunnel ID is specified during the Tunnel Agent installation. The default value is set as 1 in the pronet.conf file under \pronto\conf\ directory. determines whether to start the Agent Tunnel proxy or not. In case this property is not set, the Agent Tunnel Proxy will not be started. The default value in pronet.conf file under \pronto\conf\ directory.
Configuration properties
The first three properties are similar to the NON_SECURE installation. Remaining four properties provide the authentication. The default values for the four properties is set to false in the pronet.conf file under \pronto\conf\ directory.
"pronet.ipc.tunnel.authenticate" provides the verification that the remote terminal
is the same remote terminal that was communicated with last time.
bytes and randomizes the data. This results in higher quality encryption. likely be discovered and handled in case of encryption. extremely difficult to view or even tamper with data.
"pronet.ipc.tunnel.mac" verifies that data has not been tampered with. It will very
The system uses default values for the following unchangeable properties:
pronet.ipc.tunnel.security.signatureKeyAlgorithm = DSA(ONLY DEFAULT) pronet.ipc.tunnel.security.signatureKeyProvider=SUN(ONLY DEFAULT) pronet.ipc.tunnel.security.signatureKeySize=1024(ONLY DEFAULT) pronet.ipc.tunnel.security.signatureAlgorithm= SHA1withDSA(ONLY DEFAULT) pronet.ipc.tunnel.security.signatureProvider=SUN(ONLY DEFAULT) pronet.ipc.tunnel.security.secureRandomAlgorithm= SHA1PRNG(ONLY DEFAULT) pronet.ipc.tunnel.security.secureRandomProvider=SUN(ONLY DEFAULT) pronet.ipc.tunnel.security.keyAgreeParamSize=512(ONLY DEFAULT) pronet.ipc.tunnel.security.keyAgreeAlgorithm=DH(ONLY DEFAULT) pronet.ipc.tunnel.security.keyAgreeProvider= SunJCE(ONLY DEFAULT) pronet.ipc.tunnel.security.keyAgreeAlgorithmParameterSpec= javax.crypto.spec.DHParameterSpec(ONLY DEFAULT) pronet.ipc.tunnel.security.cipherParamSize=56(ONLY DEFAULT) pronet.ipc.tunnel.security.cipherAlgorithm=DES(ONLY DEFAULT) pronet.ipc.tunnel.security.cipherMode=CBC(ONLY DEFAULT) pronet.ipc.tunnel.security.cipherPadding= PKCS5Padding(ONLY DEFAULT) pronet.ipc.tunnel.security.cipherProvider= SunJCE(ONLY DEFAULT) pronet.ipc.tunnel.security.macAlgorithm= HmacMD5(ONLY DEFAULT) pronet.ipc.tunnel.security.macProvider= SunJCE(ONLY DEFAULT) pronet.ipc.tunnel.security.macKeyAlgorithm= HmacMD5(ONLY DEFAULT) pronet.ipc.tunnel.security.macKeyProvider= SunJCE(ONLY DEFAULT) pronet.ipc.tunnel.security.macKeySize=64(ONLY DEFAULT)
The connections are authenticated both on BMC ProactiveNet Server and the Agent using a certificate issued by the BMC ProactiveNet Certificate Authority (to use certificates issued by another CA, contact support).
ProactiveNet home directory to configure the remote agent to accept SSL TCP/ IP connections from the server. Set the property in the pronet.conf file to:
pronet.apps.agent.conntype=ssltcp
3 Restart the Agent. 4 Configure the agent on the server using the 'SSL TCP/IP' mode from the Administration Console.
3 Restart the agent 4 Edit the remote agent connection type in the Administration Console to change to 'SSL-TCP' 5 Click OK. 6 Reconnect the agent using the Administration Console or CLI.
and for Agent is driven by pnAgent.ks, keystores present in the /pw/pronto/ conf/ directory.
Trust management and key management are driven by keystores which can be
created using the keytool utility. The keystores for the Agent Controller & Agent are specified using the following pronet.conf entries, respectively:
pronet.apps.ipc.ssl.context.controller.keystore.filename pronet.apps.ipc.ssl.context.Agent.keystore.filename
The public-private keypairs for the Agent and Agent Controller are generated using the RSA algorithm.
Password that is necessary for these keystores is specified in the .ks_pass file
BMC ProactiveNet supports the following protocol suites by default for Agent-
This list is specified using the pronet.conf entry pronet.apps.ipc.ssl.enabledsuites, which can be enhanced, depending on the type of certificates to be used.
Limitations
As of BMC ProactiveNet 7.1 only keystore in jks format is supported. Though it
may be configurable from java.security, java.policy and pronet.conf entries, it is not verified. ProactiveNet product only, with no other JRETM/JVMTMs installed on the same system or at least not present in the path.
BMC Software recommends using the keytool provided as part of the BMC
keyalg RSA.
This command will generate a new public-private key pair. This public key will be wrapped in a certificate by default. This key pair along with the certificate will be stored in the keystore file mentioned in the keystore option. Use the RSA algorithm to generate the key pair as it is supported by default. Additional configurations required to be changed are listed under Default Configuration section. 2 The keystore for the Agent controller can be specified in the, pronet.conf entry pronet.apps.ipc.ssl.context.controller.keystore.filename. Enter the path to the newly generated keystore in this entry. 3 For trust management, add certificates into this keystore by issuing the following command:
keytool -keystore <path> -import -alias <alias-name> -file <certificate-path>.
Type in yes when the tool prompts Trust this certificate? [no]:. All the certificates added like this will be trusted by the Agent controller. 4 Password for this keystore must be specified in the .ks_pass file present in the / pw/pronto/conf/ directory. 5 Restart the Agent controller for the changes to take effect.
keyalg RSA.
This command will generate a new public-private key pair. This public key will be wrapped in a certificate by default. This key pair along with the certificate will be stored in the keystore file mentioned in the keystore option. Use the RSA algorithm to generate the key pair as it is supported by default. Additional configurations required to be changed to use any other algorithm are mentioned later. 2 The keystore for the Agent can be specified in the, pronet.apps.ipc.ssl.context.Agent.keystore.filename pronet.conf entry.
60 BMC ProactiveNet Administrator Guide
3 For trust management, add certificates into this keystore by issuing the following command:
keytool -keystore <path> -import -alias <alias-name> -file <certificate-path>.
Type in yes when the tool prompts Trust this certificate? [no]:. All the certificates added like this will be trusted by the Agent. 4 Password for this keystore must be specified in the .ks_pass file present in the installDirectory /pw/pronto/conf/ directory. 5 Restart the Agent controller for the changes to take effect.
The alias provided must match with the alias provided while generating the keys in the previous step. Unless the destination directory is specified, the certificate will be generated in the users home directory. 3 Make this as a trusted certificate on the Agent controller end:
Copy the certificate generated above, onto the Agent controllers computer.
Now import this certificate as a trusted certificate into the pnserver.ks keystore by executing the following command: keytool -keystore "<Server Installation Dir>\pw\pronto\conf\pnserver.ks" import -alias ALIAS -file "PATH\certificate name"
Note Alias provided above must be a new Alias. See TCP Proxy Agent on page 70 for further information.
The certificate name provided must be the name of the certificate, which was supplied when the Agents certificate was created. The PATH is the path to the directory where the certificate is kept. Type in yes when the tool prompts Trust this certificate? [no]:. After this step the certificate copied onto the Agent controller computer can be deleted. 4 Restart the server and the Agent for the changes to take effect.
The openssl tool is shipped as part of the BMC ProactiveNet product and can be found in installationDirectory /pw/apache/bin or installationDirectory \pw \ApacheGroup\Apache\bin directory. This can be imported as a key entry, into the existing JKS format keystore using the IBMs freely downloadable KeyMan tool. 2 Import the existing certificate of the Agent into the pnserver.ks file: Copy the Agent certificate onto the Agent controller computer. Now import this certificate as a trusted certificate into the pnserver.ks keystore using the command:
Note
keytool -keystore " installationDirectory \pw\pronto\conf\pnserver.ks" import -alias ALIAS -file "PATH\Certificate name"
Note Alias provided above must be a new Alias. Refer Troubleshooting for further information.
The certificate name provided must be the name of the Agents certificate. The PATH is the path to the directory where the certificate is kept. Type in yes when the tool prompts Trust this certificate? [no]:. After this step the certificate copied onto the Agent controller computer can be deleted. 3 Restart the server and the Agent for the changes to take effect.
keytool -keystore " installationDirectory \Agent\pronto\conf\pnAgent.ks" import -alias ALIAS -file "PATH\certificate name"
Note Alias provided above must be a new Alias. Refer Troubleshooting for further information.
The certificate name provided must be the name of the certificate, which was supplied when the Agent controllers certificate was created. The PATH is the path to the directory where the certificate is kept. Type in yes when the tool prompts Trust this certificate? [no]:. After this step the certificate copied onto the Agents computer can be deleted. This step has to repeated for all the remote SSL TCP/IP Agents the Agent controller is connected to. 4 Restart the server and all the SSL TCP/IP Agents for the changes to take effect.
Updating the Agent Controller keystore with an existing (CA signed) certificate
The following procedure assumes that the default pnAgent.ks and pnserver.ks files are being used. If you want to use your own keystore files then the file name must be specified correctly in the keystore option when you update the keystore.
Note Alias provided above must be a new Alias. Refer Troubleshooting for further information.
The certificate name provided must be the name of the Agents certificate. The PATH is the path to the directory where the certificate is kept. Type in yes when the tool prompts Trust this certificate? [no]:. After this step the certificate copied onto the Agents computer can be deleted. This step will have to be repeated for all the Agents the Agent controller is connected to. 3 Restart the server and the all Agents for the changes to take effect.
The ALIAS provided must be a new alias. 2 Export the newly generated key into a certificate: keytool keystore " installationDirectory \agent\pronto\conf\pnagent.ks" alias ALIAS -export file "certificate name"
Note
The ALIAS provided must match with the alias provided while generating the keys in the previous step. Unless the destination directory is specified, the certificate will be generated in the users home directory. 3 Make this as a trusted certificate on the agent controller end: Copy the certificate generated above onto the agent controllers computer. Now import this certificate as a trusted certificate into the pnserver.ks keystore by executing the following command: keytool -keystore " installationDirectory \pw\pronto\conf\pnserver.ks" -import alias ALIAS -file "PATH\certificate name" The certificate name provided must be the name of the certificate, which was supplied when the agents certificate was created. The PATH is the location to the directory where the certificate is stored. Type in yes when the tool prompts Trust this certificate? [no]:. After this step the certificate copied onto the agent controller computer can be deleted. The ALIAS provided must be a new alias. 4 Restart the server and the agent for the changes to take effect.
Note
Note The openssl tool is shipped along with Apache and can be found in: installationDirectory \pw\ApacheGroup\Apache\bin\
2 Import the existing certificate of the agent into the pnserver.ks file:
Copy the agent certificate onto the agent controller computer. Now import this
certificate as a trusted certificate into the pnserver.ks keystore by executing the following command:
keytool -keystore " installationDirectory \pw\pronto\conf\pnserver.ks" import -alias ALIAS -file "PATH\certificate name" The certificate name provided must be the name of the agents certificate. The PATH is the location to the directory where the certificate is stored. Type in yes when the tool prompts Trust this certificate? [no]:. After this step the certificate copied onto the agent controller computer can be deleted. The ALIAS provided must be a new alias. 3 Restart the server and the agent for the changes to take effect.
Note
The ALIAS provided must be a new alias. 2 Export the newly generated key into a certificate: keytool keystore " installationDirectory \pw\pronto\conf\pnserver.ks" alias ALIAS -export file "certificate name"
Note
The alias provided must match with the alias provided while generating the keys in the previous step. Unless the destination directory is specified, the certificate will be generated in the users home directory. 3 Make this as a trusted certificate on the remote agents end: Copy the certificate generated above onto the agents computer. Import this certificate as a trusted certificate into the pnagent.ks keystore by executing the following command: keytool -keystore " installationDirectory \agent\pronto\conf\pnagent.ks" import -alias ALIAS -file "PATH\certificate name" The certificate name provided must be the name of the certificate, which was supplied when the agent controllers certificate was created. The PATH is the location to the directory where the certificate is stored. Type in yes when the tool prompts Trust this certificate? [no]:. The Agent's controller's certificate, which was copied onto the agent's computer, can now be deleted. This step has to be repeated for all the remote agents (which use SSL TCP/IP) and which are connected to the agent controller. The ALIAS provided must be a new ALIAS. 4 Restart the server and all the agent(s) for the changes to take effect.
Note
Note
To ease the transfer of agent's controller certificate to remote agents, the
On the server, update the local agent's pnagent.ks with the agent controller's
Transfer this pnagent.ks onto all the remote agents (which use SSL TCP/IP)
Note
Note
4 On the server, update the local agent's pnagent.ks with the agent controller's new certificate (as mentioned above). 5 Transfer this pnagent.ks onto all the remote agents (which use SSL TCP/IP) using Transfer Files to Agents feature. All the above examples assume that you are using the default pnagent.ks and pnserver.ks keystore files. These keystores, as mentioned in the Default Configuration, can be configured. Refer Troubleshooting Section for frequently observed errors and their possible solutions.
Note
a TCP Agent from list. The drop-down will list all the TCP Proxy capable Agents on the Server.
When Proxy Agent gets disconnected from the Server, all agents will also get
disconnected and the status of these agents is shown as Proxy Agent Unreachable. The only requirement is that the agent version should be 7.1 or higher.
For proxy communication to be secure, use a SSL/TCP Agent as the Proxy Agent. TCP/IP Agents will have the capability to automatically detect messages to other
Messages from remote agents are sent to the agent controller using the dedicated
TCP connection established between TCP agent and Agent Controller. The following Agents cannot be configured as a TCP Proxy Agent:
HTTP Tunnel Agents. BMC ProactiveNet Agents prior to 7.1 Version.
Note
TCP Proxied Agents (Agents using a TCP Proxy to connect to the server).
The Add Device and Agent window displays as shown in Figure 7 on page 72. Figure 7: Configuration tab of Add Device and Agent window
3 In the Add Device and Agent window, select the Device Type. 4 Specify the Device Name and IP Address. For example: Device Type = Server, Device Name = PN1, IP Address = 192.168.1.66. 5 Select the Agent Installed on Device option.
6 Click Next. The following window is displayed. Figure 8: Add Device and Agent window - continued
7 Select TCP Proxy as the Connection to Server option. 8 Select the Agent from the list containing the TCP Proxy capable agents. Select a computer with minimal or no monitors as the Proxy Agent (so it can devote its resources to communication). 9 Click Finish. Only default monitors will be created.
Note
Limitations
If a TCP Proxy Agent is disconnected or shutdown, then all the agents behind it
will be unreachable.
If the Agent is behind a firewall, then the firewall has to be configured to allow
incoming connection to the Proxy Agent for the port on which Agent is listening the pronet.conf entry "pronet.apps.agent.pollperiod.allowednoreplies.tcp=2" when an agent is unreachable. The agent will be set as AgentUnreachable immediately.
Windows Server will not perform the desired number of retries as mentioned by
3
Managing devices
Summary of devices
You add devices to BMC ProactiveNet through the Device folder on the Administration Console. When you add a device for BMC ProactiveNet to monitor, you are initially presented with the Add Device window in which you identify the device by type. BMC ProactiveNet offers the following device type categories:
AppServer DBServer Firewall MailServer Other RemoteAgent Router Server Switch WebServer
BMC ProactiveNet automatically creates a set of default monitors for each device type. After you add a device to BMC ProactiveNet, you can choose to monitor applications residing on the device or collect statistics from its Management Information Base (MIB), as described in the following sections.
For detailed information about individual BMC ProactiveNet monitors, see the BMC ProactiveNet Data Adapter and Monitor Guide.
duplicate)
When the BMC ProactiveNet cell receives an event, the event is processed as follows, depending on whether the event is internal or external:
For internal events, BMC ProactiveNet compares the device ID from the device
alias with the device ID from the event and if a match is found, then the event is associated with the device.
For external events, BMC ProactiveNet compares other alias values, such as
BMC_ComputerSystem:deviceName or BMC_ComputerSystem:fullyQualifiedDomainName, with the event mc_sms_alias slot value, which contains device information. If a match is found, then the event is associated with the device.
If no matches are found, then the event does not get associated to any device. When a device is created, update, or deleted in the Administration Console, the device is also created, updated, or deleted in the BMC ProactiveNet cell.
WARNING If a device is associated with multiple domains, the domain of the device must be the same domain captured by the mc_host event or aliasing will fail.
Adapter
IBM Tivoli Monitoring HP Operations Manager manually by using the Administration Console or a Command Line Option integrating with the BMC Atrium CMDB
Creating a device
The different sources use the same naming convention when creating the devices;
Ensure that if the device is referenced from multiple adapters that each adapter
Creating a device
Before you add devices, have the following information available:
A list of devices (by type) to add DNS names, if you want to add devices by name IP addresses, if you want to add devices by their IP address For servers, a list of applications running on each server and a checklist of
For adding SNMP devices, a list of MIBs and community strings for each device.
BMC ProactiveNet Server uses the community string as a password for MIB access. If you do not enter a community string, the default community string, public, is used.
If you are not using the DNS, ensure that the BMC ProactiveNet Server IP address exists on the DNS server, mail server, or hosts file. This should have been completed during BMC ProactiveNet Server installation. If the IP address is not included, BMC ProactiveNet cannot poll the device and issues an error message. To verify the BMC ProactiveNet Server environment settings, see the BMC ProactiveNet Getting Started Guide.
Note
To create a device
1 In the BMC ProactiveNet Administration Console, select the Devices folder, right click, and select Add => Device.
78 BMC ProactiveNet Administrator Guide
Creating a device
2 In the Add Device window, enter the required information in the Configuration tab.
Device Type - Select a Device Type from the list.
Ensure that you select the correct Device Type. It is used by Probable Cause Analysis algorithm to determine correlations between events and abnormalities within the system. If the Device type is not accurate, it alters Probable Cause Analysis behavior. Example, if a computer is a Web Server, set Device Type as WebServer (and not just Server).
Device Name - Specify the name of the device. If the device name is a DNS
Note
name, then the device name will be filled in automatically if it has not already been set. This may take a few moments. Ensure that you do not use any special characters, such as /, in the device name. If the device name includes special characters, then you cannot see the monitors for the device when you click on the device name in the Grid view of the BMC ProactiveNet Operations Console.
Note
127.0.0.1 is the loop back address for any computer and should not be added to the Device List. If the device IP address has a DNS name, then the device name will be filled in automatically if it has not already been set.
Tag - Select a descriptive tag about the device that you are creating. Click the
plus icon to display the Enter Tag Details dialog box, where you can select the Tag Class as None, Location, Building, Department, or Owner, and enter a Tag Value. For example, if the device that you are creating is located in a particular city, you would select Location as the Tag Class and then specify the city where the device is located as the Tag Value. Click Add to enter the values that you specify, and then click Finish to return to the Add Device dialog box.
Aliases - Add one or more aliases to the device that you are creating. Use
device aliases to associate events to the device, so that remote actions can be performed on those associated events. For details about remote actions, see Configuring and using Remote Actions/Diagnostics on page 119. that you are creating, if that device has multiple IP addresses. The first IP address that is associated with the Device Name that you specify is used as the primary IP address. Any additional IP addresses are used as secondary IP addresses. If no secondary IP addresses exist, then N.A is displayed in this field. To view all secondary IP addresses, click on the ellipses button.
Secondary IPs - View any secondary IP addresses associated with the device
Creating a device
Note Only devices that have been synchronized with the BMC Atrium CMDB display secondary IP addresses. Manually created devices will not display secondary IP addresses even if multiple IP addresses exist for that device.
Device Description - Enter a description about the device that you are creating. Agent Installed on Device - Select this option if you have installed a BMC
ProactiveNet Agent on this device. Some monitors require that an agent be installed on the target device.
3 Click the Control tab to edit the control attributes. Information in the Control tab tells the BMC ProactiveNet Server about the desired data collection and polling frequencies for the device. You can accept the defaults or change them as required.
SNMP Data Collection - Select this option to enable BMC ProactiveNet Server
to collect data for the entire device. If this option is not selected, data collection for the device stops (or for new devices, never starts). This flag lets you set up monitors for devices that may not yet be online. Or, you can conduct maintenance on existing devices without generating events. for BMC ProactiveNet Server access to the device MIB. To change this entry, you must have prior knowledge of how this device is set up. For example, if this device is set up for the Community String snmpget, then enter snmpget. must request data from the device before reporting an event. Default is 2 retries. must wait for data from the device before reporting an event. Default is 2 seconds.
SNMP Retries - Specifies how many times (count) BMC ProactiveNet Server
SNMP Use V2 - Select this option if the device is using version 2 of the protocol.
Optionally, you may associate the device with a group. A group is used to logically organize devices and monitors by department, geographic area, or service. Assigning a device to a group also enables the system administrator to restrict or allow access to certain devices by group. If you want the device to be associated with a group, select the group name here.
5 Click the Remote Actions/Diagnostics tab and enter the required information.
Protocol Types Select a protocol type from the list. The supported protocols
PortNo Default port number of the selected Protocol Type is displayed. Remote User Name Enter the remote user name. This is mandatory for all
Protocol Types.
Remote User Password Enter the remote user password. Mandatory for
psExec, ssh, and telnet protocol types. Confirm the remote user password.
You should give a complete remote system prompt while using telnet protocols. For example, if the remote system prompt is [root@kadamba root]#, then you should enter correctly in the remote system prompt field. You should not use a partial system prompt, for example, # for [root@kadamba root]#, which might prevent the system from logging into the remote device. The maximum number of characters supported for remote system prompt is 512 characters. For detailed information about Remote Actions, see Configuring and using Remote Actions/Diagnostics on page 119. 6 Open the Baseline tab.
By default, no device is selected when you access the Baseline tab. When you
Note
select a device to copy baseline values from, then for all monitors being added to the new device, a corresponding monitor is searched on the selected device. If matching monitors are present, then all baseline values (hourly and weekly) are copied from the existing monitor to the new monitor instances being created.
7 Click Finish to save your actions and execute all remaining actions (using defaults). This opens a summary panel. Click Finish.
Editing devices
a server running Mail and IP services, select all of the monitors here using the various tabs, or go back and add the monitors later.
2 Click Next.
First the Creating... Monitor screen opens, followed by the configuration
The Configuration window contains specific entry fields, as shown in this example. Refer to the BMC ProactiveNet Data Adapter and Monitor Guide for detailed instructions regarding setting the parameters for the monitors. Notice that each monitor also has a Control tab, which specifies the data collection and polling frequency for individual Application or Intelliscope. And similar to the Configuration tab, the input fields in the Control tab vary depending on the selected monitor. Click Skip if you have selected several monitors to add and you change your mind about one of them or you are uncertain about an entry field Clicking Skip moves on to the next monitors configuration. The skipped monitor is not added. The program continues normally. When the last monitor is configured, the Summary screen appears to show what was created. 3 Click Finish. To view the new device listing, expand (or close and expand) the corresponding device folder.
Editing devices
Perform the following steps to modify an existing device.
To edit devices
Devices published from the BMC Atrium CMDB cannot be edited in the BMC ProactiveNet Administration Console. Also, you cannot edit a device alias for a published device. 1 In the Administration Console, expand the Device folder 2 Expand the device type folder, and select the device to edit.
Duplicating devices
3 Right click on the device and select Edit. 4 On the Configuration tab, make any required changes. 5 On the Control tab, make any required changes. 6 Click OK. If you make changes on the Control tab, all SNMP-based monitors are updated. However, if a Distributed Interface MIB Monitor instance exists on the device and you make any changes on the Control tab, the Affected SNMP-based Auto Discovery-enabled Monitors window is displayed. 7 Select the monitor to which to apply the new control settings. 8 Click OK.
Duplicating devices
You use the Duplicate option to use an existing device and its monitors as a prototype for creating a new device. For example, if you have three servers with four similar applications that you want to monitor, you can add the first server with the applications, and then use that server as a template for creating the other two servers. For each additional server, you only need to enter the new IP address or DNS name.
To duplicate a device
1 In the Administration Console, expand the Devices folder. 2 Expand the device type folder, and select the device that you want to duplicate. 3 Right-click the device and select Duplicate. 4 In the Duplicate Device window, configure information on the Configuration, Control, and Group tabs, as required. The Duplicate option enables you to use the highlighted device and its monitors as a prototype for creating a new device. For example, if you have 3 servers with 4 similar applications that you want to monitor, you can add the first server with the applications, and then use that server as a template for creating the other two. For each additional server, you only need to enter the new IP address or DNS name.
Deleting devices
Note
The Duplicate option does not save or store information. If you want to save
the information for future use when creating the same monitors on different devices, use the Create Template feature. instance thresholds for auto-created SNMP objects like Interface and DLCI. However, these details are captured for custom SNMP monitors that you create using the Monitor Wizard.
The Duplicate option does not duplicate or capture line graphs and absolute
Deleting devices
Auto-discovered devices can be deleted, if there are no auto-discovered monitor instances under the devices. You can delete one or many devices at a time from the Administration Console or through executing CLI commands. You cannot delete devices that are published from the BMC Atrium CMDB.
Note
4 Click OK on the confirmation message. BMC ProactiveNet deletes the selected device and returns to Administration Console screen.
To return to Administration Console without deleting the selected device, click
Cancel.
Note
3 In the Create Template window, specify a name for the template. 4 If you want the template to save control parameters such as collect data, stats poll interval, stats timeout, and so on, select the Preserve control attributes option. 5 Select or clear the existing monitors of the device. 6 Click Add to create a template with the selected options.
Note
In the Administration Console, the Templates folder does not update
automatically when you add or delete templates. You must close and then reopen the Templates folder to reflect changes.
Templates can capture absolute instance thresholds and line graphs. Autosync-created devices, groups, and monitor instances are not part of the
template.
The Create Template command does not duplicate or capture line graphs and absolute instance thresholds for auto-created SNMP objects like Interface and DLCI. However, these details are captured for custom SNMP monitors that you create by using the Monitor Wizard.
Note
on different devices. Using templates means you do not have to re-create the monitors every time you want to add them to a different device. You save the templates for later use or edit them as necessary. This significantly streamlines and automates the administration process. Also, if you have a cluster of servers and you want to monitor each with the same set of monitors, you can create one template to provision all of the systems. You can use the template repeatedly to provision new servers that are added to the cluster. For example, you have a series of URLs to monitor and the URLs are identical except for the host name. If you want to keep the control parameters the same for all the URLs, you can create a template for this URL by using a macro for the hostname portion of the URL, example, http://$(HOST)/search.jsp?keyword=java. For more information about creating templates and using macros, see the BMC ProactiveNet Command Line Interface Reference Manual.
name, then the device name will be filled in automatically if it has not already been set. This may take a few moments. Ensure that you do not use any special characters, such as /, in the device name. If the device name includes special characters, then you cannot see the monitors for the device when you click on the device name in the Grid view of the BMC ProactiveNet Operations Console.
Note
DNS / IP Address - Enter the device's IP address. The address 127.0.0.1 is the
loopback address for any computer and should not be added to the Device List. If the device IP has a DNS name, then the device name will be filled in automatically if it has not already been set.
Tag - Select a descriptive tag about the device that you are creating. Click the
to display the Enter Tag Details dialog box, where you can plus icon select the Tag Class as None, Location, Building, Department, or Owner, and enter a Tag Value. For example, if the device that you are creating is located in a particular city, you would select Location as the Tag Class and then specify
Chapter 3 Managing devices 87
the city where the device is located as the Tag Value. Click Add to enter the values that you specify, and then click Finish to return to the Add Device dialog box.
Aliases - Add one or more aliases to the device that you are creating. Use
device aliases to associate events to the device, so that remote actions can be performed on those associated events. For details about remote actions, see Configuring and using Remote Actions/Diagnostics on page 119. that you are creating, if that device has multiple IP addresses. The first IP address that is associated with the Device Name that you specify is used as the primary IP address. Any additional IP addresses are used as secondary IP addresses. If no secondary IP addresses exist, then N.A is displayed in this field. To view all secondary IP addresses, click on the ellipses button.
Secondary IPs - View any secondary IP addresses associated with the device
Only devices that are synchronized with the BMC Atrium CMDB display secondary IP addresses. Manually created devices will not display secondary IP addresses even if multiple IP addresses exist for that device.
Device Description - Enter a description about the device that you are creating. Agent Installed on Device - Select this option if you have installed a BMC
Note
ProactiveNet Agent on this device. Some monitors require that an agent be installed on the target device.
5 Click the Control tab to edit the control attributes. Information in the Control tab tells BMC ProactiveNet about the desired data collection and polling frequencies for the device. You can accept the defaults or change them as required.
SNMP Data Collection - Select this option to enable BMC ProactiveNet Server
to collect data for the entire device. If this option is not selected, data collection for the device stops (or for new devices, never starts). This flag lets you set up monitors for devices that may not yet be online. Or, you can conduct maintenance on existing devices without generating events. BMC ProactiveNet Server access to the device MIB. To change this entry, you must have prior knowledge of how this device is set up. For example, if this device is set up for the Community String 'snmpget', then enter snmpget. Default is 'public'. must request data from the device before reporting an event. Default is 2 retries.
SNMP Retries - Specifies how many times (count) BMC ProactiveNet Server
SNMP Timeout - Specifies how long (seconds) BMC ProactiveNet Server must
wait for data from the device before reporting an event. Default is 2 seconds.
SNMP Use V2 - Select this option if the device is using version 2 of the protocol.
6 Click the Group tab and enter the required information. The Group tab enables you to add a device and its monitors to one or more groups. Optionally, you may associate the device with a group. A group is used to logically organize devices and monitors by department, geographic area, or service. Assigning a device to a group can also allow the system administrator to restrict or allow access to certain devices by group. If you want the device to be associated with a group, select the group name here. 7 Click Next. 8 Click Finish. A summary panel is displayed.
If the device does not have all the parameters required for this template, you
must enter certain parameters. See Adding a device from a template on page 86 for input information. If the device has all parameters required for the template, the Apply Template Test window is displayed as shown in Figure 9 on page 90: Figure 9: Select/Clear monitors
4 Select or clear the options as needed. 5 Click Next. 6 Click Finish. If a particular device does not have an agent with respect to the template, you must enter agent information. See Adding Agents on page 33.
Warning message
Warning message
If a template specific to an operating system is applied to another operating system, the following warning message is displayed: Figure 10: Error Message displayed when the wrong template is applied
If the device does not have all the parameters required for this template, you
must enter certain parameters. See Adding a device from a template on page 86 for input information. If the device has all parameters required for the template, the following window appears: Figure 11: Select/Clear monitors
8 Click Finish.
Note
5 Click OK to return to the Edit window and correct the entry. Figure 12: Syntax Check - Edit Template
6 After making all necessary changes and checking the syntax, click OK.
Deleting a Template
Perform the following steps to delete a template.
To delete a template,
1 Right-click the template to delete. 2 Click Delete. 3 In the Confirm Deletion window, click OK.
If any of the selected monitors is not a ghost monitor, then this feature will not be
with a search utility. The search utility lists all the devices including the current device.
3 Enter the initial letters of the name of the device that you want to search for in the search box and click Go.
Selection will be set to the first matching device and that device will be
highlighted.
4 Click OK.
Domain name
5 In the Confirm Change Device Association dialog box, click OK. The monitor is now associated with the selected device. When Device Association of monitor is changed, all open events or events for those instances are closed. Any configured event actions will be executed. Imported events associated with the Changed Device Association monitor instance will be closed. If the error condition still continues, then a new event or event is triggered after the duration defined in threshold.
Note
Limitations
The closed event count is displayed incorrectly in the Device Matrix page. Device
Matrix page will include the closed events of the updated instance in the previous parent device. The closed events of the updated monitor instances can be viewed by clicking on the Closed Event Count of the new parent device. is not applicable.
For monitors with source agent in disconnected state, changing device association
Domain name
The Domain Name feature enables you to truncate the domain name portion of elements added to the Device folder. For example, without this feature, adding two servers to the Device listing shows:
server1.mycompany.com server2.mycompany.com
After entering the domain name mycompany.com using this feature, adding these same two servers, the domain name is truncated and the Device listing shows:
server1 server2
This feature is not retroactive for existing devices. Listings entered before the use of the domain name feature that already include mycompany.com remain unchanged. Also, if you delete the domain name mycompany.com, the previously truncated device listings remain truncated.
Domain name
Port name
4 In the Truncated Names window, select the listings you want to delete. 5 Click Delete.
The names are removed from the list of truncated names.
6 Click OK.
Port name
Port Name (TCP Control Port) is used to add a Port Monitor to any device that appears on the Device list. Port Name entries are used to add and edit Device configurations. For more information, see TCP Control Ports. The instructions assume that the Administration Console is open.
Port name
6 Click Next. The message 'failed to create port name' indicates that you have entered a Port Number or Port Name already in use. If this occurs, click OK on the window, change your settings, and try again.
The Summary of Created Monitors window is displayed.
Note
7 Click Finish. 8 To view the new Port Name, expand (or close and expand) the Port Name folder. The new port name now appears on the list.
3 Change the Port Name as desired. You cannot edit the Port Number. To change the Port Number, you must delete the Port Name file and then create it again using the desired Port Number. 4 Click OK.
Note
folder. The Port Name will no longer be listed under the Port Name folder.
a server running Mail and IP services), select the applicable monitors using the various tabs, or go back and add the monitors later.
2 Click Next.
The Creating Monitor window opens, followed by the configuration window
The Configuration window contains specific entry fields, as shown in this example. See the BMC ProactiveNet Data Adapter and Monitor Guide for detailed instructions in setting the parameters for the monitors. Each monitor also has a Control tab, which specifies the data collection and polling frequency for individual Application, Intelliscope, or SNMP monitors.
Creating a group
And similar to the Configuration tab, the input fields in the Control tab vary depending on the selected monitor. Click Skip if you have selected several monitors to add and you change your mind about one of them or you are uncertain about an entry field. Clicking Skip moves on to the next monitors configuration. The skipped monitor is not added. The program continues normally. When the last monitor is configured, the Summary screen appears to show what was created. 3 Click Finish.
To view the new device listing, expand (or close and expand) the
To view the new device listing, expand (or close and expand) the corresponding device folder. Use the ProxyAgent category for all dedicated computers used for monitoring. The Source Agent list on the Creating Monitor window lists only the BMC ProactiveNet Server, local agent, and agents running on the device under ProxyAgent. To view other available agents, click More from the list for Source Agents.
Creating a group
The Group category represents a collection of monitored resources that you define. To make information easier to find and manage, groups corresponding to a variety of real-world relationships (such as by city, a specific department, or the type of resource, etc.) are set up. There is no limit on the number of groups you can define. Groups can also provide a means of access control. As you set up user views, reports, and events, you can filter access by using groups. The Group function lets you select individual devices, applications, and interfaces added to the BMC ProactiveNet database, and put them together into a single unit (group) for management purposes. Before creating a group, add all corresponding devices, interfaces, and applications to the BMC ProactiveNet database, and complete at least one poll. Avoid creating a single group with hundreds or thousands of monitors. Not only does this reduce the usefulness of the group, it can also hamper the performance of Probable Cause Analysis if the group is used as a filter. When creating a group that encompasses a large number of monitors or devices, it is best to create it from smaller groups that have real meaning in terms of function, dependency, or topological relationships. For example, if you are grouping devices according to network topology, BMC ProactiveNet recommends a maximum of 254, i.e., the number of addresses in a length-24 class-C subnet.
100 BMC ProactiveNet Administrator Guide
Creating a group
Group checklist
Have the following information available before using the Group function:
A list of devices, applications, and/or interfaces to group A unique name for the group and an informative description
6 Select the Monitored Resource in the left pane, and click Add to move it to the right pane. Alternatively, use the Search for Devices field to search and select the device.
You can add multiple Monitored Resources to a group, and if required, create a
Similarly, click Remove to remove objects from the right pane. 7 Click Finish to add the group to the Administration Console.
If required, click Close to cancel the operation.
The newly added Group is now available under the Group folder.
Creating a group
Assume that an organization has offices in three different locations Chicago, Perth, and Copenhagen. Each office has two departments Planning and Procurement.
Scenario 1
Assume that you have multiple devices that have names based on the location of each office. For example, assume that all devices in Perth have names starting with "PERTH". You can create a group that consists of only those URL monitors that belong to the Perth office. With rule-based groups, you can create a rule with the name pattern match PERTH.* on devices and a monitor-type filter for all URL monitors. BMC ProactiveNet consolidates all the URL monitor instances that match PERTH.* in one dynamic group. When new instances are added or existing instances are removed from the device, they are also added or removed from the dynamic group.
Scenario 2
Assume that you have some devices that are dedicated to the Planning department in all the 3 locations. Let us assume the devices are tagged as dept=planning. To create a dynamic group that contains entities that are used by planning department, you can attach the tag pattern match dept.*planning on devices. BMC ProactiveNet consolidates all the instances associated with the devices with matching tag in the group. Note that the name and tag pattern match work independently. If you have a device whose name does not match the name pattern string but has a matching tag, BMC ProactiveNet includes all those monitor instances in the dynamic group.
Creating a group
If your entity is a device and name regex pattern matches a device name, BMC
If your entity is a monitor instance and name regex pattern matches an instance
name, BMC ProactiveNet considers all instances whose names match that pattern.
If your entity is a group and tag regex pattern matches a group tag, BMC
If the chosen entity is device and tag regex pattern matches a device tag, BMC
If your entity is a monitor instance and tag regex pattern matches an instance
name, BMC ProactiveNet considers all instances whose tag match that pattern.
Monitor-type filter
All instances that result from the above pattern match are then checked for the
monitor-type filter.
If you choose a set of monitor types, BMC ProactiveNet considers only those
instances whose monitor type matches the selected types and discards the rest. Every instance has a monitor type. If you do not specify monitor type, BMC ProactiveNet considers all the instances.
Creating a group
8 Select the Monitor Types that need to be associated to the group. Select All to include all the monitor types, or select Selected to associate the selected monitor types. 9 Click Add or Remove to add or remove the selected monitor types. 10 Click Show Members to display the list of monitor types that match the pattern. 11 Click Finish. The rule based group is created and listed under the group folder. 12 Click Close to return back to the Administration Console without creating the group.
Tag - Specify tag value to search or group the objects. You can enter multiple
name-value pairs, text, or include both (name-value pair and text). This gives you the option to group objects in different forms. Click icon + to select a default tag class. The Enter Tag Details screen opens. Select Tag Class from the list and enter a tag value, click Add to append tag class and value. Click Finish. The tag specified by you is not considered as a default class. You cannot enter special characters &"/<>' in the tag field.
Note
Editing Tag Value on Enter Tag Details screen. Select a tag value and click edit.
Make the necessary modifications in Tag Value text box and click Set to add the changes. Delete, dialog box is displayed with the options Yes or No. click Yes to delete the tag value.
Chapter 3 Managing devices 105
Deleting a Tag Value on Enter Tag Details screen. Select a tag value and click
description will be displayed in the group matrix screen, when you bring the mouse over the group name. Select this option to create a new group.
3 Click Next.
The Monitored Resources/Group Members window is displayed.
4 Select the Monitored Resource in the left panel, and click Add to move it to the right panel. Alternatively, use the Search for Devices field to search and select the device. You can add multiple Monitored Resources to a group, and if required, create a group of aggregate monitors.
Similarly, click Remove to remove objects from the right panel.
5 Click Next.
The Add Group screen is displayed.
6 Click Add.
The Group Chooser window is displayed.
7 Select the groups to be added from the list of existing groups. Refer Search Groups for information on how to locate groups.
Click Parent Group to add the group being created to the existing parent group(s). Click Add New, only if you need to create a new parent group. After adding resources to the group, click the appropriate action button.
Note
8 Click Finish to add the group to the Administration Console. For details about creating Resource Pool monitors, see Resource PoolResource Pool Monitors have variable number of Stats attributes. They can monitor complex combinations of metrics and monitor higher-level abstractions like pools or clusters. Creating a monitor at this level enables setting thresholds that are otherwise not possible. .
The newly added Group is now available under the Group folder.
Note
Editing Groups
Editing Groups
Perform the following steps to edit groups.
Deleting Groups
Perform the following steps to delete groups.
To delete a group
1 Right-click the Group and click Delete. The Confirm Deletion window is displayed. 2 Click OK. When a group is deleted, BMC ProactiveNet does not update all event rules that refer to the group. Although the Edit Event Rules screen does not show the associated group, the database entry corresponding to the event rule still records reference to the deleted group. Such events rules are invalid and do not work. To correct the event rules, open the edit screen and save the event rule again to wipe out reference to the deleted group.
Note
Deleting Groups
4
Integrating with the BMC Atrium CMDB
This chapter provides details about retrieving and viewing BMC Atrium CMDB component information in BMC ProactiveNet service models.
Note If you are integrating with the BMC Atrium CMDB, all BMC ProactiveNet Servers in your environment must be synchronized with a single CMDB for probable cause analysis and event propagation to work properly.
Although it is possible to configure event propagation among the nodes of one BMC ProactiveNet Enterprise setup, status propagation will not occur. Therefore BMC ProactiveNet does not support distribution of service models across the nodes of BMC ProactiveNet Enterprise setup. If you configure a new Atrium CMDB with the BMC ProactiveNet Server; and you need to publish a service model; you must manually update and restart the publishing server configuration. For information about installing and configuring the BMC ProactiveNet CMDB extensions, see the BMC ProactiveNet Getting Started Guide.
the service relationship information from the configuration items (CIs) in BMC
Chapter 4 Integrating with the BMC Atrium CMDB
109
User scenario
Atrium CMDB for the service model components that you are monitoring in BMC ProactiveNet to produce better results for Probable Cause Analysis.
Keeps the service model components of BMC ProactiveNet synchronized with the
service model components stored in the BMC Atrium CMDB: By default, BMC Atrium CMDB automatically publishes service model components to the BMC ProactiveNet cell.
BMC ProactiveNet, you can import CIs from BMC Atrium CMDB to define the components for monitoring.
User scenario
The section provides a high-level example of how service model objects in BMC Atrium CMDB are published to the BMC ProactiveNet cell and how they are viewed and monitored in BMC ProactiveNet. Suppose that your BMC Atrium CMDB maintains an online ordering service model that has three services - online ordering, databases, and web servers.
The database service consists of two database devices (BMC_Database
The web server service consists of two web server devices (BMC_SoftwareServer
The online ordering service is dependent on, and impacted by, the database
User scenario
In BMC Atrium CMDB, you use the BMC Impact Model Designer to plot out the service model objects. In a sandbox dataset, you specify how each component in the service model will be published to the cell. Because the Online ordering service is a top-level consumer component, you configure it to publish with its provider components. Do not change the default publication setting for the provider components; by default, their publication is determined by the setting of their consumer components. After setting up the service model components, you promote the service model. Promotion reconciles objects from the sandbox dataset to the production dataset. By default, service model objects are automatically published to the BMC ProactiveNet cell. In the BMC ProactiveNet Administration Console, you select the published component and view the impact relationships in the service model. In the BMC ProactiveNet Operations Console, you monitor the status of components and the impact on their consumers. Figure 13 on page 112 shows an example of how the service model looks in the BMC ProactiveNet Administration Console. The lock icon that is displayed by each
111
Creating and editing publication filters in the BMC ProactiveNet Administration Console
component indicates that the component cannot be edited in the Administration Console. You can only edit a service model object in its source environment. Figure 13: Example of a service model in the BMC ProactiveNet Administration Console
After you publish components, you associate the required monitors to these components. You can also use templates to add monitors. For details, see the BMC ProactiveNet Data Adapter and Monitor Guide. By default, the services that you publish from BMC Atrium CMDB do not contain any metrics. For an effective Probable Cause Analysis, you have to add those metrics that indicate the health/status of the services. For details, see the BMC ProactiveNet User Guide.
Creating and editing publication filters in the BMC ProactiveNet Administration Console
Use publication filters to determine which components are published to the cell from BMC Atrium CMDB. The filters retrieve the service model objects from the cell for viewing and monitoring in the BMC ProactiveNet Administration Console or in the BMC ProactiveNet Operations Console. You can create publication filters using one of the following configuration item (CI) selection methods:
Creating and editing publication filters in the BMC ProactiveNet Administration Console
Static CI selection method: select CIs imported from BMC Atrium CMDB from a
static list.
Dynamic CI selection method: select CIs imported from BMC Atrium CMDB
whose names match a specified pattern. The specified pattern uses regular expressions.
After you filter CIs, you can select a component from those retrieved in the Services Editor tab, and see the service model associated with that component (see Using the BMC ProactiveNet Administration Console for service monitoring on page 449 for details). The service models show components that are specified for publication that is, CIs that are set to Inherit, Yes and Propagate, and Yes, Only Me in the BMC Impact Model Designer. You can locate and view a CI that is not specified for publicationthat is, set to No: Do not publish me nor my providers in the BMC Impact Model Designer. You can display the CI and its providers separately, but not as impact providers to components in a service model where they are specified as No. See BMC Service Modeling and Publishing Guide for details about component settings.
Note
If a previous filter is deleted, removal from the system could take some time. The
amount of time can depend on the number of CIs or other factors, such as an inability to communicate with the cell (as when the cell is not running). During this time the system cannot create another filter with the same filter ID.
Service models and instances of components and relationships are not imported if they are marked for deletion (MarkAsDeleted=Yes) in BMC Atrium CMDB
For a list of supported service model component types, see the BMC ProactiveNet Service Modeling and Publishing Guide.
113
Creating and editing publication filters in the BMC ProactiveNet Administration Console
5 Select Static (the default) from the CI Selection Method list. 6 Select (the default) or clear Include all impact providers of selected CIs. 7 Select (the default) or clear Show only top level CIs. Top-level CIs are top-level consumers, that is, consumers that are not providers to other CIs. 8 Select the CI type and click Retrieve. 9 From the list of available CIs that matches the selected CI type, select CIs that you want to show in the service model and click Add, or click Add All to add all the available CIs. You can select CIs in the following ways:
Type a character in the Name field to show only CIs that contain that character.
Hold the Shift key to select adjacent CIs in the list, or hold the Ctrl key to select
You can use up to 11 patterns. The patterns are connected by a logical AND operator. 9 Click OK to close the Create Publication Filter dialog box.
If you create additional filters in the Administration Console, the names of the filters are displayed under the Atrium Filter folders.
115
Note By default, imported components create devices without any monitor instances associated with them. You must add the required monitored instances after you import the components. See Associate monitors to CIs through the BMC ProactiveNet Administration Console on page 470 for details.
The following table describes different kinds of publishers that can be the source of requests to the publishing server.
Table 4: Publication sources for requests Publisher Automated Publisher Description Publication request sent automatically from the BMC Impact Model Designer
Publisher cli@proactiveNetServer
Description
Publication request sent through the CLI publish command on the where proactiveNetServer is the name BMC ProactiveNet server of the BMC ProactiveNet server computer pclassinfo@proactiveNetServer pint@proactiveNetServer penv@proactiveNetServer psapi@proactiveNetServer Publishing Server Publication request sent through the CLI pclassinfo command on the BMC ProactiveNet server Publication request sent through the CLI pint command on the BMC ProactiveNet server Publication request sent through the CLI penv command on the BMC ProactiveNet server Publication request sent by creating or editing static or dynamic filters in the Administration Console Indicates that the publishing server was restarted
For details about CLI commands, see BMC ProactiveNet Command Line Interface Reference Manual Detailed information about each publication request is displayed in the Publication Details pane of the Publication History window. See BMC ProactiveNet Service Modeling and Publishing Guide to diagnose publication issues.
The publishing server retrieves publication changes for a subscription from the Notification Engine, a component in BMC Atrium CMDB. If the publication fails, the system removes the current subscriptions and subscribes again to the Notification Engine. This process causes the publishing server to retrieve and publish all service model components, not only the latest changes. The Publication History window reflects this activity.
Note
117
Note Devices that are created by the following adapters, and published through BMC Atrium CMDB, do not display icons as CMDB-synchronized devices:
VMware PATROL VMware
5
Configuring and using Remote Actions/Diagnostics
What are Remote Actions/Diagnostics?
The remote actions/diagnostics executes a command on a remote device. For example, if you want to view the Top 10 CPU processes running on a remote system, the remote diagnostics executes the required command on the remote system and lists the Top 10 processes using remote login protocols. A detailed diagnostics can only be triggered from BMC ProactiveNet server and not from any other remote agent source. The protocols supported by remote actions/diagnostics are:
xCmd protocol
The xCmd protocol enables an application to execute a command on a remote host and does not require a port number. The xCmd protocol requires a remote user name and password. xCmd is only supported on Windows server.
ssh (Secure Shell) protocol
The ssh protocol provides secure, encrypted connections for logging on to remote computers, transferring files, setting up encrypted tunnels, and running remote commands without manual authentication. The ssh protocol requires a remote user name, password, and a port. ssh is the recommended protocol on Windows and Solaris servers.
telnet protocol
The telnet protocol can pass on the data it has received to many other types of processes including the remote logon server. Communication is established using TCP/IP and is based on a Network Virtual Terminal (NVT). The telnet protocol requires a remote user name, user password, system prompt, and a port.
Properties files
Note You need to change the protocol, if you have used a different protocol after upgrading to the recent version of BMC ProactiveNet.
Properties files
When defining remote execution tasks, you may need to configure values in the following properties files that reside on JServer server:
..\conf\ias.properties ..\conf\resources\centraladmin-strings.properties ..\conf\resources\remoteexecution.properties
Restart the JServer, if you have modified any of the .properties file.
ias.properties
The ias.properties file specifies the event slot names, key name values, and other configuration items of remote execution under the text properties for remote execution. Table 5: Remote execution properties in jserver.properties
Property name com.bmc.sms.ixs.remoteexecution.hostname_slot com.bmc.sms.ixs.remoteexecution.instance_slot com.bmc.sms.ixs.remoteexecution.application_slot com.bmc.sms.ixs.remoteexecution.domain_slot com.bmc.sms.ixs.remoteexecution.ias_user_key com.bmc.sms.ixs.remoteexecution.ias_user_passwor d_key com.bmc.sms.ixs.remoteexecution.action_context_ke y Description Specifies the event slot name that contains the host name value. The default value is mc_host. Specifies the event slot name that contains the instance. The default value is mc_object. Specifies the event slot name that contains the application. The default value is mc_object_class. Specifies the event slot name that contains the domain value. The default value is mc_location. Specifies the key name that contains the name of the user. The default value is ias_user. Specifies the key name that contains the password. The default value is ias_user_password. Specifies the root element in the action.xml file. You can enter the root element in the Action Name field of the Create Remote Actions dialog box. The default value is 2.
Property name
Description
com.bmc.sms.ixs.remoteexecution.search_credential_ Indicates the argument number (1, 2, 3, and so on) or repository_key slot name. com.bmc.sms.ixs.remoteexecution.search_in_credent If the client does not send the key, then this ialrepository parameter determines whether to search in the credential repository. Valid values are true and false. com.bmc.sms.ixs.dataparser.allowHostVerification Boolean true/false values that tells whether host verification is done when you add a record to the credential_repository. xml file. The default value is set equal to true, meaning that host verification is required.
centraladmin-strings.properties
The centraladmin-strings.properties file defines the default communication protocols for different operating systems. If you modify the properties in the centraladmin-strings.properties file, you must restart the BMC ProactiveNet Server to apply the changes.
Note
remoteexecution.properties
The remoteexecution.properties file defines the timeout values and default ports for the SSH, FTP, SCP, and Telnet protocols.
Once you have updated the mcell.dir file, restart the cell.
Note You can create and execute remote actions only for BMC ProactiveNet cells version 8.5 and later.
For more information, see Defining the performance managed remote actions on page 123
Select the Event management rules option: to use actions/diagnostics for events.
For more information, see Defining the remote action rule and task on page 126 4 Click OK. Note: Out-of-the-box remote actions that are available with the BMC ProactiveNet Server use the psExec protocol. Remote actions that you create use the xCmd protocol. The psExec protocol is not supported for user-created remote actions.
3 On the Remote Action/Diagnostics Command dialog box, click Add. 4 On the Add Command screen, enter or select the following and click Next.
Description Enter a unique name for the command. Enter the syntax for the command that will be executed on the target computer. For example netstat. You can include macros in this command. For more information, see Macros for Remote Action on page 144. If the command is very long, you can use the Edit button to enter or edit the command syntax.
Select this option to view the output in the Operations Console. Select this option to qualify this command to be run with every configuration poll of select system monitors. Select the time-out period for execution of the command. An error message is displayed if the time-out period is exceeded.
5 On the Device screen, select the operating system of device and click Next.By default, all devices are selected. If you have selected a specific operating system then the remote action/ diagnostics will not be listed in the third page of Event Rule Wizard unless you select the monitor type for the specific operating system in second page. For Event Only Buyer, you have to select all Operating System while defining the remote action/diagnostics. 6 On the Monitor Type screen, select the monitor types and click Next.By default, all monitors are selected. 7 On the User Group screen, select the desired user group and click Finish.
Note
Note The access permissions set while defining the User groups takes precedence. If the user group is defined with All Diagnostics in the Diagnostics tab, then the newly created diagnostics will be available to those user groups irrespective of whether they are selected/non-selected in the Add to User Group screen in the Add Command module of the Remote Actions/Diagnostics wizard.
8 On Test your command screen, select the Target IP from the list and click Test to test the command.
The Test your command dialog box is displayed. Figure 16: Test your command dialog box
From the test button, the command does not execute properly if it requires the cell slot values that is to be resolved at run time. This occurs since there is no associated event with the particular command. For example:
msend a EVENT r CRITICAL m $msg
Note
The value for $msg is not available while executing from Test button. This option is available from an event. 9 Click Finish to save the detail diagnostics/remote actions.
Note
Upgrading the path for Remote DD's is not supported when you upgrade from
RemoteExecution.log. To debug remote actions, set the property log4j.rootCategory to DEBUG in the du_logger. properties file located in the installDirectory\pw\pronto\conf\resources directory. changing the access roles.
Remote actions/diagnostics is executed for events whose status changes from blackout to closed. If Windows server to Windows remote computer telnet fails, increase the value
The Create Remote Actions dialog box is displayed. 3 On the Create Remote Actions dialog box, enter or select the following options and click Next.
Item Action Name Description Name that describes the action to be performed. This is the label that appears on the Action >Remote Actions menu. Each action name must be unique. WARNING: Duplicate action names will result in KB compilation errors. Action Group Name of the group to which the customized action belongs. You can group similar actions under the same group name. However, you cannot nest groups. String that contains the command to be run on the jserver or remote system If the command string includes double quotation marks, as in the ping command, ping "{$mc_host}", forward slash is added to the command in the action_name.xml file under the BMC_PROACTIVENET_HOME/ server/data/admin/actions directory: ping \{$mc_host}\. You must manually edit the action_name.xml file to remove the slash characters from the command string. Save the action_name.xml file to return to the Infrastructure Management tab. Select the jserver instance object, right-click to open the pop-up menu, and choose Action > Reload. If the command string includes a hard-coded path, then always specify the path name using the UNIX style forward slash /, as in c:/Program Files/BMC Software/Test1.exe, even if the target systems is Windows. User Access Roles Roles including Full Access, Service Administrators, Read Only, and so onthat have permission to execute this action. You can choose one or more roles. The available roles are listed in the Impact Administration server to which your BMC Administration console is currently connected. Note: The remote actions that are listed on the Remote Actions/ Diagnostics menu in the operations console are defined in both the cell and the ProactiveNet database server. When you create a remote action or detailed diagnostic from the administration console and restrict access to a particular user group or role, you restrict the remote actions from the ProactiveNet database server only and not from cell. Users would still see the remote actions defined in the cell even though they might be restricted from seeing and executing remote actions defined in the database server.
Command
Description System on which the action is run. It can be any remote system that can be pinged from the BMC ProactiveNet Server, or the local system on which the BMC ProactiveNet Server resides. If you select Remote, you can deploy scripts to the remote system.
Operating System on Run Machine Specifies the operating system on which the remote action is to be executed. This can be the operating system of the remote computer or the operation system of the computer where the jserver resides. Impact Manager(cell) Impact Administration Server Name of the cell that receives the event associated with the action. The action rule is defined in this cell. The name of the Impact Administration Server instance on which the action task is defined.
Automatic remote execution requires a two-step validation. First, an event policy automatically calls a specified action rule provided it satisfies the event criteria of the policy. Second, the action rule that you define in the Create Remote Actions dialog box, invokes the remote action provided it satisfies the event criteria that you have defined in the Add Event Criteria dialog box. Refer to the following table for event criteria descriptions fileds.
Note
Table 6: Add Event Criteria descriptions Field/Control button Description Event Class Slot Operator Value Insert Description Optional. Enter a description of the event. This field can be used to classify the selectors. Select the list of event classes and subclasses in the Class Chooser dialog box. List of available slots. List of available operators that link the slots to the value strings. Enter a value for the slot. Places the slot-operator-value string in the display area, where you can review and edit. When placing multiple slot-value combinations, the default connector is AND. You can specify other connectors from the list. Displays the selected slot-value combination in the editable fields above the display area. Removes the selected object from the display area. Adds parentheses around the selected object to indicate the order and the logic of the operation. You can create nested objects using the Group button. Moves the placement of the selected object to the left or right.
Move
1 Complete the remaining fields using the guidelines from the following table:
Table 7: Data fields (part 2): Create Remote Actions dialog box Field Time Out (Milliseconds) Description Interval in milliseconds before the action is canceled. The action can be canceled if the Impact Administration server does not receive a response before the customized or default timeout interval.
Description Boolean value (True or False) that indicates if you can execute the action using either of the following: the user credentials of the remote host system = True public key authentication = False (default) Note: Only Event Management remote actions use the credential_repository.xml file for credentials. Because ProactiveNet remote actions only can be triggered on a device-associated event, and ProactiveNet remote actions use credentials provided in the device data. If you choose False (default), then your public key account on the system is sufficient to launch the action. The procedure does not search the credential_repository.xml file for login credentials. If you choose True, then the routine uses the remote systems account information as defined in the credential_repository.xml file (login_user and login_password). Reminder: For automatic remote execution, you must specify an JServer user name and password in the Admin record. By default, admin/admin. If you want to modify, restart the cell.
Boolean value (True or False) that indicates if you can deploy a script from the JServer system to the remote system and then execute the script through a RunRemoteTask command. The default is False, indicating that no script is deployed. You can only deploy a script when the selected Run Location option is Remote. You cannot deploy a script on a remote system when the Run Location option is Local (jserver System). For more information on Run Location, see Defining the remote action rule and task on page 126
Name of the script or .bat file. If the boolean value is set to True, the the script or .bat file is displayed. File path of the script on the system on which it is executed.
2 Click Add Actions. Run iadmin -reinit actions to reload the Jserver
4 On the Remote Actions/Diagnostics tab in the Edit Device dialog box, enter the credentials and click OK. Figure 17: Remote Actions/Diagnostics tab of the Edit Device dialog box
There can be only one credential per device. All remote actions will use the same credentials. The supported protocols are ssh, telnet, and xCmd.
-lcr: lists the credential -reinit actions: loads the action files after any additions or changes to the action
Guidelines for the credential records The asterisk (*) functions as a wildcard. It is a valid entry only for the applicationname and applicationinstancename fields. It indicates that any value of the applicationname or applicationinstancename field is acceptable. The search algorithm does not support pattern matching. Your entry must match exactly the underlying value. Any alphanumeric value is valid for the applicationname and applicationinstancename fields. Enclose any password values in double quotation marks to ensure proper processing. On UNIX systems, run the iadmin command without the bash shell to reinforce the proper processing of the password value. The required fields in which you must enter a value are:
credentialId hostname_or_domain applicationname (wildcard is permitted) applicationinstancename (wildcard is permitted) loginuser
-mcr: modifies an existing credential record -dcr: deletes a credential record -lcr: lists the credential -reinit actions: loads the action files after any additions or changes to the action
Guidelines for the credential records The asterisk (*) functions as a wildcard. It is a valid entry only for the applicationname and applicationinstancename fields. It indicates that any value of the applicationname or applicationinstancename field is acceptable. The search algorithm does not support pattern matching. Your entry must match exactly the underlying value. Any alphanumeric value is valid for the applicationname and applicationinstancename fields. Enclose any password values in double quotation marks to ensure proper processing. On UNIX systems, run the iadmin command without the bash shell to reinforce the proper processing of the password value. The required fields in which you must enter a value are:
credentialId hostname_or_domain applicationname (wildcard is permitted) applicationinstancename (wildcard is permitted) loginuser
The following table lists the required fields for the -acr option. You must include values for the required fields; otherwise the credentials record is not created. Table 8: Required fields: adding a credential record
-acr field name credentialId hostname_or_domain Description The user account (default) or the group Id value. The host name of the remote system, as in myremotecomputer123, or the domain name in which it resides. Name of the application. You can enter an asterisk * to bypass a specific application value. Name of the application instance. You can enter an asterisk * to bypass a specific instance value. This option is required when the login account belongs to an MS Windows system.
The userorgroup field is optional. If you leave the userorgroup field blank, the acr argument assumes that user is the selection, and the value you enter in the credentialId field (required) is the user account. To specify a group Id value, set the userorgroup field equal to group, and then specify the group value in the credentialId field. Using the iadmin command syntax, you enter password values in clear text. However, the passwords are encrypted when they are added to the credential_repository.xml file.
You can modify any of the fields, but you must enter required fields listed in the following table to create a record
hostname_or_domain
applicationname applicationinstance
To delete a record, you must specify values for the required fields listed in the following table Table 10: Required fields: deleting a credential record
-acr field name credentialId hostname_or_domain Description The user account (default) or the group Id value. The host name of the remote system, as in myremotecomputer123, or the domain name where it resides. Name of the application. You can enter an asterisk * to include all values. Name of the application instance. You can enter an asterisk * to include all values.
applicationname applicationinstance
credential Id set equal to the value you specified in the Encryption Key value of the Admin record.
identified. If the matching event rule has a remote action assigned, the remote action is executed. An event rule can be defined through the BMC ProactiveNet Operations Console. For more information about adding an event rule, see the BMC ProactiveNet User Guide. triggered by events, you must first define a remote execution policy using the remote execution policy feature of the BMC ProactiveNet Console. The policy contains the definition of the event that triggers it. When the specified event is received, it triggers the rule, which invokes the remote action. For more information, see Defining the remote action policy on page 138
Using Remote Action policies: To set up automatic remote executions that are
Using the Event list User Interface(UI): You can also trigger a remote action from
the Event list User Interface. For more information, see Executing remote actions on page 141. From the event list UI you can select any of the pre-configured commands which is defined. You can select the command and execute. For more information, see BMC ProactiveNet User Guide.
Using All devices Grid View in the BMC ProactiveNet Operations Console: If a
remote action is defined for an associated device of a particular operating system and monitor types, the remote action is listed under the tools option for the device and instance of the monitor type in the Operations Console.
7 Click OK.
To define a policy
1 In the tree view under My Production, open the server cell entry. 2 Choose the Remote Action Policy type under the By Policy Type folder.
on page 140.
3 Choose Edit => New Policy , or click the Add Event Policy icon in the tool bar. 4 In the Selector Chooser dialog box, choose the selector to which this policy and designated remote action apply. Then click OK.
You can use a default or a custom selector.
5 In the Remote Action Policy tab, enter the policy name (required) and a description (optional). 6 Designate whether the timeframes are enabled. If enabled, indicate whether policy activation timeframes are always active (default value), or select the option to define your timeframes schedule. 7 In the Action name list, select the remote action to apply to this policy. The action rule that you select should have event criteria that correlate with event criteria of the policy. You can select from predefined or customized actions, including BMC Atrium Orchestrator workflow actions. 8 Click OK.
The event selection criteria and the remote action are applied to the remote action policy.
Note The number of remote actions that you can execute for a BMC ProactiveNet Operations Management cell varies from that available for a BMC ProactiveNet cell.
4 To access the results of the remote action, in the event list row, click the Action Result(s) icon in the Message column. 5 In the Event Remote Action Results dialog box, you can perform the following operations:
Export the information about the remote action to a file by selecting the action
View the output, errors, and details about the remote action by clicking the
To notify an AlarmPoint user of alarms or events, create an event rule using Run Command on ProacativeServer. Enter the pw_AlarmPoint - u<user name> in the Path field. If you do not enter the user name, the event is notified to the default user. E-mail will be sent to the configured user. For more information on the AlarmPoint integration, see the Event Administration chapter of the BMC ProactiveNet User Guide.
Execute the following BMC ProactiveNet CLI command to initialize the change:
pw jproperties reload
Note The number of remote actions that you can execute for a BMC ProactiveNet Operations Management cell varies from that available for a BMC ProactiveNet cell.
4 To access the results of the remote action, in the event list row, click the Action Result(s) icon in the Message column. 5 In the Event Remote Action Results dialog box, you can perform the following operations:
Export the information about the remote action to a file by selecting the action
View the output, errors, and details about the remote action by clicking the
When the DD is edited and renamed, then the display of the DD output of the associated events from the BMC ProactiveNet Operation Console is not shown.
Note
$srcip - This is the IP of the source agent on which the monitor instance is
running. If there is no Source Agent attribute for a monitor or if it is a Non PNET Event, then this will be the IP of the device instance. If there is no TargetIP attribute for the monitor or if it is a Non PNET Event, this will be N/A there is no TargetIP attribute, this will be the Device IP. monitor instance.
$targetip - This is the IP of the TargetIP attribute available for the monitor
$ip - If there is an attribute Target IP for the monitor, $IP will show the ServerIP. If
$rulename - event rule name that triggers this command. This is applicable only if the diagnostic command was triggered by an event rule. If not, a N/A would be
$pronethome - Home directory where BMC ProactiveNet software is installed. $status - The status of an event (Open or Closed). Applicable only when the
diagnostic command is triggered from Event List page and Event history page. From other pages, N/A will be displayed as output for this parameter. the diagnostic command is triggered from Event List page and Event history page. From other pages, N/A will be displayed as output for this parameter.
$severity - The severity of an event (Critical, Major, Minor). Applicable only when
receiving cell gets a new local identifier, event_handle, but the event keeps the old universal identifier mc_ueid. For example, t2000-alr-2356.
Events that are BMC ProactiveNet events have the format as <host><number>. Events that are BMC ProactiveNet abnormalities have the format as
<host><number>. <host><number>.
Events that are BMC ProactiveNet external/imported events have the format as
labs.bmc.com
$mc_host - Fully qualified name of the host on which the problem occurred. For
example, t2000.labs.bmc.com
example, 172.23.30.78
Note This slot can contain some other type of information in which a host value is not meaningful.
$mc_object_class - Identifies the class of an object. For example, Windows Process.
If the object class cannot be derived from the original event, it should be filled in during enrichment.
$mc_object - Subcomponent of the host to which the event is related. For example,
http://www.bmc.com or Drive = C:\Program Files\ProactiveNet, Target IP/Host Name = 172.22.173.108 example, the mc_tool_class value for an SNMP adapter could be SNMP. And the mc_tool_Class value for an NT EventLog Adapter might be NT_EVLOG. The mc_tool_class value for native events is PNET. For BMC ProactiveNet events, this slot contains the string PNET.
$mc_tool - Any event is within any value that can further distinguish whether the
event is coming from within a mc_tool_class value. For example, for the NT Event Log Adapter, it could be the name of the log to which the incident was logged. If the mc_tool_class is a management tool such as PATROL or ITO, then the mc_tool should be a string that enables an action on the event to initiate a communication in context with the mc_tool. For BMC ProactiveNet events, this slot contains the fully-qualified DNS name of the BMC ProactiveNet Server.
$status - Status value of the event. $severity - Severity value of the event. $mc_priority - Current priority of the event. Possible value include PRIORITY_5 is
Macros are whole-word substitutions and do not work the way regular expressions does. The given example illustrates the usage of macros in general. For example on usage of $MC_PRIORITY. If $MC_PRIORITY is used as /tmp/ $MC_PRORITY, the macro replacement will not work. The correct usage for this macro is $MC_PRIORITY as a standalone word. It will not work if you use suffixes or prefixes with the macro.
$msg - Text description of the event. For example, Sybase ASA Intelliscope Forced Commits, 7.370 per sec is above All Baseline. 146 BMC ProactiveNet Administrator Guide
Note
$mc_notes - List of free text annotations added to the event. The contents of this
slot is implementation dependant. Rules or users should not rely on a particular value in this slot. mc_long_msg.
$mc_owner - Current user assigned to the event. $mc_origin_class - Identifies the event management system type. This slot may
have the same value as the mc_tool_class slot if this is only a two-layer implementation.
Description Unable to retrieve remote action details for actionID or Detailed Diagnostics not available and may have been deleted Unable to retrieve remote action details for actionID
6
Setting up diagnostic commands
Diagnostics wizard
Launched from the Diagnostics Wizard option in the Administration Console and triggered from the Operations Console, this powerful diagnostics feature helps identify problems by executing specific commands registered on the BMC ProactiveNet system. Unlike scripts that are used in the Monitor Wizard, userdefined 'diagnostic' scripts are not restricted to numeric data, but may also contain text. Defining this type of command is appropriate when there is a large amount of data that may not be well-defined, but is useful for diagnosing a problem. For example, returning the output of a netstat command. User-defined diagnostic commands are extremely valuable in helping isolate a problem, which would not be possible to do using only statistical data returned from monitors. Consider the system commands normally run on a system when troubleshooting a particular problem. These are the same commands you may want to integrate with BMC ProactiveNet as a 'diagnostic' command to leverage the full power of BMC ProactiveNet infrastructure. BMC ProactiveNet offers two types of registered commands:
Preconfigured Commands User-defined Commands
These diagnostic commands can be launched (on any agent) from the Operations Console on demand or can be auto-triggered when tied to an Event Rule. When a diagnostic is auto-triggered, the output of the script is auto-saved and correlated with the event. The output appears in block text format. Refer Event Rule Management for more details on setting up auto-triggered diagnostics. For example, if a Web server in your network is suddenly receiving a flood of connections, you might normally run the 'netstat -an' command to view the source of
151
Script
connections. Rather than require this domain knowledge to be remembered by all users, and simultaneously require them to manually access each computer in the network, you can register these commands with BMC ProactiveNet. This enables users to have centralized Web access to these troubleshooting scripts. This saves time in isolating problems and enables greater leverage of domain knowledge. A diagnostic command registered using Diagnostics Wizard (Administration Console) is displayed as an available tool in the Tools menu (Operations Console). For executing a DD, the user account associated with the corresponding monitor requires Read access to the various tables in the database.
Note
Do not begin a detailed diagnostic command name with a number or special
character if you are going to associate it with an event rule. Such commands do not get executed. Operating System association. Monitor type against DD association will be used only when the DD's are shown against a monitor instance.
DD's are listed under a device based on Detailed Diagnostics (DD) against
Script
Note
It is the responsibility of the administrator to ensure that the required scripts are
character if you are going to associate it with an event rule. Such commands do not get executed.
Script
Add - Click this to add a new command. Edit - Click this to modify a previously registered command. Delete - Click this to remove the command from the system. Cancel - Click this to exit the Diagnostics Wizard.
2 Click Add. The Add Command window appears. 3 Fill in the required information on the configuration screen.
Name - Specify a unique name to the command you are adding. Processing Options - Command or URL URL option lets you add URL addresses. Parameters are also applicable to this
option.
For example: http://finance.yahoo.com/q?s=$instancename&d=t . If this URL is launched against a monitor instance with instance name SUNW, it launches Yahoo's stock quote page for Sun Microsystems. The Command option lets you define the following system parameters:
$pronethome - Home directory where BMC ProactiveNet software is installed. $ip - IP address of the device. If the diagnostic command triggered by event
rule or the diagnostic command invoked from the event matrix or All Events then the value of this parameter is the IP address of the source agent for the monitor associated with the event.
$device - Device name. $targetip - IP address of the target device. If the target device is not
$scrip IP address of the source agent. $instancename - Also known as Monitor Instance Name. It is the name
given by a BMC ProactiveNet Administrator when creating/updating a monitor instance. developers or external developers if users write an SDK monitor.
153
Script
$rulename - Also known as the Event Rule name. This is the event rule that
triggers this user command. This is applicable only if the diagnostic command was triggered by an event rule. If not, a 'N/A' would be displayed as a result for this parameter. if there is no event.
Monitor type names are in the extreme right column of the output.
Run the command pw export meta config MonitorTypeName to retrieve a list of configuration parameters for the given monitor type. For example:
$ pw export meta config MSSQLServerQuery MSSQLServerQuery (25061) CONN_TYPE (250602) DATA_SOURCE (250606) DB (250611) INI_FILE (250603) INSTANCE_NAME (250601) PASSWORD (250605) PORT (250610) PW_MON_VER (250626) SQL (250607) SRCIP (250615) TARGETIP (250693) USER_NAME (250604)
With this monitor type, the possible parameters are $INSTANCE_NAME, $USER_NAME, $PASSWORD, $PORT, etc. If you use this option, you must ensure that this command is attached to the right monitor type. In this example, the command should only be attached to 'MS SQL Server Query'. Refer 'attaching the command under a 'Monitor Type' section for further information. Example command:
/usr/bin/sh -c 'cd /home/kchong; find . -name "*.java" -print' $pronethome/scripts/querydb.sh $USER_NAME $PASSWORD $PORT
Note
Script
Processing Option. Determines whether to display the output or not while executing the command. If this option is not selected, BMC ProactiveNet launches the script without waiting for its completion, but reports back right away whether the script has been successfully launched or not. There is a default timeout period of 300 secs for executing a user command.
Note If the operation times out, the script that is still being executed on the agent is terminated.
Configuration Diagnostic - Select this option to qualify this Detailed Diagnostic
command to be run with every configuration poll of select system monitors (AIX, HPUX, Linux, Solaris, Windows, and X86). before timing out this command.
Timeout - Specify the duration (between 5 and 55 minutes) the system must wait
Agent from which CMD is launched - This option is displayed only if Command
is selected as the Processing Option. When you are registering a command, you must select the Agent where this command will be executed. In using a URL the agent selection is not required. You need not select an agent if you are registering a URL. on the agent to which the commands monitor belongs.
Use Agent on which the monitor is running - This enables running the command
Prompt for Agent - In this case, the Agent is known when the command is being
executed. This option is ignored if the command was triggered by an event rule. It defaults to as if the first option was selected.
Predefined Agent - Choose the Agent from the list of predefined agents. Use Agent on which the monitor is targeted This enables running the command
on the agent to which the commands monitor is targeted. 1 Click Next. Select the Device OS on the new window.
The left list contains all available OS. The right list contains all selected OS.
Click >> to move a selected OS from the left list to the right. Click << to move a selected OS from the right list to the left. Select All to select all items in the left list.
155
Script
Click >> to move a selected monitor from the left list to the right. Click << to move a selected monitor from the right list to the left. Select All to select all items in the left list. Select None to not attach any specific monitory type.
Note If you choose to use instance configuration parameters to define the command, the parameters selected should be in the monitor type selected.
3 Click Next. Select the User Groups on the new screen.
The left list contains all available User Groups. The right list contains all selected User Groups. Click >> to move a selected User Group from the left list to the right. Click << to move a selected User Group from the right list to the left. Select All to select all items in the left list. Select None to not attach any specific User Group.
The access permissions that are set while defining the User groups takes precedence, that is, if the user group is defined with All Diagnostics in the Diagnostics tab, then the newly created diagnostics will be available to those user groups irrespective of whether they are selected/non-selected in the Add to User Group screen in the Add Command module of the Diagnostics wizard. 4 Click Finish. This registers the commands with BMC ProactiveNet Server and opens a 'Test' window, if the command type is 'Command'.
Note
Script
5 Click Transfer. No need to define script if you use this option. To transfer the script, see Transfering files to agentsAfter a script monitor is defined, the corresponding script(s) and any dependent file(s) need to be deployed on the required agent(s) so that monitor instances may be created and run from those agents. Script(s) and any dependent file(s) needed for the operation of Script DDs may also need to be deployed on required agent(s) in order to run those DDs on those agent(s). A need may also arise to distribute arbitrary file(s) (Example: keystore file containing new self-signed or CAsigned certificates) from BMC ProactiveNet Server to various connected agents. This can be done using the transfer files to agents functionality. Transfer Files to Agents enables the user to select files that need to be transferred to agent(s) and optionally also specify a single destination directory on the agent(s) where all the files will be transferred. The user can also select the agent(s) to transfer file(s). If you do not have the proper access rights, then the Transfer files to agents feature is disabled. . Once transferring is finished BMC ProactiveNet returns to Test Your Command screen. 6 Test the Command in the Test Your Command window. a From the Source Agent list, select the Agent on which you want to test the command. b Use Target IP to execute the command on the given target IP. If the required Target IP is not available in the list, use 'Edit Target IP', which will bring editable Target IP text fields as shown in the Administration console, from the list. This is applicable only if $ip is one of the parameters. c Click Test to invoke a test. The output is displayed in the Output area and the status is displayed at the bottom of the window. Data returned from the Detail Diagnostic history output is ordered by the timestamp when the data is gathered.
Server Time - Time when the action is triggered. Agent Time - Time when the agent actually executes the action. Agent Time could
The Agent is a remote agent and its time is different from the server's. The Agent is a local agent but the action didn't take place immediately after the event has occurred. Depending on the state of the server, a busy server could cause some delay. 1 Click Ok to close the window and bring up a list of all commands that have been registered. These diagnostic commands will now be available from the Operations Console's Tools menu as well as from the Event Rule Creation/Edit page.
157
Script
a Check Event Summary tables. Verify that the command is available in the Tools menu from the Device Matrix, Service Matrix, and All Events tables. If it is present, then the new command is available for use. From the Service Matrix table you need to drill down to the Show Monitor level to access the Tools menu. You can now:
Execute this command manually from the Tools menu, and Attach it to an event rule so that it executes automatically when an event is
Note
triggered (recommended).
These commands will only be displayed in the Tools menu against the monitor types where the diagnostic was registered. 1 Attach Script Command to an Event Rule. Once you register the Script Command, it is recommended that you attach it to an event rule so that it executes automatically when an event is triggered. Check the thresholds to ensure that the attributes you want are enabled. 1 Options => Edit Thresholds 2 Modify the default settings, if necessary. 3 Select Enabled for the attributes required. 4 Click Apply. a Create the Event Rule. Once you have selected and edited the thresholds as required, you can create the rule and attach it to an event. 1 Click Options => Event Rule Admin. A list of default scripts appears on the Event Rule Administration screen. These are the Preconfigured Commands that come with BMC ProactiveNet. 2 Click Add. The Create Event Rule screen is displayed. Follow the instructions to create and attach the event rule to the new command you just registered. Diagnostics that are auto-triggered have their output saved in the database and this info is easily accessible from the Diagnostics column in the Event Summary
158 BMC ProactiveNet Administrator Guide
Note
Script
table. The Diagnostics Double Arrow icon is displayed when an event has been triggered. When it is displayed, click the Double Arrow icon to show the diagnostic output. If this column displays None, then there are no diagnostics for that event.
159
Log file
\java.
3 Save the batch file/executable (Example, first.bat) at a particular destination (ensure that the final script is accessible from this location). 4 To run the script (basic.java), enter the following in the Command field:
fileLocationPhysicalPath\first.bat
When you run the test, BMC ProactiveNet executes first.bat, which in turn executes basic.java file.
Log file
This template-based diagnostic tool enables you to create user-defined log file search commands without having to write scripts. The total number of lines displayed in the output for all matches of all files in a given instance is limited to 100,000 characters. Irrespective of the number of files scanned or the number of matches found, the implementation always restricts the output to this global value. Analysis of log file monitors shows that more than 100,000 characters being pushed into the database at same time affects database performance.
Note
While 'Log File Search DD' can match for patterns in any file, it displays correct
output only for files containing all printable characters. This is because of XML parser limitations. If the searched file contains non-printable characters, the output may not be displayed correctly.
character if you are going to associate it with an event rule. Such commands do not get executed.
Log file
Edit: Click this to modify a previously registered command. Delete: Click this to remove the command from the system. Cancel: Click this to exit the Diagnostics Wizard.
2 Click Add. The Add Command window appears. a In the Name field, enter a unique name for the search and click Add. The Add Log File Search window is displayed. b Log File - select the file to be searched.
Alternatively,
For input = '*', the system reads the most recent file. For input = '<prefix> + *', the system retrieves all files with names containing <prefix> For input = '* + <suffix>', the system retrieves all files with names containing <suffix> c Match on Regular Expression - This pattern is used to sort and retrieve lines from the specified file. However, For input = '*', the system retrieves all lines from the file. In this case, advanced filters will not be available.
161
Log file
For input = '<valid pattern>', the system sequentially parses the file content and retrieves matches. Additional filters available in the Advanced section can be applied for more specific search. d Negative Pattern Match - This acts as an additional sort filter for displaying output. e Match Case Sensitivity - Select this to enable case-sensitivity for the search. Select this to make the search case-sensitive. Advanced - The filters below work in tandem to further refine the search. f Show +/- - The number of lines before and after the match to be considered for output. This value is restricted to a maximum of 1500. g Limit search to the last X lines of the file - This limits the search to the specified number of lines in the file. This value is restricted to a maximum of 50,000. h Limit output to X matches - This limits the search output to the specified maximum. This value is restricted to a maximum of 50,000.
Note For optimum system performance and output accuracy, enter values judiciously in the Advanced section. Very large values may result in the action getting timed out (Timeout is set to 5 mins), and the displayed result may not be complete (the system truncates output to 100,000 characters).
i Click Apply. This displays the Add Command window again. 3 Select Configuration Diagnostic option to qualify this Detailed Diagnostic command to be run with every configuration poll of select system monitors (AIX, HPUX, Linux, Solaris, Windows, and X86). 4 In the Timeout field, specify the duration (between 5 and 55 minutes) the system must wait before timing out this command. 5 Choose the agents on which the log files will be searched. a Select Use Agent on which monitor is running option. b Alternatively, select a predefined Agent from the list. 6 Click Next. 7 On the window that is displayed, select device types. Use this window to attach the command under a 'Device Type'.
162 BMC ProactiveNet Administrator Guide
Log file
Move the device types from the left panel to the right. The left list contains all available Device Types. The right list contains all selected Device Types under which you want to
Click >> to move a selected monitor from the left list to the right. Click << to move a selected monitor from the right list to left list. Select All to select all items in the left list. Select None to not attach any specific monitory type.
Click >> to move a selected monitor from the left list to the right. Click << to move a selected monitor from the right list to the left. Select All to select all items in the left list. Select None to not attach any specific monitory type.
10 Click Next.
Select the User Group as specified in the previous screens.
The access permissions that are set while defining the User groups takes precedence, that is, if the user group is defined with All Diagnostics in the Diagnostics tab, then the newly created diagnostics will be available to those user groups irrespective of whether they are selected/non-selected in the Add to User Group screen in the Add Command module of the Diagnostics wizard. 11 Click Finish.
Note
163
Log file
This registers the commands with BMC ProactiveNet Server and opens a 'Test
command.
Use Target IP to execute the command on given target IP. If the required Target
IP is not available in the drop down list, select Edit Target IP from the list which displays editable Target IP text fields as shown in the Administration Console. This is applicable only if $ip is one of the parameters.
Click Test to invoke a test. The output is displayed in the Output section of the window and the status is
displayed at the bottom. Click Ok to close the window and display a list of commands that have been registered. These diagnostic commands will now be available from the Operations Console tools menu, but ONLY to users who have access control privileges to execute commands.
Matrix, Service Matrix, and All Events tables. If it is present, then the new command is available for use. From the Service Matrix table you need to drill down to the Show Monitor level to access the Tools menu. You can now:
Execute this command manually from the Tools menu, and Attach it to an event rule so that it executes automatically when an event is
Note
triggered (recommended).
These commands are displayed in the Tools menu against the monitor types where the diagnostic was registered. 14 Attach the script command to an event rule.
Once you have registered the Script Command, it is recommended that you
Note
attach it to an event rule so that it executes automatically when an event is triggered. Check the thresholds to ensure that the attributes you want are enabled.
Log file
a Click Options => Edit Thresholds. b Modify the default settings, if necessary. c Select Enabled for the attributes required. d Click Apply. 15 Create the event rule.
After you have checked and edited the thresholds as required, you can create
These are the Preconfigured Commands that come with BMC ProactiveNet.
b Click Add.
The Create Event Rule screen appears. Follow the instructions on how to
create and attach the event rule to the new command you just registered, which is described in the Adding Event Rules section.
2 Highlight the command you want to edit and click Edit. 3 Make necessary changes. 4 Test your changes. 5 Click Ok.
165
Preconfigured commands
2 Highlight the command you want to delete and click Delete. 3 Click Ok.
Preconfigured commands
Preconfigured commands are displayed in the Operations Console under the Tools menu. Refer to the BMC ProactiveNet Data Adapater and Monitor Guide for more information.
User-defined commands
Custom user-defined commands are registered through the Administration Console using the Diagnostics Wizard option on the Tools menu. Once defined, both preconfigured commands and user-defined commands can be run using the Tools menu in the Operations Console. There are two user-defined command options from which to choose:
Script Command
Use this option to create custom script-based commands that can be executed through the Operations Console under the Tools menu or Event Rules.
Log File Command
Use this option to create custom Log File Search commands that can be executed through the Operations Console under the Tools menu or Event Rules. Once defined, you can use the Diagnostics Wizard tool to add a new command, edit a previously registered command, or delete a command from the system.
To leverage the diagnostics feature to its full potential, it is recommended that you configure Event Rules to trigger your diagnostic command. Whenever possible this should be set up to trigger off of the signature thresholds (as opposed to just absolute thresholds), since signature thresholds detect abnormalities that are not usually caught by absolute thresholds. Triggering diagnostics through signature thresholds ties the power of diagnostics with the power of BMC ProactiveNets probable cause correlation capabilities. These commands, when attached to event rules, automatically launch when event conditions are met.
URL Diagnostic Commands, or other Custom commands requiring user interaction at run time, should not be used with Event Rules, since these commands will be ignored by the system. The best way to capture the desired information and run a diagnostics against a Web site is to write a program/script and run it against the site.
Remote Diagnostics Command
Note
Use this option to create Remote Commands that can be executed through the Operations Console under the Tools menu or Event Rules.
Auto run - When the commands are associated with an event rule Periodic basis - When the commands are defined to be run with every
configuration poll. This can be set from the Control tab of select monitors using the Configuration Diagnostic field. The Detailed Diagnostic commands are run once the configuration poll has been completed successfully.
Chapter 6 Setting up diagnostic commands 167
The advantage of running Detailed Diagnostic commands on a periodic basis is that data is collected at regular intervals and most of this data can be considered as data collected under normal conditions. This helps us compare data collected under normal conditions with data from abnormal situations. For example, when data is collected from commands auto run with an event rule. This feature is available only for the following monitors:
Linux System monitor Solaris System monitor Windows System monitor X86 Solaris System monitor
Data collected from Configuration Poll Driven Detailed Diagnostics can be viewed from the following pages of the Operations Console:
Graph Display page Probable Cause Analysis for selected Event page
The Monitor Information tab of the Graph Display page displays the column Configuration Diagnostic for monitors that support configuration poll-driven detailed diagnostic commands. Click the Detailed Diagnostic icon in the configuration diagnostic column to display the Configuration Detail Diagnostics information for the monitor. The column displays None if no Detailed Diagnostics command is associated with the monitor. For a Configuration Poll Detailed Diagnostic command output, the Server Time and Agent Time are the same. However, the Date Executed column displays the time on the BMC ProactiveNet Server computer when the Detailed Diagnostic command output was received from the agent. This time will be equal to the Server Time and Agent Time of the command output if it was executed on the local agent. This time of execution of the Detailed Diagnostic command may be different from the Server Time and Agent Time if the command was executed on a remote agent. Clicking the Diagnostics icon on the Probable Cause Analysis for Selected Event page displays the result of the Detailed Diagnostics command associated with the event rule in the Detail Diagnostics window. Clicking the Configuration Diagnostics icon in the Detail Diagnostics window displays the results of the periodically run Configuration poll driven detailed diagnostic commands for the monitor. The Diagnostics column displays None if no
Detailed Diagnostic command was triggered for this event rule and the Detail Diagnostic icon if a Detail Diagnostic command was triggered for the event rule.
Limitations
You cannot stop running a periodic Detailed Diagnostic command when the
monitors running on older BMC ProactiveNet Agents (prior to version 7.0). (with which the command is associated to be run at every configuration poll) for changes to be effective. If you delete a Detailed Diagnostic command, the command is not listed in the Control tab of the Edit <Monitor> screen. However, you must edit the monitor instance with which the command was associated.
After you edit or delete a Detailed Diagnostic command, edit monitor instances
If you change a Detailed Diagnostic command name, the old name of the command is no longer listed in the Control tab of the Edit <Monitor> screen. Instead, the new name of the command is listed. Enable the command by selecting it in the Control tab. If you don't change the command name but alter the command properties, edit the monitor instance with which the command is associated. Configuration poll driven Detailed Diagnostics may not run for the first configuration poll for any monitor instance with which the configuration poll Detailed Diagnostic is associated. This usually happens when the agent on which the monitor is running is busy. In such conditions, the configuration poll Detailed Diagnostic output may not be available for the monitor from the Monitor Information tab of the Graph Display page in the Operations Console. Please wait for the next configuration poll for the configuration poll Detailed Diagnostic output to be available.
169
7
Administering BMC ProactiveNet
SSL server certificate for Apache server
BMC ProactiveNet Server installs a SSL-enabled Apache Server. The SSL Web server uses a dummy certificate that needs to be replaced before HTTPS protocol is seriously used.
The private key sizes for SSL must either be 512 or 1024, for compatibility with certain Web browsers. A keysize of 1024 bits is recommended because keys larger than 1024 bits are incompatible with some versions of Netscape Navigator and Microsoft Internet Explorer, and with other browsers that use RSA's BSAFE cryptography toolkit. Back up server.key file and remember the pass-phrase you had to enter at a secure location. You can see the details of this RSA private key via the command:
$ /usr/pw/apache/bin/openssl rsa -noout -text -in server.key
2 Create a Certificate Signing Request (CSR) with the server RSA private key.
Ensure that you enter the FQDN (Fully Qualified Domain Name) of the server when OpenSSL prompts you for the 'CommonName', i.e. when you generate a CSR for a Web site, which will be later accessed via https://www.foo.dom/ , enter 'www.foo.dom' here. You can see details of this CSR via the command
$ /usr/pw/apache/bin/openssl req -noout -text -in server.csr
3 Now send this Certificate Signing Request (CSR) to a Certifying Authority (CA) for signing.
The result is then a real certificate that can be used for Apache.
Here you have two options: a First, you can let the CSR be signed by a commercial CA like Verisign or Thawte. Then you usually have to post the CSR into a Web form, pay for the signing, and await the signed certificate that you can then store in a server.crt file. For more information about commercial CAs see: Verisign: http://digitalid.verisign.com/server Thawte Consulting: http://www.thawte.com/certs/server/request.html CertiSign Certificadora Digital Ltd: http://www.certisign.com.br IKS GmbH: http://www.iks-jena.de/produkte/ca/ Uptime Commerce Ltd: http://www.uptimecommerce.com BelSign NV/SA: http://www.belsign.be b Second, you can use your own CA and get the CSR signed by this CA. Read below on how to get CSR signed by your CA yourself. You can see details of the received certificate via the command:
$ /usr/pw/apache/bin/openssl x509 -noout -text -in server.crt
c Now you have two files: server.key and server.crt. They replace the two corresponding files in /usr/pw/apache/conf/ssl.key/ and / usr/pw/apache/conf/ssl.crt/. server.csr file is no longer needed. The Verisign site http://www.verisign.com/support/csr/apache/v00.html also has some info on this subject.
172 BMC ProactiveNet Administrator Guide
Now server.key will contain an unencrypted copy of the key. When Apache
server starts, it will not prompt you for a pass-phrase. If anyone gets this key, they will be able to impersonate you on the net. So ensure that permissions on that file are such that only root or Web server user can read it (preferably get your Web server to start as root but run as another server, and have the key readable only by root).
You will be asked twice for a PEM pass-phrase. At the first prompt, enter the old passphrase and at the second prompt enter the new pass-phrase.
Back up ca.key file and remember the pass-phrase you currently entered at a
secure location. You can see details of this RSA private key via the following command:
$ /usr/pw/apache/bin/openssl rsa -noout -text -in ca.key
2 Create a self-signed CA certificate (X509 structure) with the RSA key of the CA (output will be PEM formatted):
$ /usr/pw/apache/bin/openssl req -new -x509 -days 365 -key ca.key -out ca.crt
You can see details of this certificate via the following command:
$ /usr/pw/apache/bin/openssl x509 -noout -text -in ca.crt
requirements and the default OpenSSL config doesn't allow one easily to use 'openssl ca' directly. So a script named sign.sh is distributed with apache mod_ssl. Use this script for signing. Now you can use this CA to sign server CSRs to create real SSL certificates for use inside an Apache Web server (assuming you already have a server.csr at hand): $ /usr/pw/apache/openssl/misc/sign.sh server.csr This signs the server CSR and results in a server.crt file.
Note Switching Apache server from HTTP to HTTPS mode requires restarting the system. BMC Software recommends due diligence before restarting the system.
Now server.key contains an unencrypted copy of the key. Directing your server to the server.key file ensures that the pass-phrase is not prompted for. However, if anyone gets this key, they will be able to impersonate you on the Internet. PLEASE make sure that the permissions on this file are such that only root or the Web server user can read it (It is recommended that you start the Web server as root but run it as another user, and have the key readable only by root). As an alternative approach you can use the 'SSLPassPhraseDialog exec:/path/to/ program' facility. But remember that this is neither more nor less secure.
12124
Local Agent
Set the IP address of the required server as the value of the property. Port not required by an external computer Port not required by an external computer Port not required by an external computer
15000
Rate
pronet.rate.hostIp( serverInsta 127.0.0.1 llDirectory /pw/pronto/conf/ pronet.conf) pronet.jserver.event.hostIp( se 127.0.0.1 rverInstallDirectory/pw/ pronto/conf/pronet.conf)
Internal process used by JServer; secured by default Internal process used by JServer; secured by default Internal process; secured by default
9149
12141
Log Server pronet.apps.logging.logServer 127.0.0.1 .hostnamepronet.apps.logging .logServer.port( serverInstallD irectory/ pw/pronto/conf/ pronet.conf)
Port 8093
Properties ( serverInstallDirectory /pw/ jboss/server/minimal_jms/ conf/jboss-serivice.xml) Line # 58 change bind address<attribute name=BindAddress>{jboss. bind.address}</attribute>
Default
Procedure to Secure Multi-homed port computer Setup Internal process; secured by default Port not required by an external computer
1100
Set the property Port not required value to 127.0.0.1. by an external If the BMC Atrium computer CMDB is integrated with BMC ProactiveNet and you change this property, then the BMC Impact Model Designer can not communicate with the publishing server. Internal process; secured by default Port not required by an external computer
12123
Agent pronet.apps.agentcontrollerho 127.0.0.1 Controller stIp (serverInstallDirectory / / JServer pw/pronto/conf/pronet.conf communic ation
To retain changes made to properties even after upgrade, copy the values to serverInstallDirectory /pw/custom/conf/pronet.conf file.
Note
3 How can I set up BMC ProactiveNet to use PAM (Pluggable Authentication Modules) to access computer level credentials? This feature is not available in the current BMC ProactiveNet release. 4 How can I configure the HTML headers to display "Internal FR" label on top of each page? This is only partially supported. You can only change the logo and/or navigation bar on the HTML page. For details on this, refer Customize logo on the Operations Console topic. 5 How can I disable the default Pronto account? To disable the default pronto account, simply delete the account after creating a new account with Administrative privileges. 6 Where does BMC ProactiveNet store user names and passwords? User names and passwords are stored in the database on BMC ProactiveNet Server. All passwords are kept in encrypted format. 7 Are user names and passwords accessible via regular database access? Database access to user name and password information is available to only to database users with administrative privileges. 8 How to change the BMC ProactiveNet password policy? The following entries in pronet.conf file can be used to set Password strength
pronet.login.minLength=6 pronet.login.maxLength=15 pronet.login.numericChars=1
9 Where is the HTTPS/SSL private key stored on BMC ProactiveNet Server? This information is stored in a file under /usr/pw/apache/conf/, which can be read only by the 'root' (BMC ProactiveNet install User) user. Refer Troubleshooting section for details on working with these keys. 10 How can I print user activity lists? To view user activity on BMC ProactiveNet, print Access.log ( located in usr/pw/ pronto/logs directory). These files record information related to user logons, logouts, and logon failures. 11 Does BMC ProactiveNet automatically lock user accounts after certain number of failed logon attempts? BMC ProactiveNet does not lock the user account. However, all logon failures are recorded in ProactiveNet.log. To lock such accounts, you can write a script to delete the account based on the log file entries.
12 How to restrict the agent so that it will only receive connections from a specific IPAddress? Use the following property in pronet.conf pronet.apps.agent.authorizedcontrolleraddress=<ipaddress> 13 How to configure agent controller to present a specific IP Address to an agent if server has more than one NIC? pronet.apps.agentcontroller.useIPForAgentConnection=<ipaddress> If the servers computer has got more than one IP (more than one NIC), set this property to IP address that agent controller will present while connecting to the agent 14 Does BMC ProactiveNet automatically log out users after a certain period of inactivity? By default, inactive users are logged out of the Operations Console after 24 hours. However, BMC ProactiveNet can be customized globally for all users. Use the property pronet.html.globalsession.timeout in pronet.conf file located in usr/pw/ pronto/conf directory to configure this value. If you change this property, ensure that you set the same log out period in the Tom Cat config file /usr/pw/tomcat/conf/web.xml (line 321).
<session-config> <session-timeout>1440</session-timeout> </session-config>
Restart the httpd process by running the command 'pw p r httpd'. On restarting the httpd process, all users will be logged out. 15 What encryption method is used for storing password information used by BMC ProactiveNet monitors? Passwords used by BMC ProactiveNet monitors are protected by Passphrase Based Encryption (PBE) as defined in PKCS#5 version 2.0. This encryption is applied to passwords stored in the BMC ProactiveNet Server database that may be used by a monitor to execute a transaction that requires user authentication. 16 How can I configure BMC ProactiveNet Server to run as non-root? Run the script 'configNonRoot' to configure an installed BMC ProactiveNet Server to run as a non-root user. The script prompts for the new HTTP and HTTPS ports to be used by Apache server and performs necessary changes. However, it is important that the initial installation be performed by 'root' user. After conversion to non-root, upgrades can be performed by a non-root user. The Apache and Tomcat components of the server run as user 'nobody'. After running this utility, however, they will run as the designated user.
Note
Note The server after being changed to run as non-root will have the following limitations:
Web interface can no longer be accessed on ports 80 or 443; instead, you must
choose alternate ports above 1024 -- you will be prompted for these ports when you run the conversion program "configNonRoot". You can also choose the alternate ports by editing the file /usr/pw/apache/conf/httpd.conf
You cannot revert the ownership once you change it to non-root. The local agent also experiences its own limitations in monitoring. More details
Follow the instructions to make BMC ProactiveNet Server run as user "john". The same ConfigNonRoot command can also be run to switch BMC ProactiveNet Server from one non-root user to another non-root user. BMC ProactiveNet Server running as a non-root user can be upgraded either by the same non-root user or by root. If upgraded by the same non-root user, the same HTTP(S) ports will be used by the Apache Web Server during upgrade. When BMC ProactiveNet Agent - Linux is run as non-root, the following limitations are applicable:
Process monitor will not collect data for certain attributes (such as # file
descriptors), if process being monitored does not belong to the same user as the agent. raw socket (requires root privileges). However, these utilities can be executed from the command line by non-root users only because the sticky bit is set, allowing them to run as root no matter who executes them. read privileges on the log files. The workaround is to assign Read privileges on the particular log file to "all" or to a particular group. read the device files.
Log File monitor will not work if the user running the agent does not have
Disk Performance Monitor will not work since root privileges are required to
17 For enhanced security, Apache server can be configured to accept only SSL v3 requests. To accomplish this add the following entry in apache configuration file httpd-ssl.conf.
SSL communication between BMC ProactiveNet Server and BMC ProactiveNet Agents
1 Does BMC ProactiveNet include its keystore files as part of the agent and server SSL communication? Yes, BMC ProactiveNet provides its own keystore files (pnserver.ks and pnagent.ks) as part of the Agent and Server SSL communication. The keystore files are stored under:
BMC ProactiveNet Server: /usr/pw/pronto/conf BMC ProactiveNet Agent: <Agent Install Directory>/pw/pronto/conf
These files are only available to the root user for Read and Write. 2 Can you replace this keystore certificate with another one? Yes, you can replace this keystore certificate with your own self-signed certificate. 3 How can I replace the keystore certificate with my own self-signed one? To replace the BMC ProactiveNet certificate: a Create a new keystore and self-signed certificate with corresponding public/ private keys.
*keytool -genkey -alias agent_<name> -keyalg RSA -validity 365 keystore agent_<name>.ks
This is the keystore that BMC ProactiveNet Agent uses. 1 Examine the keystore. Notice the entry type is |keyEntry|, which means that this entry has a private key associated with it.
keytool -list -v -keystore agent_<name>
4 Examine the truststore. Note that the entry |trustedCertEntry| has been created. *keytool -list -v -keystore pnserver.ks
keytool -export -alias pnca -keystore pnserver.ks -rfc -file pnserver.cer keytool -import -alias pnca -file pnserver.cer -keystore agent_<name>.ks
5 Copy agent_<name>.ks to the respective pronto/conf directory of the remote agent computer. 6 Change the following entry in the pronet.conf of the remote agent computer.
pronet.apps.ipc.ssl.context.agent.keystore.filename=pronto/conf/ agent_<name>.ks
7 Change the following entry in the .ks_pass file present in pronet/conf/ directory of the remote computer. pronet.apps.ipc.ssl.context.agent.keystore.passwd=<password provided during creation of agent_<name>.ks> 8 Restart BMC ProactiveNet Agent using ./startremotepw multiple from the agent's pronto/bin directory. SSL communication between the agent and agent controller must be successful.
Multiple event rules could affect a singe event. In this case, only the first event rule name gets inserted into the description text. Event messages may be customized to include additional information in the Description field of an Event table. By editing the event text template in the pronet.conf file, you can modify the event text and add additional event data to email notifications and event summary links. The event definitions and default event text can be found in the main configuration file:/usr/pw/pronto/conf/pronet.conf. However, when making configuration changes, it is best to place them in the custom configuration file: /usr/pw/custom/conf/ pronet.conf. You can use the definitions in the main file pronet.conf as templates. There are four templates for absolute events and four for signature events.
Note
Note If you make changes to the main pronet.conf file, the changes will NOT be preserved on upgrade, but will be over-written. However, the custom pronet.conf file is always preserved during upgrade. When a BMC ProactiveNet process starts, it first reads the main pronet.conf file for initialization. It then reads the custom pronet.conf, and any properties defined in the custom file will override the definitions in the main pronet.conf.
One application of this feature is to provide users with specific procedures to follow when a problem occurs (i.e., "runbooks"). Such procedures can be referenced as a URL supplied in custom event text. For example, changing the definition in pronet.conf from pronet.events.abs.abovethresh=$MO_TYPE $ATTR_NAME above $THRESH $UNITS.<$EVENT_CODE,$ABNORMALITY,$AVG,$LAST,$DUR> to pronet.events.abs.abovethresh=$MO_TYPE $ATTR_NAME above $THRESH$UNITS. Please see http://helpserver.mycompany.com/runbooks/$MO_TYPE/ $ATTR_NAME<$EVENT_CODE,$ABNORMALITY,$AVG,$LAST,$DUR>. This could be used to reference a Web page on a Web server called 'helpserver' that tells an operator what to do when an event is issued for (example) Solaris System Memory Utilization. You could make it even more specific by referring a procedure for a particular monitor instance, for example: http://helpserver.mycompany.com/runbooks/$MO_TYPE/$ATTR_NAME/ $INSTANCE_NAME Of course, this would mean creating an extra Web page for each particular monitor instance that needs its own procedure. The above examples are simplified and are useful only in notification e-mails sent as ASCII. They cannot be used to drill-down from the event summary. Below is a more sophisticated example that embeds an HTML reference in the definition so it can be referenced directly from the event summary. Note that in this example the Web server provides dynamic Web content using active server pages: pronet.events.abs.abovethresh=$MO_TYPE $ATTR_NAME above $THRESH $UNITS.<A HREF http://helpserver.mycompany.com/proserver1/runbook.asp? INST=$INSTANCE_NAME&MOTYPE=$MO_TYPE&ATTR_NAME= $ATTR_NAME>Runbook1</A><$EVENT_CODE,$ABNORMALITY,$AVG,$LAST, $DUR>
Note
It is very important NOT to modify the following string: <$EVENT_CODE,
$ABNORMALITY,$AVG,$LAST,$DUR>. Modifying this string will adversely affect certain operations in the system.
Each definition must appear on a single line (ignore the line breaks in the examples). Expanded text appearing after "=" sign should not exceed 254 characters (this
limit is imposed by the database tables). Expanded text is one that already has variable substitutions. To prevent this, please avoid using long URL paths for runbooks pages. recommended to have runbooks URL within quotes.
Once the changes are completed, you must restart BMC ProactiveNet Server for the changes to take effect. Alternatively, you can just start the rate process (pw process restart rate)., and then restart the snmpdc process (pw process restart snmpdc).
The properties files for these GIFs are located in /usr/pw/custom/conf/pronet.conf. Properties not present by default need to be created by the user. The default GIF size for the logo is 210 X 20 pixels and you must reload the properties by running the following command:
Chapter 7 Administering BMC ProactiveNet 185
Note If you change the GIFs, the replacement GIFs must be copied from pronet.conf and placed in the installDirectory /pw/custom/ART directory. The install script will ensure that your new art files are restored during upgrades (thereby preserving your changes)
backgrounds The installDirectory variable is the installation directory for the BMC ProactiveNet Server. BMC ProactiveNet supports common graphic file types such as .png, .gif, .bmp, .jpg, and .swf. 2 Backup the background.xml file.
The file is located in the following directory:
installDirectory \tomcat\webapps\pronto\jsp\swf\assets 3 In a text editor that does not add new line characters to a file, open the background.xml file. 4 In the <backgroundImages> section of the background.xml file, add an entry for each new image by entering the name of the image that you want to display in the
Operations Console and the file name of the image, including the path where the image is located.
For example, if you want to add a file named CompanyHQ.gif, then the entry
Ensure that the entries that you add are formatted the same as the entries that exist in the file. If the background.xml file is not configured correctly, the BMC ProactiveNet Server will be unable to read it. 5 Save the background.xml file and close it.
4 Enter the following command from a command line: pw jproperties reload 5 If the operations console is open, refresh the browser to view the change.
Improving performance when the navigation tree is loaded in the operations console
By default, when you open the navigation tree in the operations console, all nodes and subnodes are loaded even if a node is not expanded. If you have a lot of nodes defined in the navigation tree, you could experience a delay in the navigation tree loading completely. You can change the way that the navigation tree loads by turning on an option called lazy loading. When lazy loading is turned on, a branch in the navigation tree gets loaded only when it is expanded.
If you enter a value that is more than 500, you might experience performance issues when folders are loaded into the navigation tree. 3 Close and save the pronet.conf file. 4 Restart the jserver.
WARNING
3 Close and save the pronet.conf file. 4 Enter the following command from a command line to reload the property files:
Chapter 7 Administering BMC ProactiveNet 189
Scheduling downtime
Scheduling downtime
Tip For information on the relation between the Scheduled Down Time feature and the blackout event management policy, see Relation to Scheduled Down Time feature on page 308.
The Scheduled Down Time feature for devices, monitors, and groups enables BMC ProactiveNet administrators to specify a time range during which the monitor, device, or group stops collecting data. The Scheduled Down Time feature supports multiple schedules with different time ranges. You can schedule down time for the following frequencies:
one-time daily weekly monthly
The scheduler polls the database periodically for downtime events. By default, this period is five minutes; therefore, down-time events cannot be scheduled with finer granularity than five minutes. In addition, if a large number of devices is scheduled, it may take some time for the scheduler to turn off data collection for the scheduled devices. To avoid the possibility of false events at the beginning of the maintenance window, BMC ProactiveNet recommends that the downtime event be scheduled 15-20 minutes ahead of the actual maintenance period.
Scheduling downtime
Note While scheduling downtime, allow fair time for the device, monitor, or group to stop data collection. The time taken to stop data collection and then resume data collection depends on the server load, number of agents, and number of monitors scheduled for down time. In Windows Day and Time Properties, select Automatically adjust clock for daylight saving changes. This should always be selected to show the appropriate default time zone.
If an upgrade user turns on the Data Collection option , then the Calculate Baseline option is enabled. Upgrade users have the option to turn baseline calculation off or on when Data Collection is on. (When Data Collection is off, the Calculate Baseline option is disabled because there is no data to calculate.)
Usage scenario
A typical data sample can consist of the following test data:
Load on BMC ProactiveNet Server: Moderate (system load <1.5) Number of agents scheduled down: 4 Number of monitors scheduled down: 1200 Scheduled down duration: 45 mins Time taken to stop data collection: 10 - 15 mins Time taken to resume data collection: 1 - 5 mins
To understand the usage of the Scheduled Down Time feature, let us look at the following example:
Scheduling downtime
Assumptions:
BMC ProactiveNet is monitoring a web server for availability and response time. The web server is brought down on Sunday between 4 A.M. and 8 A.M. for
maintenance.
Operations:
During regular monitoring, BMC ProactiveNet will poll for the monitored
During downtime, both availability and response time will not return data and
These events will automatically close after the web server is online again.
Scheduling: The web server downtime can be scheduled as follows: 1 Select web server. 2 Select the Downtime Option. Data collection is on. Alarm/Event generation is on. AlarmRule Action/Notification is off. 3 Frequency is Weekly. 4 Specify the Time and Date as applicable. 5 Add Time Range. Application: In the above case, BMC ProactiveNet will monitor the Web server for availability and response time even during the device downtime and generate event/ alarm. However, any event/alarm generated during this period will not be notified. The advantage of this setup is that, BMC ProactiveNet console will display the events. Once the device is up again, the events will close. Thus the administrator can check the system and ensure that the web server is working as expected before the time to get it online. However, in case of SLOs defined for availability of this device , data collection can be switched off to avoid inconsistent SLO compliance calculation.
Scheduling downtime
Scheduled Down Time Administration window. Choose Options => Administration => Data Collection => Scheduled Down Time => Edit. The Scheduled Downtime Administration window is displayed. All devices/groups that are currently down are highlighted in Red. The exact display of time (for each entry in "Devices Already Scheduled for Down Time" section) may vary depending on the Administration Console (Windows and Solaris).
2 Choose a Filter.
You can choose to filter the list by Device or by Group.
If you choose to filter by Device, and are monitoring numerous devices, the list can be quite extensive. You can narrow your device search if Groups have been set up for your devices. 3 Click Add to open the Scheduler.
Next, you specify the duration of the down time. You have the following options: one-time setting daily weekly monthly
collection respectively.
Scheduling downtime
this period, previously calculated baseline is used. The baseline stays unaffected by new data. Hourly baseline is not recalculated and previous values are used. Daily and weekly baseline values are recalculated based on the hourly baseline. At the time of baseline calculation, BMC ProactiveNet checks for the pause period corresponding to the current time. During the pause period, only old values are used. Outside the pause period baseline calculation is performed using current data.
4 Under Time Pattern field, select the Start and End Date.
Manually specify the dates in mm/dd/yyyy format. Alternatively click on the
5 Select the Start Time and End Time. By default, the server time is displayed here. 6 From the list, select the Time Zone. By default, the server time zone is displayed here. When you change the time zone, the Start Time and End Time change accordingly. If you change the Time Zone and the corresponding time falls either in the previous day or the next day, the Start Date changes accordingly. The Time Zone field displays GMT + Time Zone difference in hours, together with location.
Note
Scheduling downtime
For example, from 7.1, Time Zone for Indiana-Starke displays GMT 05:00 US/
After specifying the required time and date combination, 9 Click Add. The system presents various alerts/confirmatory messages. On confirmation, BMC ProactiveNet adds the schedule to the device. 10 Click Yes to confirm the schedule. 11 Click Ok on the 'Added Successfully' message.
After defining the required Device Downtime,
2 Highlight the device whose schedule you want to change and click Edit. (If you want to delete the schedule, click Delete.) 3 Modify the schedule as required, and click OK.
Note BMC ProactiveNet does not allow editing of multiple schedules at a time.
To delete a schedule, select the schedule from the list and click Delete.
Special notes
Do not perform any operations (monitor creation, flash check, etc) on devices
during their scheduled downtime. This can result in unexpected behavior and display of invalid data. data collection.
If the devices data collection is off, schedule downtime has no affect on the device
From Release 6.5, editing multiple schedules is not allowed. A schedule cannot be edited while it is active (during downtime). In case of overlapping downtime, data collection resumes after the higher
schedule is completed.
Example: Consider the following schedules: Weekly: down at 9:00 A.M. - up at 10:30 A.M. Daily: down at 9:30 A.M. - up at 10:00 A.M. In this case, data collection resumes only after 10:30 A.M. (though the daily
downtime is from 9:30 A.M. to 10:00 A.M., we have an overlapping weekly downtime from 9 A.M. to 10:30 A.M.). previously scheduled downtime might get effected.
In 7.1, Day Light Savings settings have been taken care of. Time settings for the
3 Change the port to the desired value. For example, from 12124 to 12199. 4 Save the changes and exit the text editor. 5 From a command line, run the following command to restart the BMC ProactiveNet Agent:
pw agent start
The BMC ProactiveNet Agent stops, then starts again using the revised pronet.conf file. (Allow several minutes for this action to complete.)
3 Edit this entry by replacing the port number to the desired value.
For example: change 12124 to 12199.
4 Save the changes and close the text editor. 5 To stop and then re-start BMC ProactiveNet Agent (Windows), navigate to Start => Settings => Control Panel.
a Double-click the Services icon to launch the Services screen. b Locate BMC ProactiveNet Agent on the list of services, highlight, then click Stop. Click Yes in the warning message that is displayed. Status for BMC ProactiveNet Agent changes from Started to (blank). c With BMC ProactiveNet Agent still highlighted, click Start.
Status for BMC ProactiveNet Agent changes from (blank) to Started.
control ports shown in the Local Address column in the format: pcuser:control_port. For example, the listing hjohnson:12124 indicates that
system name hjohnson is running the BMC ProactiveNet Agent on the default TCP control port 12124. Figure 22: Active connections
2 Check the TCP control port listings to see if the TCP control port entry that you want to use is not already in use.
No return indicates port 80 is not being used. Repeat for each of the following ports: 443, 1099, 9149, 12123, 12124, 12125, 12130, and 45000. These ports are required by the ProactiveNet product and if any are used, you need to resolve the conflict before continuing. Refer Port Configuration Details section for more information.
Table 13: Non-configurable (Internal Process) Ports Control port Description
BMC Software recommends that the following port configuration be not changed. 1099 8008 8009 pronet.rmi.port Connector port between Apache Web server and Tomcat servlet engine Connector port between Apache Web server and Tomcat servlet engine used for agent and agent controller tunneling
configuration may be required - Accessing the Administration Console from a Windows Client through a firewall.
ProactiveNet UI tools. Usually, this only affects the Administration Console because it requires a wide range of TCP ports for efficient operation. HTML interface is usually unaffected by port restrictions because most firewalls allow incoming connections on port 80, which is needed for HTTP (Web browser) access. one, it causes problems for both the Administration and Operations Console. To overcome this, certain configuration changes must be made on the server. to-one (i.e., the firewall uses IP masquerading), then it is inaccessible to both the Administration and Operations Consoles.
If BMC ProactiveNet Server is behind a firewall and the NAT translation is many-
successful, the client and server randomly negotiate a free port between 10000 and 65000, and then reconnect on that port (the connection on port 1099 is closed). This direct connection is the most efficient form of RMI communication. If a wide range of ports is not available, this first form cannot be used. uses an HTTP POST request on that URL, sending the information to the server's method skeleton as the body of the POST. This method is slower than the direct TCP connection because the HTTP encapsulation adds over-head to the client's RMI requests.
If the first method fails, the client builds a URL to the server's host and port, and
Note This method requires that Apache proxy be activated on BMC ProactiveNet Server. Refer to instructions on Apache proxy provided at the end of this section.
If the second method also fails, the client builds URLs to the server's HTTP port,
using a CGI script that will forward the posted RMI request to the server. This is the slowest technique because the CGI wrapper adds considerable overhead in addition to the HTTP encapsulation.
Methods 2 and 3 are noticeably slower than the direct TCP method of remote invocation. If the Administration Console operations seem sluggish, the first test you must try is to attempt a direct connection on port 1099 by running the following command: telnet BMC ProactiveNet Server.mycompany.com 1099 If the command times out without connecting, then the communication is likely to be happening through some form of HTTP tunneling (method 2 or 3). Under special circumstances, it is possible to avoid the tardiness of methods 2 and 3. This workaround, if permissible, would require you to launch pw admin from the server and direct the xwindow output across the firewall to the user's computer. This can be accomplished by setting the DISPLAY variable to point to the IP address of the user's console ("setenv DISPLAY 123.45.67.89:0.0") and punching holes through the firewall for TCP ports 6000-6004 and UDP ports 177 and 32798.
The above-mentioned workaround involves some security risk and may not always work. For more information, refer Sunsolve Infodoc 18370.
Note
name of the Proactive system rather than the private address (note that there are two of these entries). By default, this entry uses the private IP address of BMC ProactiveNet Server.
entry to use the host name of BMC ProactiveNet Server. By default, this value is not assigned and defaults to the private IP address of BMC ProactiveNet Server (to make this change permanent and to ensure that the change is preserved during upgrade, copy the entire line to /usr/pw/custom/conf/pronet.conf.
Note Ensure that you do not insert any extra spaces or tabs within the line or at the end of line as it can cause problems.
The host name must resolve to the proper address on both sides of the firewall. If DNS service cannot resolve the name, then an entry must be made in the hosts file of BMC ProactiveNet Server and every computer that runs the administrator client. On Solaris, the hosts file is /etc/hosts and on Windows it is \WINNT \SYSTEM32\drivers\etc\hosts. After making these changes, restart BMC ProactiveNet Server using the "pw system start" command.
# #
Note Unless BMC ProactiveNet Server is protected by a firewall, do not comment the 'Allow from all' line as shown above. This can make BMC ProactiveNet Server and your internal network vulnerable to attack from outside.
For minimum security risk, specify a list of specific host and/or network addresses in this allowed hosts section. For example,
Order deny, allow Deny from all Allow from 192.16.26.0/24 #specify network address as (network addr.)/(subnet mask) Allow from 192.16.27.0/24 Allow from 192.16.31.0/24 Allow from 172.17.52.150 # specify host address as 4 octets Allow from 172.17.52.151 Allow from 172.17.52.148 Deny from all Allow from 192.16.26.0/24 #specify network address as (network addr.)/(subnet mask) Allow from 192.16.27.0/24 Allow from 192.16.31.0/24 Allow from 172.17.52.150 # specify host address as 4 octets Allow from 172.17.52.151 Allow from 172.17.52.148
WARNING
Note To modify any part of the variable section, the whole variable section of the conf file need to be copied over to pw\custom\conf directory & modified.
Common settings
Following are the common settings for the BMC ProactiveNet Server Solaris Edition, the BMC ProactiveNet Agent UNIX Edition, and the ProactiveAdmin Solaris Edition:
Specific settings
Following are the specific settings for the Local BMC ProactiveNet Agent Solaris Edition: Table 16: Specific settings for local agent
Setting LOCMaxHeap Default Values 512m Explanation This is the maximum size of memory allocation pool for Solaris local agent. This setting is ignored for remote Unix agents. Default size for remote Unix agent is 256m.
Note In earlier version these files were available in pronto/bin folder, from 7.1 onwards these new files will be available in pronto/conf. If you upgrade to 7.1 version .txt files will be deleted from pronto/bin folder and will be added as .conf files in pronto/ conf folders.
Common settings
Following are the common settings for the BMC ProactiveNet Server Windows Edition and ProactiveAdmin Windows Edition: Table 18: Common settings for Windows edition
Setting Minheap MaxHeap Default Values 16 MB 256 BM Explanation This is the initial size of memory required. This is the maximum amount of memory that can be used.
8
Managing users
Overview
BMC ProactiveNet supports a hierarchical classification scheme that defines the relationships among permissions that are assigned to user groups, which, in turn, are assigned roles. All of these elements are contained in user definitions. Figure 23: Relationships among users, user groups, roles and permissions
You can create new users, user groups, and roles. You cannot, however, create new permissions. You can only select from a predefined list of existing permissions.
209
WARNING Ensure that there is another admin user in the system before deleting the admin user or the related objects (user group/role).
For more information on the permissions that are assigned to each role and user group, see the BMC ProactiveNet Upgrade Guide.
Users
You can add users from the BMC ProactiveNet Administration console and associate them to a user group. You must associate at least one user group to create a user. The list of available user groups are listed in the User Groups pane. You can also edit and delete users. The User folder maintains user accounts, letting you identify who has access to the BMC ProactiveNet system. The following operations are available:
210 BMC ProactiveNet Administrator Guide
Users
The user activity on BMC ProactiveNet is available in the access logs which are available under: usr/pronto/logs/access.log
Users
4 Under User Groups, select the user groups that you want this account to belong to. 5 Click Add. A confirmation message is displayed stating that the user account has been successfully created.
5 Under User Groups, change the user groups that this account is associated with. 6 Click Finish.
Users
A confirmation message is displayed stating that the user account has been successfully changed. The following default user names and passwords are used in BMC ProactiveNet:
Administrator: admin/admin
For security reasons, the administrator should change the password for these accounts after the initial log on to BMC ProactiveNet. By default, no user account is created for Read Only groups.
Note
Deleting users
Perform the following procedure to delete a user account.
213
User Groups
WARNING
User Groups
User groups are groups of users that have a specified set of roles and permissions assigned to them. You must associate at least one role to create a user group. Default user groups defined in BMC ProactiveNet are Full Access, Operators, Supervisors, Service Administrators, Event Administrators, and Read Only. For more information about these user groups and what access they control, see Default users, user groups and roles on page 210.
Note
User Groups
5 The Views tab, permits you to either allow all views or selected views. 6 The Groups tab, provides you access to all or selected groups defined in the system. 7 The SLOs tab provides access to all or selected SLOs. 8 The Diagnostics tab provides access to all or selected Detailed Diagnostic commands and execute them. 9 The Reports tab provides access to all or selected reports. 10 The Folders tab provides access to all or selected event/component folders. 11 Click Finish/OK for adding/editing the user groups.
Note
The SLOs, Diagnostics and Reports tab are disabled by default. To enable the
tabs, you should select the appropriate Roles. the user group.
Managing the objects of the User Group are dependent on the role attached to
Note
215
The permissions are categorized based on usability such as Events, Product Administration, SLOs, Reports, Graphs and so on.
The default event list does not display events based on permissions of devices. It displays all events based on the permissions of event collectors. There are filters available in the Roles screen which will ease the process of selecting permissions. The filter are on Action and Category. For example, if you want a user to be able to only edit graphs, you can set the action to View and select the Graphs category. You can assign roles and permissions to a user from the User Group screen.
Note
5 Click Finish/OK. A confirmation message is displayed on successful creation or after successfully editing the role. 6 Add the new user role to the following .mrl files in the Knowledge Base of the cell.
ibrsd_collectors.mrl pom_activeevents_collectors.mrl pom_byuser_collectors.mrl pom_intelligentevents_collectors.mrl For more details about .mrl files, see the BMC Knowledge Base Development
Reference Guide.
7 After you add the custom role to the .mrl files, compile and reload the cell by opening a command prompt and entering the following commands:
mccomp -n cellName
mcontrol -n cellName reload kb 8 Log on to the BMC ProactiveNet Operations Console by using a user account from the group to which you added the custom role. You can also define roles and permissions by clicking New from the User Group screen.
Note
Note
217
Tip
6 Open the ldap_ppm_group_mapping .xml file using a text editor and create a map between LDAP groups and BMC ProactiveNet Performance Management (PPM) groups. For example, if you have a LDAP group called MyLdapGroup and you need to map it against a PPM group called "Full Access" then the ldap_ppm_group_mappings.xml file should have an entry for example, <entry key="MyLdapGroup">Full Access</entry>. 7 Enter the comma separated list of LDAP groups that you need to authenticate the user against in the ias.properties file. The property used to store this value is com.bmc.sms.ixs.search.ldap.group in the ias.properties file. For example, if you have LdapGroup1, LdapGroup2, LdapGroup3, LdapGroup4 groups configured on LDAP and you want only the user "username" to be validated against LdapGroup1 and LdapGroup2 then the ias.properties file should have the entry for example, com.bmc.sms.ixs.search.ldap.group=LdapGroup1,LdapGroup2 8 Check whether the property com.bmc.sms.ixs.default.group.present.check is set to false in the ias.properties file. By default this property is set to false. If this property is set to true, you must create a separate group for the corresponding LDAP group in the PPM environment. For example, if the value of this property is set to true, you must use the Administration Console to create a new group called MyLdapGroup for successful authentication of the users belonging to the group MyLdapGroup. 9 Restart the jserver (in BMC ProactiveNet Server, either restart the jserver or the BMC ProactiveNet Server). 10 Log in as external user from both Administration Console as well as the Operations Console.
Note
219
<ldap alias="sun-ldap"> <host>LDAP_SERVER_HOST</host> <port>636</port> <version>3</version> <baseDN>dc=bmc,dc=com</baseDN> <connectionUserName>uid=abc,ou=Dev,ou=Groups*,*dc=bmc,dc=com </connectionUserName> <connectionPassword encrypted="false">password</connectionPassword> <userIdAttribute>uid</userIdAttribute> <useSSL>true</useSSL> <groupMemberAttribute>uniqueMember</groupMemberAttribute> <userSearchFilter>(objectClass=inetOrgPerson)</userSearchFilter> <groupSearchFilter>(objectClass=groupOfUniqueNames)</ groupSearchFilter> </ldap>
5 Save the ldap_configuration.xml file. 6 Open the ldap_ppm_group_mapping .xml file using a text editor, and create the map between LDAP groups and BMC ProactiveNet groups. For example, if you have a LDAP group called MyLdapGroup and you need to map it against a PPM group called "Full Access" then the ldap_ppm_group_mappings.xml file should have an entry like <entry key="MyLdapGroup">Full Access</entry>. 7 Enter the comma separated list of LDAP groups that you need to authenticate the user against in the ias.properties file. The property used to store this value is com.bmc.sms.ixs.search.ldap.group in the ias.properties file. For example, if you have LdapGroup1, LdapGroup2, LdapGroup3, LdapGroup4 groups configured on LDAP and out of these you want only the user "username" to be validated against LdapGroup1 and LdapGroup2 then the ias.properties file should have the entry like com.bmc.sms.ixs.search.ldap.group=LdapGroup1,LdapGroup2 8 Check whether the property com.bmc.sms.ixs.default.group.present.check is set to false in ias.properties file. By default this property is set to false. If this property is set to true, you must create a separate group for the corresponding LDAP group in the PPM environment. For example, if the value of this property is set to true, you must use the Administration Console to create a new group called MyLdapGroup for successful authentication of the users belonging to the group MyLdapGroup. 9 Copy the SSL certificate to any local folder. 10 The SSL certificate should be imported into the jserver keystore pnserver.ks under /install_directory/pw/pronto/conf. 11 Use the command keytool -import [-trustcacerts] [-alias <alias>] [-file <cert_file>] [-keystore <keystore>] [-storepass <storepass>] For example, filename = ldapcert.cer keytool -import -trustcacerts -alias pnetv2 -file ldapcert.cer -keystore "e:\Program Files\ProactiveNet\pw\pronto\conf\pnserver.ks" -storepass get2net
12 Restart the jserver (in the case of BMC ProactiveNet Server, either restart the jserver or the BMC ProactiveNet Server). 13 Log in as external user from both Administration Console as well as the Operations Console.
Tip
5 Save the ldap_configuration.xml file. 6 Open the ldap_ppm_group_mapping .xml file using a text editor and create a map between the Windows Active Directory domain group and ProactiveNet Server. For example, the sample code above shows a Windows domain group called ITgroup. To map ITgroup to a ProactiveNet group called Full Access add the following entry to the ldap_ppm_group_mappings.xml file:
<entry key="ITgroup">Full Access</entry>
221
Note If there are multiple Windows domain groups, than add a new line entry in the ldap_ppm_group_mapping.xml file for each domain group.
7 Save the ldap_ppm_group_mapping.xml file. 8 Open the ias.properties file in a text editor and set the value of the com.bmc.sms.ixs.search.ldap.group property to the name of the Windows domain group. For example: com.bmc.sms.ixs.search.ldap.group=ITgroupCheck Separate multiple Windows domain groups with commas. For example: com.bmc.sms.ixs.search.ldap.group=ITgroup,DomainGroup2 9 In the ias.properties file, verify whether the com.bmc.sms.ixs.default.group.present.check property is set to false. If this property is set to true, you must create a separate group for the corresponding Windows domain group. For example, if the value of this property is set to true, you would use the Adminstration console to create a new group called ITgroup to successfully authenticate users belonging to the ITgroup group. 10 Restart either the jserver or the BMC ProactiveNet Server. 11 Log in as external user from both the Administration Console and the Operations Console.
9
Deploying multiple ProactiveNet Servers
This chapter describes how to deploy and configure multiple BMC ProactiveNet Servers.
monitoring events that are generated from BMC ProactiveNet monitors or third-
party adapters that retrieve performance data from other monitoring solutions
Through a central ProactiveNet Server, you can perform the following activities on events from other servers:
view event details execute event operations, such as taking ownership of events or assigning events export events
copy events launch the ProactiveNet Server from where an event originated view BladeLogic device history if BMC ProactiveNet is integrated with BladeLogic
In the Event View, you can also launch Detail Diagnostics, Related Events, and View Remote Action Results from the central BMC ProactiveNet Server, when the relevant icon is displayed in the Message column of the event. A central ProactiveNet Server does not require a separate installation, but it does require configuration. On the originating ProactiveNet Servers that supply data (also called child ProactiveNet Servers), you must configure the propagation policies to propagate events to the central ProactiveNet Server. On the central ProactiveNet Server, you must add details about the supplying servers. This section provides procedures for completing the following tasks:
Configuring an originating ProactiveNet Server on page 224 Configuring a central ProactiveNet Server on page 227
To configure ProactiveNet Servers for multiple deployment, verify the following prerequisites:
Ensure that all ProactiveNet Servers are the same version, BMC ProactiveNet 8.0
or later.
Confirm the server port and protocol of the originating ProactiveNet Servers. The
default server port is 80 and the default protocol is HTTP. originating ProactiveNet Servers.
When working behind a firewall, open the server ports for the central and
To configure an originating ProactiveNet Server to forward events to the central ProactiveNet Server
Repeat this procedure on every originating ProactiveNet Server in your environment.
1 On the originating ProactiveNet Server, add details for the central ProactiveNet Server to the mcell.dir file: a On the originating ProactiveNet Server, open the mcell.dir file, located in the installDirectory \pw\server\etc directory. b At the end of the file, add a line with the following cell server information for the central ProactiveNet Server, then save and close the file:
cell centralCellName mc cellHostName : cellPort
where
centralCellName is the name of the central ProactiveNet Server cell cellHostName is the name of the central ProactiveNet Server host cellPort is the cell port For example: cell pncell_central mc central.bmc.com:1828
c To reload the mcell.dir file with the updated information, open a command prompt and run the following command:
mcontrol -n childCellName reload dir
where childCellName is the name of the originating ProactiveNet Server cell. 2 Create a rule (mrl) file to propagate MC_CELL_ACTION_RESULT events: Refer to Knowledge Base Development Reference Guide for details about rule files. a Create a text file with the following rule:
# ACTION_RESULTS propagate cell_action_results_event: MC_CELL_ACTION_RESULT to <'centralCellName'> END
Note
b Save the file with an mrl extension in the installDirectory \MCELL_HOME\ server\etc\ childCellName \kb\rules directory. c Add the file name (without the mrl extension) to the.load file in the same directory. d Compile the cell by opening a command prompt and running the following command:
mccomp -n childCellName
e Restart the cell by opening a command prompt and running the following commands:
mkill -n childCellName
and then
mcell -n childCellName
Alternatively, instead of restarting the cell, you can reload the Knowledge Base of the cell by running the following command:
mcontrol -n childCellName reload kb
3 Open the Administration Console and in the Administration View, click the Event Management Policies tab. 4 Expand MyProduction => childCellName => By Policy Type => Propagation Policy =>All_Events. 5 Click to add a policy or to edit an existing policy. 6 In the Propagation Policy Details tab, ensure the following settings:
Select the Enabled check box to enable the event management policy. In the Policy Activation Timeframes section, select Always Active to make the
In the Propagate to all of list, select the cell server for the central ProactiveNet
where
childCellName is the name of the originating ProactiveNet Server cell cellHostName is the name of the originating ProactiveNet Server host cellPort is the cell port
For example:
cell pncell_01 mc 01_server.bmc.com:1828
3 To reload the mcell.dir file with the updated information, open a command prompt and run the following command:
mcontrol -n centralCellName reload dir
where centralCellName is the name of the central ProactiveNet Server cell. 4 On the central ProactiveNet Server, open the serverlist.xml file, located in the installDirectory \pw\prono\conf directory. 5 For each originating ProactiveNet Server, type values under the <OriginatingProactiveNetServer> element.
The information for <cellname> and <hostname_or_ipaddress> are the same
<protocol></protocol> </OriginatingProactiveNetServer>
where
pncell_01_server is the name of the originating ProactiveNet Server cell 01_server.bmc.com is the name of the originating ProactiveNet Server host If you use the default server port, 80 (for HTTP), you can leave this element
blank; otherwise, type the server port. otherwise, type the server port.
If you use the default protocol, HTTP, you can leave this element blank;
6 Save the serverlist.xml file. 7 For device aliases that were manually added to originating ProactiveNet Servers, manually add the device aliases to the central ProactiveNet Server, too, to ensure that events are associated with the appropriate devices.
Refer to BMC Knowledge Base Development Reference Guide for details about
8 In the Event View of the central ProactiveNet Server, click the Refresh icon (not the browser Refresh), or wait for the screen to refresh automatically. Events from the originating ProactiveNet Servers are displayed in the central ProactiveNet Server.
Note When an originating BMC ProactiveNet Server receives events in a blackout period, the events are not propagated to the central BMC ProactiveNet Server.
10
Setting up web transactions
This chapter presents the following topics:
System requirements
System requirements
Operating System: Windows NT 4.0 (with Service Pack 6a), Windows 2000/XP/
2003
.Net version: 3.0 (Installed automatically with local BMC ProactiveNet Server and
Note
Supported for 32-bit and 64-bit processors. Any other version of .net already installed on the system will not get
Fresh installation of BMC ProactiveNet 7.6 server on Windows 2000 does not
System requirements
3 Playback and validate the Web Transaction File Use the Playback option in the Web Capture tool to verify that the transaction just recorded will replay successfully. This step is recommended, but is optional. Use the Validate option to verify whether a Web Transaction Monitor can be created successfully using the Web Transaction file you saved. 4 Export the Transaction File Use the export tool to transfer your transaction file to BMC ProactiveNet Server. a Playback and validate the Web Transaction File Use the Playback option in the Web Capture tool to verify that the transaction just recorded will replay successfully. This step is recommended, but is optional. 5 Configure a Web Transaction Monitor Use the Administration Console to create the Transaction Monitor. Certain limitations exist while recording and playing back Web transactions. To learn more about them, refer Web Transaction Monitor Troubleshooting section.
Note
Backward compatibility
The table below indicates the various features of the Web Capture Tool that are supported for Transaction files created using earlier versions of BMC ProactiveNet:
Table 23: Backward compatibility of the web capture tool in BMC ProactiveNet 7.0 & above Feature Open Edit Whether Supported No Yes (only from the menu bar option in the Administration Console) No Yes Yes Alternative, if feature not supported None You cannot make changes to an old transaction file using the Web Capture tool None
Best Practices
If you are using a Web transaction file created in a version prior to BMC ProactiveNet 7.0, it is recommended that you record and save the same transaction in a different file using the new Web Capture tool. However, if you want to use an
Chapter 10 Setting up web transactions 231
old transaction file, the combination of BMC ProactiveNet Agent 6.5 and BMC ProactiveNet Server 7.0 and above, is recommended.
File
Open - Click this to display the Open BMC ProactiveNet Transaction File
window. From here, select a previously recorded transaction to work with. usr_apps/Webtranx directory. You cannot save transaction files in any other directory or folder.
Save - Click this to save the transaction file in the installDirectory /pw/pronto/
Options
Advanced Settings The Advanced Settings window enables you to set certain properties to govern the recording tool. Session Only Settings The options that you select here are applicable to only one session of the recording.
Enable Title Match - Select this option to automatically record the title of the Web
Allow Popups - Select this option to allow other pop-up windows and screens
associated with the Web site you are viewing to be displayed while you are
recording the transaction. This does not interfere with the system authentication pop-up windows that may be displayed. This feature helps to record a transaction by blocking unwanted pop-up windows that may appear on a site. Permanent Settings The options that you select here are applicable across all sessions. Debug
Simple Logging - Select this to record basic logging of the navigation steps. Only
Advanced Logging - Select this to record more detailed information about the
navigation. This info will be useful to debug problem areas in a transaction that failed. recorded in the transaction file and the same cookie must be used for the playback of the recorded transaction. debug problem areas in a transaction that failed.
Enable Snoop - Select this to get the snoop output. This info will be useful to
Edit - Click this to open a previously recorded file and make changes to it. Test Monitor - Click this to check whether this transaction can be played correctly
from the monitor. This is the same as the Test Monitor button on the menu bar.
Record
Start Recording - Click this to begin recording a new transaction. This option is
Stop - Click this to stop recording a transaction. View Source - Click this to view the HTML source of the Web page you are
viewing. This lets you copy the desired content for Content Match from the HTML source so that extra line feeds or in-between newline characters are not copied.
Play
All Steps - Click this to replay all steps of the recorded transaction without
intervention.
Step-by-Step - Click this to replay one step of the recorded transaction at a time.
You must click Next to view the next step in the transaction.
Next - Click this to play the next step in the recorded transaction. This option is
Help
Help Topics - Click this to view Help topics related to the Web Transaction
Capture tool.
About - Click this to view information about the version of BMC ProactiveNet
Buttons
The following buttons are included in the Web transaction capture tool.
successfully by the Web Transaction Monitor. Click here to know more about the validate process.
Edit - Click this to open a previously recorded transaction and make changes to it. Sub Transactions - Click this to display the Add/Edit Sub Transactions window.
All Steps - Click this to replay all steps of the recorded transaction without
intervention.
Step by Step - Click this to replay one step of the recorded transaction at a time.
You must click Next to view the next step in the transaction.
Reset - Click this to clear the screen without saving any changes. Step Info - This section displays information about the steps that are recorded as
a transaction in a tree structure. Step information also displays content match and title match, if specified. The URLs of the steps recorded are displayed in this section. Positive content match is displayed with a '+' symbol next to the inserted content match string and negative content match is displayed with a '-' symbol. Title match string recorded is displayed with the letter 'T' displayed. Debug tab contains all debug messages and the Error tab lists errors that occurred during recording. its name. This is displayed in the field next to the Update Step Name button. Change the step name displayed in the field and click this button to assign the name to the step.
Log Info - When you select this tab, two additional tabs 'Debug' and 'Error' are
Content Match - The Content match feature enables the Web Transaction user to
verify that the monitor navigates to the correct web pages during the transaction playback. Content match can be specified for each step of the transaction file. During playback, the downloaded page is parsed and the recorded content is matched with the corresponding page to check the authenticity of the transaction playback. positive match content. If the content is present in the page, then the playback is considered as successful. If the content is not present, then an error is reported and availability is set to zero. match content. If the content is not present in the page, then the playback is considered as successful. If the content is present, then an error is reported and availability is set to zero. found in a page on the Web site, then the transaction is considered successful. The content match text that you assign is displayed in the field next to the Content Match section. Go to Record => View Source to copy text for content match.
Positive - During playback, the downloaded page is checked for the specified
Negative - During playback, the downloaded page is checked for the negative
Insert - Click this to insert text as the content match. If the text assigned here is
Note
Delete - Select a content match text and click this to delete it from being a content
match.
Update - Click this to select an already assigned content match text and make
changes to it.
Title Match - Select this option to enable Title Match. Page title can be recorded as
part of the transaction file. As with Positive Content Match, the downloaded page is checked for the Title during playback. Title match can be used to validate rendered pages without manually insert content matches.
Ready - Indicates the status of the Web Capture tool. Recording - Indicates the status of the Web Capture tool.
Note
3 Launch your browser and start your transaction with the first URL. For this tutorial, we use the bmc.com Web site to record a transaction. As you click through the site, remember to write these steps on paper or in the text editor. Your transaction planning sheet would look like this:
Go to http://www.bmc.com Click Contact Us option in Company menu. Click BMC ProactiveNet's world wide office. Stop (close the browser).
Remember - this is the trial run of the transaction. Take time to look at the Web pages and plan out what you actually want to record. 4 Note the Content Match parameters. You will most likely want to ensure that the transaction you are about to record actually returns the content you were expecting. To do this you will use Content Matching. For this sample transaction, you want to ensure that you have reached the International Office page. To do so, make a note on your planning sheet to attach a Positive Content Match for the string ""International Offices"" (step b below). Alternately, add a note to attach a Negative Content Match for the string ""No listings were found"" (step e below). Your transaction planning sheet would now look like the following:
BMC ProactiveNet International Offices transaction with content matches: http://
www.bmc.com
Go to Company => Contact Us => International Offices Positive content match: International Offices Negative Content match: No listings were found Stop (close the browser)
Positive Content Match A positive content match on a page verifies that the specified text string is found on the page. If that string is not found, the transaction fails. Negative Content Match A negative content match flags the transaction as failed if the specified string appears anywhere on the page. More on how to specify content matching is explained in the Content Match topic.
5 Plan Sub transactions You may want to record sub transactions. A transaction can include multiple subtransactions. 6 Planning step completed You have now completed the first step of planning the transaction and will now use your planning sheet to go back and actually record the same steps you just rehearsed and made notations about. You will find that the more detailed your planning is, the easier it is to create a reliable and effective monitor.
ProactiveNet Server and BMC ProactiveNet Agent communications) to be enabled for Proactive operations. Setting up your Firewall server and proxy server are your responsibility, with the only requirement that your proxy server set up does not require a user name or password.
To work with a previously recorded transaction, click Open. For details, see
For a description of each option available in the BMC ProactiveNet Web Capture screen, see Web transaction capture screen field descriptions on page 232.
icon returns to its static state to indicate that the navigation to the intended URL is complete.
Note Do not click any button or option on the screen when the icon is changing its status. This may lead to errors.
Figure 24: Web recorder in the record mode
If the Title Match check box in the Recorder is turned on, then title of the Web pages are automatically recorded as Positive Content Match and the Title Match is enabled automatically in Content Match Details screen. 2 Enter the starting URL, that is the first step of the transaction, in the URL field. In this example, we use http://www.bmc.com as the first step.
Note
You can record additional links within the Web site by simply clicking on the
respective links. They will automatically be added to the transaction file. Figure 25: Recording a transaction
3 Follow the steps you have planned. To continue the trial transaction recording, go to Solutions => Infrastructure monitoring => User Transaction Recorder.
The Web Recorder window records every page you visit in the Web site. This
info is available to you in the Step Info section. Figure 26: Step Info
While recording there will always be a slight delay from when you click on a link and when the next page is actually rendered (more of a delay than usual). Be sure to wait until the page is completely loaded before clicking on the next button or link. If you do not wait there is a chance that the step will not be
Chapter 10 Setting up web transactions 241
recorded correctly in the transaction file, which will cause the transaction to fail. One way to verify that you have correctly recorded each step is to verify that the step is recorded in the Step Info section after each click. The Log Info tab is useful when you are trying to troubleshoot a failed transaction. This tab consists of two more tabs - Debug and Error. The Debug tab contains all debug messages associated with the transactions and the Error tab lists errors that occurred during recording. 4 Insert text for Content Match. For example, Infrastructure Availability. The recommended way to insert a content match is to copy the text from the View Source feature. For proper content match, the text should be pasted directly from the HTML source of the URL. Do not copy the text from the page as displayed in the browser, for there could be extra characters in the HTML source that are hidden.
Use this feature to monitor changes in the Web content on the Web sites.
Note
match.
Go to Record => View Source. Copy the content match text and paste it in the Content Match section of the
recorder.
Follow the above steps to insert multiple content match strings for a step. Figure 27: Insert Content Match
Positive Match: This displays an error if the string is not found on the designated page. The text strings must appear in the designated URL or frame for the monitor to report success. The monitor reports success only if *all* strings are found. If all the multiple strings are found, then the monitor reports success.
242 BMC ProactiveNet Administrator Guide
Negative Match: This displays an error if the string is found on the designated page. If the text strings appear in the designated URL or frame, the monitor reports failure (no response). The monitor reports failure if any one of the strings is found). Example:
HTTP 404;The page cannot be found
If any one of the negative content match strings is found, then the monitor reports failure. This is the exact string that must be used for defining content matches. Remember that the monitor is case-sensitive and the string should be entered EXACTLY as it appears on the HTML source. The reason is that there may be multiple frames in the Web page, and this option will not display any of the frame source text (it is, however, useful for identifying the URLs for all frames in the page). Instead, you should right-click on the frame of interest and select View Source. The Operations Console lists Web monitor attributes such as Source Agent and Collect Data. You can define multiple content matches on a page by repeating this step. Once the form is open, you can insert content match strings for every steps without having to open and close the form every time you want to insert a content matching string. If you make a mistake, such as typing an incorrect string or inserting it in the wrong place, you can change it by clicking Edit. The Web Transaction Monitor supports Unicode characters in Web content. However, it does not support Unicode characters in a 'pop-up' login Authentication Info. POP-UP log in: If a logon pop-up (Basic/Digest/NTLM Authentication) window appears during the transaction, refer Pop-up Windows help topic. You may also run into more complicated transaction recordings, such as System Authentication pop-up screens, advertisement windows, and other complex transactions. For information on working with these, refer Pop-up Windows topic. 5 Click Stop to stop the transaction recording.
The Save Transaction File window is displayed. Specify a name for your
Note
transaction file and click Save. The file is saved with the extension .tran in installDirectory \agent\pronto\usr_apps\webtranx directory
Once you save a transaction file, you can do either of the following:
Test whether a Web Transaction Monitor can be created using the transaction
Security
JSSE - Select this option to use JSSE package for HTTP connections. Cryptix - Select this option to use Cryptix (ice storm) package for HTTP
connections.
Emulate Netscape - Select this option to set Netscape as the user agent in the
Full Download - Select this option to download all images in the page. Timeout (in secs) - Specify the timeout value for the validate process. By default,
The View Logfile button is disabled before the file is validated. After validation, the result (SUCCESS or FAIL) is displayed on the screen.
244 BMC ProactiveNet Administrator Guide
Success: Indicates that a monitor can be created using this transaction file to
collect data.
Fail: Indicates that a monitor cannot be created using this transaction file.
View Logfile - Click this to view the log file of the played back transaction. This
helps in debugging a failed transaction. The log file will be stored in the logs folder installDirectory \agent\webrecorder\logs) with the same name as the Transaction File.
Playing a transaction file created with the Web Transaction Capture tool
The Play feature is enabled when you are working with a previously saved transaction file or immediately after you save the transaction file. This feature enables you to view, playback, and add or edit content match to your transaction file. You can also change step names using this feature. The Step by Step and All Steps features are enabled only after you click Play. 1 Click Play. Steps in the transaction file are displayed in the Playback Details section. You can either playback the transaction one step at a time (Step by Step) or all steps continuously without user intervention (All Steps). 2 Click either All Steps or Step by Step, as required. 3 If required, insert or change content match text and update the step name. 4 Click Stop.
Successfully played back transactions with Title match enabled in the Recorder and Content Match Details screen are displayed in green and without enabling Title match are displayed in gray color. Figure 29: Title match playback transactions
Successfully played back transactions are displayed in green and failed transactions in red. If a step fails, the playback process stops. Figure 30: Playback transactions
If a step fails, you cannot continue playing back the other steps in the transaction file. 1 A message seeking confirmation to save changes made to the transaction file is displayed. You can choose to select the same file to save current changes or save the set of transactions with the new properties as a different file.
Note Log entries for GUI playback of a transaction are available in the running log file (installDirectory \agent\webrecorder\logs\WebRecorder.log). However, the log entries are overwritten after each session.
Authentication
Authentication
This procedure is required to record system authentication pop-up windows that appear while recording a transaction and is not necessary for logons, which are presented as form data. In other words, it is not needed when user name and password fields are part of the Web page. If a pop-up logon (Basic/Digest/NTLM Authentication) window appears during the transaction, you must follow the steps given below to ensure that it is recorded. Open the Web Recorder and enter the first URL. The Enter Network Password window pops up but notice that there is no new URL recorded in the Web Recorder window. This pop-up window is not a browser window. Let us refer to it as a System Authentication pop-up window. Some additional steps are called for to record such a transaction.
Chapter 10 Setting up web transactions 247
Authentication
Password - Specify the password associated with the user name. Domain - Specify the domain where the user name and password combination is
to be used.
your Web site. You can select Basic, Digest, or NTLM from the list.
Basic authentication
Upon receiving a 401-response header, the client's browser, if it supports basic authentication, seeks user name and password information to be sent to the server. If you are using a graphical browser, such as Netscape or Internet Explorer, a window is displayed where you must specify your user name and password. The information you type in is sent back to the server. If the user name is in the approved list, and the password specified is correct, the resource will be returned to the client.
Digest authentication
Digest authentication is implemented by the module mod_auth_digest. There is an older module, mod_digest, which implemented an older version of the digest authentication specification, but which will probably not work with latest browsers. Using digest authentication, your password is never sent across the network in the clear, but is always transmitted as an MD5 digest of the user's password. In this way, the password cannot be determined by sniffing network traffic.
NTLM authentication
NTLM is an authentication protocol used in various Microsoft network protocol implementations and supported by the NTLM Security Support Provider (NTLMSSP). Originally used for authentication and negotiation of secure DCE/RPC, NTLM is also used throughout Microsoft's systems as an integrated single sign-on mechanism. NTLM employs a challenge-response mechanism for authentication, in which clients are able to prove their identities without sending a password to the server. It consists
248 BMC ProactiveNet Administrator Guide
Subtransactions
of three messages, commonly referred to as Type 1 (negotiation), Type 2 (challenge), and Type 3 (authentication). The client sends a Type 1 message to the server. This primarily contains a list of features supported by the client and requested of the server. The server responds with a Type 2 message. This contains a list of features supported and agreed upon by the server. Most importantly, however, it contains a challenge generated by the server. The client replies to the challenge with a Type 3 message. This contains several pieces of information about the client, including the domain and user name of the client user. It also contains one or more responses to the Type 2 challenge. Responses in the Type 3 message are the most critical piece, as they prove to the server that the client user has knowledge of the account password.
Insert - Click this to save data that you have specified as user logon information. Delete - Click this to delete saved user logon information. Update - Click this to save changes made to the existing user logon information. Close - Click this to close and exit from the window.
Authentication information that you save is not displayed in the Step Info section. However, if you want to view the authentication information that you have added for a step, open the Add/Edit Authentication window.
Subtransactions
The Web Transaction Capture tool enables you to group several transactional steps under one transaction. These transactional steps may be referred to as 'Subtransactions'. Subtransactions allow you to record and display more detailed data for attributes collected by the Web Transaction Monitor. The monitor in turn reports more granular set of stats data. This way the monitor can not only report the 'Total Response Time' of an entire transaction but also the sub 'Response Time' of each step in the transaction. Apart from reporting the response time of each step in the transaction, the monitor also maintains a baseline of each step. This is a powerful feature since it enables any abnormal behavior associated with the subtransactions to be correlated automatically to the degradation in Total Response Time (without having to set a threshold on it).
Subtransactions
To add a subtransaction, The Starting Step and Ending Step drop-down lists consist of URLS/steps recorded until then. The lists display the URLs in the order they were accessed and are numbered accordingly. You can select a single step as a subtransaction or choose multiple steps to form a single subtransaction.
Select the first and last step to define the subtransaction. If required, specify a name for the subtransaction in the Name field. By default,
Click Add.
Note
To add a single step/URL as a subtransaction, select the same step as the
first and last steps. For example, to add Step.2 as a subtransaction, select Step. 2 as both the first and last steps. ending URL/step in the order of access. For example, you can configure a subtransaction that navigates from Step1 to Step2 but not from Step2 to Step1.
To edit a subtransaction,
From the Select Sub Transaction list, choose the subtransaction that you want to
edit.
Change the starting and/or ending steps of the subtransaction. If required, provide a new name for the subtransaction. Click Update.
To delete a subtransaction
From the Select Sub Transaction list, choose the subtransaction to be removed. Click Delete.
Only 20 subtransaction attributes are supported. No nested subtransactions are allowed. Over lapping subtransactions are not allowed.
2 Enter information required in the Basic Information tab of the Add Web Transaction window.
Transaction File - Select the transaction file you created for this monitor from
the list. This is the transaction file created previously. If there are no files in the list or the file you want is not present, you may have a problem with the location or generation of your transaction file. The list contains files only in the / usr/pronto/usr_apps/webtranx directory. If no transaction file exists, or the file you want is not present, check the location or generation of your transaction file.
View/Edit option is discussed in the Playback the Web Transaction File topic. Source Agent - BMC ProactiveNet Server, unless you own an enhanced BMC
ProactiveNet license. Choose the BMC ProactiveNet Server or BMC ProactiveNet Agent where this monitor will run.
HTTP User Agent String - Select the HTTP user agent string. Each browser
type identifies itself to the Web server by sending a HTTP user agent string with each request. You can simulate various browser types by modifying the user agent string, which may be useful if a site launches different content based on the browser type making the request. the browser making the HTTP request. Under most circumstances, this field should not be changed, since setting it to incorrect formats could cause the monitor to fail when making requests to the Web server.
Instance Name - Provide a unique instance name that better describes your
transaction. This is displayed on folders, graphs, lists, and so forth. Example: Web Trans test
defaults.
By default, only the text of the base page is downloaded. When this option is selected, response time includes the download of links referenced on that page. Select this option only if you want all images on the page, frames, and
HTML text to be downloaded. If this option is NOT selected, only frames and text is downloaded. This option is not recommended since it affects performance. HTTP Proxy
Use Proxy - Optionally, a proxy server can be used to access the URL. Select
this option if a proxy is required to access the Web site specified. server.
Proxy Server - Enter the name/IP address of the computer hosting the proxy
Proxy Port - Enter the port of a HTTP Proxy Server. Proxy User - Enter the user name of a HTTP Proxy Server.
Your proxy server must support Proxy-Authenticate for this option to function.
Proxy Password - If the proxy server requires a password to access the URL,
Note
collect data for the monitor device. If this option is not selected, data collection for the device stops (or never starts for new devices); you can conduct maintenance on the device without generating events. Used to set data collection parameters. transactions. Default is 5 minutes. For performance purposes, it is not recommended that you replay the transaction more than every 5 minutes. a poll response before reporting 'No Response'. Default is 2 minutes.
Statistics Poll Interval (min) - Specify the time interval between playing two
Statistics Poll Timeout (min) - Specify the duration the system must wait for
generating an event.
Retries Wait (sec) - Enter the number of seconds to wait before retrying the
the error (if any) has occurred during playback by the monitor instance. The captured error page can be viewed from more info option in the Operations Console.
Chapter 10 Setting up web transactions 253
Monitor automatically creates a device type called WebServer and places the newly created Web Transaction monitor under this device. Expand the Web Transaction subfolder under the Monitors folder in the Administration Console to see that the new monitor is listed.
Should be a positive integer in seconds. webtranmon utility implements the same functionality as Web Transaction monitors during polling. The final status of processing of the transaction is displayed on the screen. The examples below list the format of the output.
Pop-up Windows
Note On non-Windows platforms, the transaction file is looked for in the directory /usr/pw/ pronto/usr_apps/webtranx
Example 1 - Success Transaction
UNIX# webtranmon yahoo.tranStarting webtranmon test with webtran file: /usr/ pw/pronto/usr_apps/webtranx/yahoo.tranWebTran test result: SUCCESS -- see more details in the file /data/pw/pronto/usr_apps/ webtranx/yahoo.log
Example 2 - Failure Transaction
UNIX# webtranmon failure.tranStarting webtranmon test with webtran file: /usr/ pw/pronto/usr_apps/webtranx/failure.tran WebTran test result: FAIL -- see more details in the file /data/pw/pronto/usr_apps/ webtranx/failure.log
Pop-up Windows
This section provides details about how to record pop-up windows with the web transaction capture tool.
Pop-up Windows
Domain - Specify the domain where the user name and password combination
is to be used.
by your Web site. You can select Basic, Digest, or NTLM from the list.
Basic authentication
Upon receiving a 401-response header, the client's browser, if it supports basic authentication, seeks user name and password information to be sent to the server. If you are using a graphical browser, such as Netscape or Internet Explorer, a window is displayed where you must specify your user name and password. The information you type in is sent back to the server. If the user name is in the approved list, and the password specified is correct, the resource will be returned to the client.
Digest authentication
Digest authentication is implemented by the module mod_auth_digest. There is an older module, mod_digest, which implemented an older version of the digest authentication specification, but which will probably not work with latest browsers. Using digest authentication, your password is never sent across the network in the clear, but is always transmitted as an MD5 digest of the user's password. In this way, the password cannot be determined by sniffing network traffic.
NTLM authentication
NTLM is an authentication protocol used in various Microsoft network protocol implementations and supported by the NTLM Security Support Provider (NTLMSSP). Originally used for authentication and negotiation of secure DCE/RPC, NTLM is also used throughout Microsoft's systems as an integrated single sign-on mechanism. NTLM employs a challenge-response mechanism for authentication, in which clients are able to prove their identities without sending a password to the server. It consists of three messages, commonly referred to as Type 1 (negotiation), Type 2 (challenge), and Type 3 (authentication). The client sends a Type 1 message to the server. This primarily contains a list of features supported by the client and requested of the server. The server responds with a Type 2 message. This contains a list of features supported and agreed upon by the server. Most importantly, however, it contains a challenge generated by the server. The client replies to the challenge with a Type 3 message. This contains several pieces of information about the client, including the domain and user name of the client user. It also contains one or more responses to the Type 2 challenge. Responses in the Type 3 message are the most critical piece, as they prove to the server that the client user has knowledge of the account password.
256 BMC ProactiveNet Administrator Guide
Insert - Click this to save data that you have specified as user logon information. Delete - Click this to delete saved user logon information. Update - Click this to save changes made to the existing user logon information. Close - Click this to close and exit from the window.
Authentication information that you save is not displayed in the Step Info section. However, if you want to view the authentication information that you have added for a step, open the Add/Edit Authentication window.
Editing Web Transaction files created in BMC ProactiveNet 7.0 and later
To edit a previously recorded Web Transaction file, 1 Go to Tools => Web Transaction Capture => Edit. Alternatively, Go to Tools => Web Transaction Capture => Launch WebCapture. The ProactiveNet Web Capture window is displayed. 2 Click Open to list all the saved transaction files. 3 Select a transaction file to be edited.
4 Click Edit, the ProactiveNet Transaction File Editor window is displayed. All steps of the transaction are listed in the left pane. The right pane consists of different attribute groups that can be edited for each step. Figure 32: Transaction File Editor window
Content Match The Content match feature enables the Web Transaction user to
verify that the monitor navigates to the correct web pages during the transaction playback. Content match can be specified for each step of the transaction file. During playback, the downloaded page is parsed and the recorded content is matched with the corresponding page to check the authenticity of the transaction playback.
Positive Match - If the content is present in the page, then the playback is
considered as successful. If the content is not present, then an error is reported and availability is set to zero. Positive content match strings are preceded by the '+' symbol in the Content Match section. Change the content match and title match strings, if required.
Negative Match During playback, the downloaded page is checked for the
negative match content. If the content is not present in the page, then the playback is considered as successful. If the content is present, then an error is reported and availability is set to zero. Negative match is used ascertain that error condition related content is not present on the page. Negative content match strings are preceded by the '-' symbol in the Content Match section. Change the content match and title match strings, if required.
Note
If the title match is enabled in Recorder or can be enabled from Edit option
manually, the Content Match will be displayed in green color. manually, the content match will be displayed in gray color.
If the title match is disabled in Recorder or can be disabled from Edit option
Add Click to add a new content match. Update Click to save any changes made to the selected content match. Delete Click to delete the selected content match.
subtransaction that you want to edit. of the sub transaction recorded. the sub transaction recorded.
Select Starting URL for the Sub Transaction From the list, select the first URL
Select Ending URL for the Sub Transaction From the list, select the last URL of
Sub Transaction Name Specify a name for the sub transaction. Add Click this to add a new sub transaction.
Update Click to save any changes made to the selected sub transaction. Delete Click this to delete the selected sub transaction.
particular page in the Web site and is mandatory. Left-click or right-click macro icon to enter the new macro or edit the existing macros. See Web Transaction macro on page 265.
Password Specify the password associated with the user name and is
mandatory. Left-click or right-click to enter the new macro or edit the existing macros. See Web Transaction macro on page 265. is to be used. Left-click or right-click to enter the new macro or edit the existing macros. See Web Transaction macro on page 265.
Domain Specify the domain where the user name and password combination
Type From drop-down menu, select either BASIC, DIGEST, or NTLM. Add Click this to add new authentication. Delete Click this to delete the selected authentication.
2 Step Details
Protocol - Indicates the protocol used (for example, HTTP 1.1 HTTP 1.0) (non
editable).
Method - Indicates the method used. Name - Name assigned to the transaction step. URL - The URL of the transaction step and is mandatory. Left-click or right-
click to enter the new macro or edit the existing macros. See Web Transaction macro on page 265.
Chapter 10 Setting up web transactions 261
Update - Click to update the transaction step details with any changes you made.
3 Form Details
Form Name - Name of the form associated with the URL/step. Form Index - Index of occurrence of the form with the same name in the page Form Source - URL of the page where the form is present. Form Action URL - Associated URL action of the form. Input elements involved in the form are displayed in the name value pair format. Name - The attribute name. Value - The attribute value. Left-click or right-click to enter the new macro or
edit the existing macros. See Web Transaction macro on page 265.
Update - Click this to save any changes made to the form details. Delete - Click this to delete the selected form details.
4 Request Header In HTTP protocols, the client sends a request and associated options for response from the server. This request consists of a set of properties like User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322).
Name The attribute name.
macro icon to enter the new macro or Value The attribute value. Click edit the existing macros. See Web Transaction macro on page 265.
Add Click this to add a new request header. Update Click this to save any changes made to the request header. Delete Click this to delete the selected request header.
3 Title Match Page title can be recorded as part of the transaction file. As with Positive Content Match, the downloaded page is checked for the Title during playback. Title match can be used to validate rendered pages without manually insert content matches. To enable Title Match, select the checkbox on the recorder GUI. Content match validation is supported both by the Web Transaction Monitor as well as the Browser Playback feature.
Note
Alternatively, right-click in the browser section of the BMC ProactiveNet Web Capture screen to access the View Source feature. between newline characters are not copied. Do not copy the content from the HTML page directly. source (and not the HTML page), than typed manually.
Copy the desired content from the HTML source so that extra line feeds or in-
Content match is case-specific. So it is best if the content is copied from the HTML
International characters
You can insert international characters as content match strings.
Static Macro - Simplest of all macros. The value of the macro is statistically
ValueList Macro - Reads the value of the macro from the specified property file. It
uses the macro name as the name of the property and gets the value of that from the property file. Multiple values can be specified for the macro as semicolon (;) separated values in the property file. playback of the transaction.
Dynamic JavaScript Macro The value is obtained by executing the JavaScript. Dynamic Predefined Macro The value is obtained by executing a predefined script. Dynamic HTLM Macro You should be able to indicate variables which have to
be replaced dynamically during playback. Form data or hidden-form data, changed through JavaScript, session information, cookies, URLs, and other information may need to be replaced dynamically.
The Macro Input Dialog window is displayed. From the list of Type, select the type of the macro to be created. 2 Enter appropriate input details for the type of the macro you want to create. The fields displayed on the Macro Input Dialog window differ, depending on the type of macro.
STATIC Name Indicates the name of the macro and is mandatory. Type Indicates the type of the macro and is mandatory. Value Indicates value of the macro and is mandatory. Default Value Indicates the default value to be replaced. VALUELIST Name Indicates the name of the macro and is mandatory. Type Indicates the type of the macro and is mandatory. ValueList File Indicates the name of the file from which the value is to be
DYNAMIC_EXTERNALJS Name Indicates the name of the macro and is mandatory. Type Indicates the type of the macro and is mandatory. Enter JavaScript or Browse Indicates free-form editor to write java script
Name Indicates the name of the macro and is mandatory. Type Indicates the type of the macro and is mandatory. Select PreDefined Script Name From the drop-down menu, select the
mandatory. mandatory.
Step number - Indicates input parameters for the predefined scripts and is
3 Click OK to create a new macro. Web Transaction Macro name should not contain characters $$#$ as it is a reserved key word for the web transaction macro. The web transaction macro name field can contain any characters except in the sequence of $$#$.
Note
2 Select the macro to be edited and click Edit. Name and type fields are disabled in edit mode. 3 Click OK to save the changes made and exit.
2 Select the macro to be deleted. 3 Click Delete. 4 Click Yes in the confirmation message to delete the selected macro and exit.
Limitation
An already applied web transaction macro cannot be deleted; however, the web transaction macro can only be deleted if the defined web transaction macro is not applied to any field.
Usage scenarios
Static Macro
If you want to test the same application on different web servers, then instead of recording several similar transactions, you have to just provide the server IP addresses as web transaction macros. You can change the IP addresses easily. For example, The following are the steps of a recorded transaction: http://192.168.3.105/servlets/com.proactivenet.servlet.Login http://192.168.3.105/jsp/LayoutPage.jsp http://192.168.3.105/jsp/AlarmSummary.jsp If you want to test the same application running on different web servers, then you define a Static macro by name ServerMacro (see xml snippet below). The value of this macro is set to http://192.168.1.122. $$#$[ServerMacro]$$#$ indicates a variable, which has to be replaced by value of Macro ServerMacro. After replacing the values, the transaction is changed to the following steps: http://192.168.1.122/servlets/com.proactivenet.servlet.Login http://192.168.1.122/jsp/LayoutPage.jsp http://192.168.1.122/jsp/AlarmSummary.jsp Table 24: Web transaction file StaticMacro snippet
<MACRO NAME=ServerMacro TYPE=STATIC VALUE=http://192.168.1.122 DEFAULTVALUE=192.168.3.105></MACRO><STEP URL=$$#$[ServerMacro]$$#$/servlets/ com.proactivenet.servlet.Login></STEP><STEP URL=$$#$[ServerMacro]$$#$/jsp/ LayoutPage.jsp></STEP><STEP URL=$$#$[ServerMacro]$$#$/jsp/AlarmSummary.jsp></STEP>
ValueList macro
The transaction recorded maybe for an application, which the user wants to test for different login information. The user should be able to indicate different login information in the transaction file. Otherwise, the user has to record several similar transactions with just the login information changed. You can indicate the login information as ValueList macro in the transaction file and the Web transaction monitor can use different login information.
For example, in the xml snippet below, a ValueList macro by name Login is defined. The value for this macro is read from the property Login in the properties file /home1/user.list. It is then used to replace the login information in the form data. Table 25: Web transaction file ValueList macro snippet
<MACRO NAME=Login TYPE=VALUELIST SRC=/home1/user.list DEFAULTVALUE=admin></ MACRO><STEP><FORMDATA><INPUTDATA NAME=username VALUE=$$#$[Login]$$#$></FORMDATA></ STEP>
Dynamic Macro
In a transaction, there is currentDate as one of the form input data. When this form data is submitted, next page validates if the currentDate is same as todays date. If the validation fails, it throws up error page. In this case, you can use a Dynamic JavaScript macro. The macro is defined with a JavaScript that returns todays date. That macro can be used for form input data currentDate. This makes the transaction successful. For example, in the transaction file snippet below, a Dynamic JavaScript macro by name todayDate is defined. The value of this macro is a JavaScript, which returns todays date. The macro can be used in the form input data currentDate. Table 26: Web transaction file DynamicMacro snippet
<MACRO NAME="todayDate" TYPE="DYNAMIC_EXTERNALJS" VALUE="new Date ();"></MACRO><STEP ><FORMDATA> <INPUTDATA NAME="currentDate" VALUE="$$#$[todayDate]$$#$" TYPE="text" ENCRYPTED="FALSE" DOMSIGNATURE=""/></FORMDATA></STEP>
pn_getFromCookie(String cookieName)pn_getFromCookie(Strin g cookieName, int stepNum) pn_getFromHtmlDomPath(String domPath, String attributeName)pn_getFromHtmlDom Path(String domPath, String attributeName, int stepNum)
It is used to get the value dynamically from the downloaded HTML page DOM path. DOM path matches the HTML element. If attributeName is null, then the HTML elements value is considered.
AJAX
AJAX-enabled sites are not supported
Web sites that include Asychronous Javascript and XML (AJAX) content are not
supported.
Example: www.sonystyle.com
Files/Plug-ins
Web sites that download content are not supported
BMC ProactiveNet Web Capture tool does not support transactions that download or upload files such as MS Word documents, spreadsheets, presentation files, PDF files, and ASCII text files. For example: http://www.copyright.gov/legislation/dmca.pdf
Web sites with Plug-ins are not supported
The Web Capture tool does not support transactions that involve plug-ins such as Applets, Flash, SVG, and multimedia features. For example: www.ebay.com , www.macromedia.com (Flash)
Forms
Web sites that reset passwords before a POST are not supported
Some Web sites clear the password field in a form before doing a POST to the server. In such situations, the Web Capture tool does not record the password. Example: www.traderji.com
Flash-based Forms are not supported
This tool does not record data from Flash Forms. Example: Search form at www.macromedia.com
Form POST is not supported The Web Capture tool does not support pages, which do a POST of values from
The Web Capture tool fails to record the password value when the Password field
in a form is reset to an empty string or to a predefined default value before a POST. In such situations, playback and monitor creation fail.
This tool does not support forms that do not POST but redirect. Some pages do
not POST selected values, but use JavaScript redirection to load the required page. This event may not be recorded by the Web Capture tool. Example: www.hsbc.co.in
Form Action URLs with dynamic session IDs are not supported The monitor and the Playback tool do not support transactions that have dynamic
Frames
Web sites with Cross-scripting feature are not supported Due to cross-site scripting (XSS) limitation of Internet Explorer, Web sites that contain frames from a different domain (or a sub-domain) are not recorded. For example: www.federaldaily.com
Images
ImageMaps are not supported
The Web Capture tool does not support Web sites with ImageMaps. (An Image Map is a list of coordinates relating to a specific image, created in order to hyperlink areas of the image to various destinations) Example: http://www.ihip.com/
Image tags with OnClick eventhandlers are not supported
The Web Capture tool does not record the click event, when the action URL of a form is manipulated and a POST happens in the OnClick eventhandler of Image tags. Example: www.americanairlines.com
Internationalization
URLs with internationalized Domain Names are not supported
The Web Transaction monitor does not support URLs with Internationalized Domain Names (IDN). Example: http://www.nestle.com/All_About/All+About+Nestl.htm
Internationalization is not supported in the Attribute pages of the Operations
Console
Attribute pages of the Operations Console do not display Non-English Unicode characters correctly. For more information on Internationalization support, refer Internationalization Support topic.
Javascript
Javascript redirection is not supported
The Web Capture tool does not record JavaScript redirection in Web pages.
Suppressing JavaScript Error window
While recording and playing back a transaction, the Web Capture tool does not suppress JavaScript Error windows that may appear. Example: www.perbio.com
Transactions with DOM object manipulation not supported
The Web Capture tool does not support transactions wherein the DOM object of the page is manipulated explicitly in JavaScript functions. Example: www.mappoint.msn.com
Log files
Unicode characters not displayed correctly Web Recorder log files and log files generated by the Validate tool do not display all Unicode characters correctly. Non-English characters may be displayed as '?' or other symbols.
Miscellaneous
Pop-up windows with the Close button/hyperlink are not supported
The Web Capture Tool does not close a pop-up window when the Close button or hyperlink on it is clicked. Workaround: Close the pop-up window manually.
Monitor plays back blocked pop-up windows
The Web Transaction monitor does not suppress pop-up windows even if transactions are recorded without selecting the Allow Popups option.
Web sites that accept inputs from soft keyboard not supported
Transactions that require you to specify inputs using a soft keyboard (an on screen keyboard that duplicates the hardware keyboard. One uses the mouse pointer to choose which key/characters to enter) are not recorded. Example: www.citibank.co.in
URLs with dynamic session IDs are not supported
The monitor and Playback tool do not support transactions that have dynamic session ID values as part of the URL. Example: www.lexus.com
Dynamic Page Titles are not supported Page in a site where the title is frequently altered fails in Title Match. Such
Some Web servers change page titles dynamically. In such situations, the
Playback tool and Web Transaction monitors fail to match the recorded Title. Workaround: Record the transaction without Title Match or edit the transaction file and delete the title of the particular step.
Playback
Persistent Cookies not supported
BMC ProactiveNet Web Capture tool does not support persistent cookies while playing back a transaction file (GUI mode).
Digest Authentication information not supported
While playing back a transaction (GUI mode), access information for Digest type authentication must be entered manually.
NTLM Authentication
If user name or password with special characters such as '@' or domain name is specified as NTLM authentication information for a transaction while recording, then the same information must be entered manually during GUI playback
Support for Transactions recorded using earlier versions of BMC ProactiveNet
BMC ProactiveNet Administration Console does not support playback for transactions recorded using earlier versions of BMC ProactiveNet that are saved on BMC ProactiveNet Server (upgrade setups). Only those transactions that are locally available on the BMC ProactiveNet Administration Console are played back.
11
Working with event management policies
This chapter describes the components of event management policies and explains how to implement them. It contains the following topics:
3 Save and close the ix.properties file. 4 Restart the Administration Console. The Infrastructure Management node is displayed in the Event Management Policies and the Dynamic Data Editor tabs.
277
Definition specifies a minimum number of duplicate events that must occur within a specific period of time before the cell accepts the event For events allowed to pass through to the cell, the event severity can be escalated or de-escalated a relative number of levels or set to a specific level. If the event occurrence rate falls below a specified level, the cell can take action against the event, such as changing the event to closed or acknowledged status.
changes an event status to closed after a specified period of time elapses Specifies which events the receiving cell should classify as unimportant and therefore not process . The events are logged for reporting purposes. A Component Based Blackout event management policy might specify that the cell ignore events generated from a component or device based on component selection criteria for this policy.
It is also possible to define custom policy types that allow you to do specialized event processing not supported by the out-of-the-box policy types. For more information about creating user-defined policy types, see Creating and using user-defined policies on page 405.
To use these out-of-the-box dynamic enrichment policies, you must enable the policy, import useful data into the sample .csv files and then import the data into the cell using the policy mechanism. For instructions on creating dynamic enrichment policies, see Creating a new dynamic enrichment event management policy on page 357. Table 29 on page 280 lists the out-of-the-box policies and indicates whether or not each out-of-the-box policy is enabled by default.
Table 29: Out-of-the-box policies Policy type Closure Policy name PATROL_Portal_Closure_on_ OK_Events Adapter_Start_Stop_Closure Client_Stop_Closes_Start JSERVERCellConnectionStatu sPolicy Close_Open_Alarms RATECellConnectionStatusPol icy Component Based Enrichment Dynamic Blackout Sample_Component_Based_ Enrichment_Policy Dynamic_Blackout enriches events by filling selected event slots with the slot values of the component type blacks out events that meet a specified criteria during a specified time period Description closes previous Portal events for the same managed object closes previous events for the same adapter instance Client Stop events close Client Start events and then close themselves Enabled? Yes Yes Yes Yes Yes Yes No
No
Policy type
Policy name
Description appends the location of a server to an event appends contact information for a server administrator to an event. For example, contact information may include the name of the administrator for that server and his or her telephone number.
Enabled? No No
replaces the text of existing PATROL No event messages with messages that can be more easily understood by operators No
Sample_Intelligent_Incident_S sample policy for creating Intelligent ervice_Policy Incidents for Remedy Helpdesk
Event_Propagation_To_Remed propagates events to Remedy Helpdesk No y_Help_Desk Event_Reporting_Propagation propagates events to the Portal for event reporting No No Yes No No
Recurrence
Apache_Login_Failed_Repeats handles repeating Apache Login Failed events Patrol_Portal_DeDup_Policy handles repeating Portal events for the same managed object suppresses Blackout events suppresses events that meet a specified criteria during a specified time period for specified components
Blackout_Suppression Component_Based_Blackout
For instructions on using these out-of-the-box policies, see Creating new standard event management policies on page 307 and Creating a new dynamic enrichment event management policy on page 357.
Note The BMC Impact Integration for PATROL product can detect duplicate events and can correlate events that come from the same origin. The rules for detecting duplicated events are located in the MCELL_HOME /etc/ cellName /kb/rules/ bii4p.mrl file. See the patrol_duplicates and the correlate alarm_and_ra definitions. You can use the new patrol_duplicates rule to delete duplicate events and the correlate alarm_and_ra rule to close a current event after a subsequent event arrives from the same origin. BMC Impact Integration for PATROL does not provide a policy for these events.
281
Each event management policy defines selection criteria that is applied to incoming events to determine which events are processed. A timeframe determines when the policy is active or inactive. The evaluation order determines which policies are implemented first if there is a conflict. In addition to these components, dynamic enrichment policies also require a dynamic enrichment source file, for more information on how dynamic enrichment policies interact with dynamic enrichment source files, see How dynamic enrichment event management policies work on page 287.
Event selectors
An event selector is the component of an event management policy that selects one or more events to which an event management policy applies. Rather than specifying a particular event to process, as a rule does, a selector specifies a list of event selection criteria (also called an Event Condition Formula (ECF)). When an incoming event meets any of the specified event selection criteria, the cell applies the associated event management policy to the event. For more information, see Event selection criteria on page 285. Table 30 on page 283 lists the out-of-the-box event selectors.
Table 30: Out-of-the-box event selectors Event selector Group Default Default Default Default Default IBRSD IBRSD None None None None None None PPM PPM PPM Event selector Adapter_Start_Stop Apache_Login_Failed Client Stop PATROL_Portal_Events PATROL_Portal_OK_Events All_Critical_Events Component_Change All_Events BPM_RSM_STATE_CHANGE BPM_STATE_CHANGE Blackout_Events PATROL_Event PATROL_Events Events selected Adapter starting and stopping events Apache web server login failed events client stop events events coming from PATROL Portal OK severity events coming from PATROL Portal critical events propagated to the Integration with BMC Remedy Service Desk service model component change events from BMC Service Impact Management all events state change events coming from the BMC Portal Remote Service Monitor state change events coming from the BMC Performance Manager all blacked-out events not used events coming from PATROL agents
JSERVERCellConnectionStatusSelect events coming from the Jserver or RATECellConnectionStatusSelector OK_Alarms RATE events events with a status of OK
You can create custom event selectors. For information about creating event selectors, see How to create an event selector and specify event selection criteria on page 297.
Chapter 11 Working with event management policies 283
Note The maximum number of selectors that can be displayed in the Event Management Policies view is 2500. The view will display 1024 selectors if you set the query_size parameter in the %BMC_PROACTIVENET_HOME%\admin\etc\ix.properties file to less than 100 (< 100) or greater than 2500 (> 2500).
Event selectors do not have to belong to a group. Event selectors that do not belong to a group are displayed directly under the By Selector subtree.
Timeframes
Timeframes allow you to specify when the event management policy is active. For example, during scheduled database maintenance periods, you might want to activate an event suppression policy for maintenance-related events to reduce unnecessary event accumulation. For events to be impacted by a timeframe setting, the timeframe must be active for the entire time that is specified in the policy.
Example An escalation policy is defined to escalate an event to priority level 1 (escalated one level) after 10 minutes. Events are generated. No event will be escalated for at least 10 minutes. Five minutes after the policy is enabled, the policy is disabled. Even though the policy was active at the beginning of the 10 minute period, no event is impacted by the policy because it is not active at the end of the 10 minutes. An escalation policy is defined to escalate an event priority after 30 minutes with an active timeframe from 4:00 P.M. to 5:00 P.M. At 4:45 P.M. Events are generated. The active time period expires at 5:00 P.M. Events generated at 4:45 P.M. are not impacted by the policy because the timeframe is not active at 5:15 P.M.
Table 31 on page 286 describes the types of timeframes you can use in an event management policy.
Chapter 11 Working with event management policies 285
Table 31: Timeframe types and descriptions Type local timeframe Icon Description Local timeframes are used for event policies only. They are maintained in the cell and are only visible to a single cell. You create local timeframes from the Event Management Policies tab of the BMC ProactiveNet Administration Console, as described in How to create a new local timeframe on page 289.
a Unlike other event policies, cells evaluate threshold event policies in two distinct phasesthe first phase
for the hold threshold and the second phase for the pass through threshold.
WARNING Although event policies of different types are evaluated according to their associated rule phase, event policies of the same type do not have an evaluation order. For example, if event selectors for two event policies of the same type select the same event, the cell evaluates the event according to one event management policy and ignores the other event management policy. To prevent omission of event management policy evaluation, you must create mutually exclusive event selection criteria for two event policies of the same type. With the exception of dynamic blackout, dynamic enrichment, notification and propagation event policies, two or more policies of the same type should not execute against the same event. In the case of exceptional event policies, the cell evaluates all event policies of those four types, even if their selectors reference the same event.
287
file, so that BMC ProactiveNet can access the information. The recommended format to export the data to is a .csv file. BMC provides some sample policies and associated enrichment data sources in the %BMC_PROACTIVENET_HOME% \admin\etc\samples directory.
It is critical that the policy definition and the data enrichment source file contain the exact same number of match fields and output fields in the same order. If the match fields and output fields in the enrichment file and the policy do not match, the policy will not run. For example, if you are using the contact.csv file that is included with the product, you must select the Host Class, Host, Object Class, and Object slots as the Match Fields and the Service and Owner slots as the Output Fields to correspond to the slots in the contact.csv file. Wildcards are supported for pattern matching which enables for more generic policy rules to be written.
WARNING
TextTranslation.cs v
PATROL_Message_Translation
Dynamic_Blackout Dynamic_Enrichment_Policy
For information on creating and using dynamic enrichment source files, see How to create and edit a dynamic enrichment source file on page 292.
289
Note
The Timeframes window is displayed, as shown in Figure 37 on page 290. Figure 37: Timeframes
2 From the Timeframes toolbar, click the New Timeframe button. 3 In the Timeframe New dialog box, enter or modify the information described in Table 34 on page 291.
4 To create additional timeframes, click Save and repeat this procedure starting with step 2. 5 To close the editor, click Close.
291
3 Expand the Data section, and then expand the Cell Data section. 4 Select Notification Service. The available notification services are listed in the Notification Service tab in the right pane of the Administration View. 5 Click the Add data instance icon .
A New notification service tab is displayed. 6 On the New tab, in the Name field, enter a unique name for the service. 7 In the Type field, choose one of the following notification service types:
Commandthe notification service is implemented using a command or script Gatewaya gateway to an external notification service will be used
8 In the Service field, enter the appropriate information based on the notification service type:
Commandenter the command or script used to initiate notification. For
example, the script for the default BASIC_EMAIL notification service is mc_sendmail.
Note If the notification service will be executed using a script, the script must be located in the kb/bin/ platform directory of the cell Knowledge Base.
Gatewayenter the name of the destination gateway. This gateway must be
9 [Optional.] In the available_targets field, within the square brackets enter a commaseparated list of predefined users that you want to receive the notification. The list must be known to the notification service. If no predefined list exists, any target string may be entered (such as an email address). 10 Click OK.
Dynamic enrichment source files are not required for standard event management policies. You only need a dynamic enrichment source file if you are creating a dynamic enrichment policy. Before you enable a dynamic enrichment policy, you must import or enter the data that you want to use for enrichment into a data file. You can import the enrichment data into any delimited flat file; however, BMC Software recommends importing the data into a .csv file and using Microsoft Excel to view and manipulate the contents of the file. The spreadsheet format of Microsoft Excel makes it easier to view and manipulate the information in the file. You can use the sample data enrichment files provided with the product as a guide to set up your own data enrichment source files. The sample files are located in the %BMC_PROACTIVENET_HOME%\admin\etc\samples directory. For a list of sample files provided with the product, see Sample dynamic enrichment source files on page 288.
Note
WARNING
293
The location for hosts Texan1 and Texan2 is listed as Houston. The location for all hosts beginning with Cowboy (for example, Cowboy1, CowboySmith, CowboyAikman) is listed as Dallas. 3 Save and close the file. 4 The data enrichment source must be imported into the policy each time you modify the .csv file. For instructions on importing dynamic enrichment data source, see Importing dynamic enrichment source on page 385.
Using the sample PATROL messaging text translation dynamic enrichment source file
The sample PATROL messaging text translation data enrichment source file, TextTranslation.csv, provided in the %BMC_PROACTIVENET_HOME%\admin \etc\samples directory is prepopulated with over two hundred translations for messages from the following Knowledge Modules:
BMC SQL-BackTrack NetWorker OBSI Module PATROL KM for CONTROL-M PATROL KM for UNIX and Linux PATROL KM for Microsoft Windows Servers PATROL KM for Netware PATROL KM for Sybase
PATROL KM for Internet Server Manager PATROL KM for Oracle BMC Performance Manager for Microsoft Windows Terminal Services
If you are integrated with PATROL, you can gain instant value by enabling this policy and importing the data from TextTranslation.csv into the cell as described in Enabling a dynamic enrichment PATROL message text translation policy on page 381. This policy enables you to reword ambiguous event messages into messages more easily understood by the IT operators handling the events in the BMC ProactiveNet Operations Console. The sample policy, TextTranslation.csv, will translate PATROL event messages coming from either BMC Impact Integration for PATROL 3 or BMC Impact Integration for PATROL 7.
Overview of the PATROL messaging text translation dynamic enrichment source file
The following figure shows some sample rows included in the TextTranslation.csv file. Figure 39: Sample rows in the TextTranslation.csv file
The first three columns are match fields for incoming events. The first column contains the object class or application class of the KM. The second column contains the parameter. The third column contains the origin class. The last column is the output field or the message that should be displayed when an event matching the criteria in the first three columns is received. For example, in the first row, the cell will look for an event coming from the CPUCpuUtil parameter of the CPU application class. When the cell receives that event, it will display the message:
CPU Utilisation is at 97%
295
or whatever number the CPU utilization percentage is at that time. Many of the messages in the sample file contain slots that will be populated with values from the parameter. For information on the syntax for using slots in a text message see, Editing the PATROL messaging text translation dynamic enrichment source file on page 296
Editing the PATROL messaging text translation dynamic enrichment source file
You can also add to and edit the TextTranslation.csv file, if required. For example, you might want to translate the messages included in the file into your native language. Or, you might want to include messages related to a KM that is not already included in the file. One of the most powerful features of the text translation file is the ability to include CORE_EVENT base event class slots that will allow you to dynamically populate the message with information from parameters or other components. This feature enables you to create messages that are very meaningful. Figure 39 on page 295 shows some actual messages in the TextTranslation.csv file that include variables. For example, Figure 40: Variable syntax example
FILESYSTEM FSCapacity Filesystem %mc_object% is %mc_parameter_value%\% full
This message includes the %mc_object% and %mc_parameter_value% variables. This syntax in the enrichment source file enables you to substitute the value of the slot you have referenced into the event message. To insert a slot value into a message, use the following syntax:
Message text %<slot_name>% message text
If you need to include a % sign in the actual message text, you must precede the % character with a back slash (\). For example, in Figure 40 on page 296 the desired text message includes a % character. The syntax for the message is
%mc_parameter_value%\% full.
If the value of mc_object is D: and the value of mc_parameter is 97 the reworded message would be:
Filesystem D: is 97% full.
For a list of CORE_EVENT base event class slots that you can use in text messages, see BMC Knowledge Base Development Reference Manual.
296 BMC ProactiveNet Administrator Guide
define a timeframe as described in How to create a new local timeframe on page 289. described in How to create and edit a dynamic enrichment source file on page 292.
[For dynamic enrichment policies only.] Create a data enrichment source file as
cell group node. When the Add Event Selector button in the toolbar becomes active, this is an indication that valid node is selected. .
On the Administration View toolbar, click the Add Event Selector button
297
The Selector Details tab, shown in Figure 41 on page 298, is displayed. Figure 41: Selector Details tab
4 In the Selector Name field, type the event selector name. 5 In the Group field, type an event selector group name. The event selector that you create in the next step will belong to the event selector group that you enter. If you enter a name of an event selector group that does not exist, that group will be created.
To the right of the Base Event Class field, click the ellipses button to display an event class chooser dialog box (shown in Figure 42 on page 299) from which to choose the event class. Figure 42: Class Chooser dialog box
7 Select an event class from the tree and click OK to accept the class. For more information about event classes, see the BMC Knowledge Base Development Reference Guide. 8 In the Description field, type an optional description for the event selector. 9 Click Add to add event selection criteria to this event selector. The Add Event Criteria editor is displayed.
Chapter 11 Working with event management policies 299
10 From the Add Event Criteria editor, type a description for the event selection criteria in the Description slot. 11 In the Event Class field, use one of the following methods to select an event class on which to base the event selection criteria:
Accept the default event class in the Event Class field. Change the class by clicking the browse button. The Class Chooser dialog box
You cannot change the event class specified in an ECF to any class that is not at the same level or below the event class already specified in the ECF. If the ECF contains slots in the current class that are not in the new class, you cannot change to the new class, even when it occurs in the hierarchy rooted in the base event class. 12 In the Selection Definition section, shown in Figure 43 on page 300, create an expression that is used to determine whether an event of the selected class is processed by the policy by choosing a Slot, Operation, and Value. Figure 43: Selection Definition section of the Add Event Criteria editor
Note
The example expression in Figure 44 on page 300 tests events for Windows
security messages containing logon and logoff messages. You might use this expression as part of an event selector for implementation in an event blackout policy that hides these security events from display but maintains their history.
For a list and definitions of EVENT slots available for selection, see the event and
data classes appendix of the BMC Knowledge Base Development Reference Guide. For a list and definitions of the operators available for each slot, see the section on operators in the Master Rule Language (MRL) appendix of the BMC Knowledge Base Development Reference Guide.
Alias formulas
13 Click OK to save the expression and close the Add Event Criteria editor. The event selection criteria is displayed in the Event Selection Criteria section of the Selector Details tab, as shown in Figure 45 on page 301. Figure 45: Completed event selection criteria in Selector Details tab
14 To add more event selection criteria, click Add and repeat List item. on page 300 through List item. on page 301. 15 Click OK to save the event selector and its event selector group.
Alias formulas
You can add and edit alias formulas provided you
belong to the Full Access or Service Administrators group have at least one cell connection to the BMC ProactiveNet Server
Several default alias formulas are provided out-of-the-box. For example, default aliases for the BMC PATROL product are offered for PATROL events of class PATROL_EV. These aliases can be used by the BMC Impact Integration for PATROL product.
301
Alias formulas
The Alias Formulas Editor window is displayed. It lists the connected cells in
the Cell list. It displays all current alias formulas for the selected cell in the list, as shown in Figure 46 on page 302. Figure 46: Alias Formulas Editor
The menu bar at the top of the window contains the following icons:
Icon Purpose to edit a selected alias formula to create a new alias formula to copy an existing alias formula to use as a template for creating a new alias formula to delete a selected alias formula to copy an existing alias formula to paste an alias formula
Alias formulas
2 In the Cell list, select the cell you want to work on. 3 To add a new alias formula, click the New Alias Formula icon.
The Add Alias Formula dialog box is opened.
4 In the Formula Name text box, enter a name for the alias formula. 5 Under the Event Match Criteria label, in the Event Class box, select an event class from the list.
When an event arrives at the cell, its event class has to match the event class or a
subclass of the event class before the alias formula is even considered.
6 (optional) In the Match Attributes box, choose attributes and enter values to refine which events (within the event class) will generate aliases.
For each attribute you choose, select one of the conditional operators, as
described in Table 35 on page 304, and enter a value in the text box to further define the events that are used to generate aliases using this formula.
303
Alias formulas
Table 35: Description of conditional operators Conditional operators Description anything the attribute can contain any value and is not used as a selection criteria If every attribute listed has anything that means that every incoming event that belongs to the event class will pass through alias formula processing contains has prefix has suffix equals the characters you enter in the text box occur someplace in the value the value starts with the characters you enter in the text box the value ends with the characters you enter in the text box the value exactly matches the characters you enter in the text box
If you use more than one attribute, each condition must test true (the Boolean operator between the selection criteria phrases is AND) before the alias formula process is performed. For example, in Figure 48 on page 304, the search phrase would read: Hostname contains SALLOG and IP address equals 555.22.19.105. Both conditions must be true for the event to be selected for alias processing. Figure 48: Example of match attributes
7 In the Alias Formula area, use the Attribute, Text, and Function buttons in any order and as many times as needed to build the formula: a To insert an attribute in the formula, click the Attribute button. The attributes shown are those that belong to the event class you selected in the Event Definition area. When an attribute is selected, the control shows the attribute name, and the preview area is updated to show the syntax of the formula as it currently exists.
Alias formulas
Tip If your formula for a configuration item contains the mc_host slot with a host name value, then the mc_host slot of the matching event definition should also contain the host name value, not the IP address, of the configuration item. For example, if you assign the mc_host slot in your formula the value mycomputer.abc.com, then the mc_host slot of the incoming event should contain the same host name value, not the IP address. You can check with your system administrator for the correct Domain Name System (DNS) resolution if the object represented by the configuration item experiences host name resolution errors.
b To insert literal text (for example, a period, semi-colon, the word Oracle), click on the Text button. In the text box, type the literal text that you want in the alias formula. Literal text appears in the first part of the alias formula with data type definitions. c To insert a function that defines the data type and an expression in the formula, click on the Function button. Type the function and choose the data type. For a list of functions you can use, see BMC Knowledge Base Development Reference Guide . d (optional) To change the order of the elements in the alias formula, select the part of the formula you want to move and click the Move arrow button as appropriate. e (optional) To delete one of the elements in the alias formula, select the part of the formula you want to delete and click the Delete button. 8 When the alias formula is complete, click Save.
305
Alias formulas
Note
define a timeframe as described in How to create a new local timeframe on page 289. to create an event selector and specify event selection criteria on page 297.
Define an event selector and specify event selection criteria as described in How
Table 36 on page 307 lists each standard event management policy type and the page number of the procedure for each type.
Table 36: Standard event management policy types and procedures To create this event policy... Blackout Component Based Enrichment Closure Correlation Enrichment Escalation Notification Propagation Recurrence Suppression Threshold Timeout Component Based Blackout See... To create new a standard blackout policy on page 309 To create a new component based enrichment policy on page 313 To create a new closure policy on page 322 To create a new correlation policy on page 325 To create an enrichment policy on page 329 To create an escalation policy on page 334 To create a new notification policy on page 339 To create a new propagation policy on page 342 To create a new recurrence policy on page 345 To create a new suppression policy on page 348 To create a new threshold policy on page 350 To create a new timeout policy on page 354 To create a new component based blackout policy on page 318
307
Tip
You can schedule the downtime period and the event management policy at separate or overlapping time periods. The following matrix outlines the interrelationship among the Scheduled Down Time, managing data collection, and the event management blackout policy features. It focuses on the impact on internal and external events, event views, and event rules. Table 37: Relationship among scheduled downtime, managing data collection, and blackout policy
Scheduled downtime/ Managing data collection On or Off? On On Off Off Internal events generated? Yes Yes No No External Blackout events policy for generated? monitored events? Yes Yes Yes Yes True False True False Events displayed in Event View Event rule triggered?
external only
internal and external events internal and external only external events only only external events only external only extermal only
309
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK. The Blackout Policy Details tab is displayed in the details pane of the Administration View as shown in Figure 49 on page 310. Figure 49: Blackout Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description field, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active. You would choose this option rarely, only under special circumstances.
The Active Timeframes and Not Active Timeframes selections are shown, as shown in Figure 50 on page 311. Figure 50: Policy Activation Timeframe panel
b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
311
Note You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period.
9 When specifying the time frames, you can indicate how you want to handle blackout events at the start, during, and at the end of the timeframe schedule. The actions under each timeframe period are mutually exclusive and are described in Table 38 on page 312. During the processing phase, the blackout event policy evaluates each event for a match based on its selector only once, when it arrives at the cell. To maintain adequate system performance, the blackout policy does not evaluate events at the start and the end of every active time frame. Table 38: Actions for blackout events
Timeframe period At start of Blackout Window Action Do not change status of existing events This default option leaves all existing events in their current status. Change status of existing open events to blackout You would choose this option to reclassify open events, effectively removing unneeded statuses that would no longer make sense during the blackout time frame. During Blackout Window
Keep incoming events and set their status to blackout This default option converts all incoming matching events to blackout status. Discard incoming events This option filters out all incoming blacked-out events so that you do not have to see them.
Action Leave blacked-out events in blackout status This default option maintains the blackout status of the events received during the blackout window and those events whose status was changed to blackout at the start of the blackout window. Change existing blacked-out events to open status This option changes all events in blackout status to open status. It does not impact events in closed status. Choosing this option lets you see events which arrived during the blackout time frame that are still valid.
Note Blackout event actions are applied to events based on their policy selectors when the events first arrive at the cell. If you modify an event after it has been processed by the cell so that it no longer matches its policy selector, the blackout event action is still applied to the event based on the initial evaluation.
10 Click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK. The event selector controls which events are processed by the policy and, consequently, which event slots are displayed in the Event fields list.
The Component Based Enrichment Policy Details tab is displayed in the details pane of the Administration View as shown in Figure 51 on page 315. Figure 51: Component Based Enrichment Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description field, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 Assign a numerical value to the policy in the Execution Order combo box. The numerical value indicates the order in which policies are automatically executed. Policies are executed in ascending chronological order. A policy with the lowest numerical value is executed first while the policy with the highest numerical value is executed last. During the execution phase, policies with higher numerical values always overwrite the preceding policies with lower numerical values.
315
Example You have defined four component based enrichment policies and have assigned each a unique numerical value (1, 2, 3, or 4) in the Execution Order combo box. The policy assigned the value 1 is executed first, followed in ascending numerical order by policies assigned the values 2, 3, and 4. During the execution sequence, the policy with the value 2 overwrites the policy with the value 1; the policy with value 3 overwrites the policy with value 2; and the policy with value 4 overwrites the policy with value 3.
You should assign higher numerical values to policies that you want to execute last and lower values to policies that you want to execute first. 9 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 10 In the Component Based Event Enrichment Details tab, assign the component slots to the matching event slots in the Match the Component and Event Slots section. Consider these guidelines before you make the assignments:
Note
The list of event slots is dynamic insofar as it depends on the base event class
you chose in the selector. The list that you see always contains a subset of the CORE_EVENT class. It also contains any additional slot or slots derived from the subclass you specified as the base event class. BMC_BaseElement class.
The list of component slots is static. The component slots are derived from the
You can view and edit a list of excluded event and component slots in the
%BMC_PROACTIVENET_HOME%\pronto\data\ix \configurationItemPolicies\
configurationItemEnrichment.slotFiltering.properties file. You can specify event and component slots to be excluded in the appropriate field: excluded.event.slots and excluded component.slots. Add or update the slots using a comma-separated list. After updating and saving the configurationItemEnrichment.slotFiltering.properties file, restart the jserver by entering the following commands: pw p e jserver pw p s jserver
The component slot value overwrites any current value in the matching event
slot.
You must match slots of similar types: STRING with STRING, INTEGER with
The table does not support the assignment of LIST or LIST OF slots. To make the assignment, select a slot name in the Event fields column and, using the arrow button, move it to the Assignment Table, where you match it with a slot in the Component fields column. 11 Click OK. BMC ProactiveNet Administration Console saves the defined component based enrichment policy, and it is displayed in the list of event policies for the selected event selector.
Note
317
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
The Component Based Blackout policy Details tab is displayed as shown in Figure 52 on page 319. Figure 52: Component Based Blackout Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description field, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 Edit the component selection criteria by clicking Edit Component Selector to open the Edit Criteria dialog box. You can devise component selector criteria by specifying the component class, a slot within the class, and a corresponding slot value. You can include multiple conditions by using the AND operator.
Chapter 11 Working with event management policies 319
9 Enter the component selection criteria, and click OK. 10 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active. You would choose this option rarely, only under special circumstances.
The Active Timeframes and Not Active Timeframes selections are shown, as shown in Figure 53 on page 320. Figure 53: Policy Activation Timeframe panel
b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
Note You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period.
11 When specifying the time frames, you can indicate how you want to handle blackout events at the start, during, and at the end of the timeframe schedule. The actions under each timeframe period are mutually exclusive and are described in Table 39 on page 321. During the processing phase, the blackout event policy evaluates each event for a match based on its selector only once, when it arrives at the cell. To maintain adequate system performance, the blackout policy does not evaluate events at the start and the end of every active time frame.
Table 39: Actions for blackout events Timeframe period At start of Blackout Window Action Do not change status of existing events This default option leaves all existing events in their current status. Change status of existing open events to blackout You would choose this option to reclassify open events, effectively removing unneeded statuses that would no longer make sense during the blackout time frame. During Blackout Window
Keep incoming events and set their status to blackout This default option converts all incoming matching events to blackout status. Discard incoming events This option filters out all incoming blacked-out events so that you do not have to see them.
321
Action Leave blacked-out events in blackout status This default option maintains the blackout status of the events received during the blackout window and those events whose status was changed to blackout at the start of the blackout window. Change existing blacked-out events to open status This option changes all events in blackout status to open status. It does not impact events in closed status. Choosing this option lets you see events which arrived during the blackout time frame that are still valid.
Blackout event actions are applied to events based on their policy selectors when the events first arrive at the cell. If you modify an event after it has been processed by the cell so that it no longer matches its policy selector, the blackout event action is still applied to the event based on the initial evaluation. 12 Click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
Note
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK. The Closure Policy Details tab is displayed in the details pane of the Administration View as shown in Figure 54 on page 323. Figure 54: Closure Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces.
Chapter 11 Working with event management policies 323
6 In the Description field, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 9 Click Edit Event Criteria. The Add Event Criteria window is displayed. 10 In the Add Event Criteria window, specify event selection criteria for the event type that you want to close and click OK. 11 To close only matching events that occur within a certain timeframe, check the Close Events with Age Less Than check box and specify an amount of time. If the Close Events with Age Less Than check box is not checked, there is no limit on the time between the closed event and the closing event.
Note
12 To suppress (drop) the closing event, check the Suppress the Closing Event check box. In this context, the closing event is the event that matches the selector criteria and that closes the previously received events, which are identified in the Events to Close section. For example, a client-stop event can be chosen to close a clientstart event. When you choose to suppress the closing event, you are instructing the system to drop the event that matches the selector and that closes the previously received events in the Events to Close section. In the example, the client-stop event, after closing the client-start event, would then be dropped. 13 To save the completed event closure policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the specified event selector.
325
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
The Correlation Policy Details tab is displayed in the details pane of the Administration View, as shown in Figure 55 on page 327. Figure 55: Correlation Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 To enable the event management policy immediately, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later.
Chapter 11 Working with event management policies 327
7 In the Description field, type a description of the event management policy. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes lists are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 9 Complete a separate Cause Event tab as appropriate for each cause event that you want to define. Table 40 on page 328 describes each of the controls in the Cause Event tabs.
Table 40: Cause Event tab controls Field name Enable check box Edit Event Criteria button Correlation Timespan check box Description Select this check box to relate the cause events to the effect events; this information is stored in the cell. Click this button to specify the selection criteria for the cause event. Select this check box and enter a time limit within which the cause event must occur to produce the effect event.
Note
Description Choose one of the following radio buttons to specify the circumstances under which the effect event will be closed: Upon Correlationas soon as events are associated (cause and effect), the effect event is closed On Cause Event Closurewhen the cause event closes, the effect event is closed also On Its Ownclosing the cause event has no consequence to the effect event
Escalate Cause Event check box De-escalate Effect Event check box
select this check box to escalate the cause event to the specified priority level select this check box to de-escalate the effect event
10 To save the completed event correlation policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
329
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
The Enrichment Policy Details tab is displayed in the details pane as shown in Figure 56 on page 331. Figure 56: Enrichment Policy Details tab
5 In the Description field, type a description of the event management policy. 6 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 7 In the Policy Activation Timeframes section, define the periods of time that the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
331
Timeframes.
The Active Timeframes and Not Active Timeframes lists are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 8 Enable the following check boxes as necessary to assign appropriate settings:
Event Prioritythe relative priority to assign to the event (1 is a high priority) Event Categorythe classification to assign to the event; categories include AVAILABILITY_MANAGEMENT CAPACITY_MANAGEMENT CHANGE_MANAGEMENT CONFIGURATION_MANAGEMENT FINANCIAL_MANAGEMENT INCIDENT_MANAGEMENT OPERATIONS_MANAGEMENT PROBLEM_MANAGEMENT RELEASE_MANAGEMENT SECURITY_MANAGEMENT SERVICE_CONTONUITY_MANAGEMENT SERVICE_DESK_MANAGEMENT
Note
SLA_MANAGEMENT Event Severitythe severity to assign to the event Location to Setthe physical location of the object, such as a city Services to Setthe service that the event is associated with
9 In the Message Text Format box, define the message slot enrichment for the event as follows: a From the list of available event slots in the Event Slot box, select an event slot to which to add enrichment information and click Insert. b To insert a a slot value into the message, either type the slot name surrounded by % characters or select the slot name from the Event Slot list and click Insert. The box is a standard text box. You can position the cursor and type or insert text and slot references in any order. The Event Slot list and Insert button are provided as a convenience so you do not have to remember the valid slot names. The resulting string of characters in the Message Text Format box, %<slot name>%, whether typed or inserted, is used as a template to create the message (msg slot) for the event. Repeat steps these steps to add more enrichment information to the event slot, if necessary. The hidden and list of slots are not available for message enrichment. To avoid unpredictable results when adding a text message, use no more than one set of quotation marks. 10 To save the completed event enrichment policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector. The enrichment policy is ineffective when an event is updated by the RATE process.
Note
Note
333
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
The Escalation Policy Details tab is displayed in the details pane of the Administration View, as shown in Figure 57 on page 335. Figure 57: Escalation Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description field, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later.
335
8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes lists are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 9 In the Time Escalation section, shown in Figure 58 on page 337, use the Timespan Before Priority is Escalated selectors to enter the number of a specified period of time that must elapse before an event is escalated. The default time period is seconds, but this time period can be changed to minutes, hours, or days by selecting one of these time periods from the drop list.
Note
Note You can set Time Escalation or Rate of Event Arrival, or both. To set only one, leave the fields of the other set to zero.
Figure 58: Time Escalation Controls
10 Choose one of the following radio buttons to determine how the priority of the event will be escalated after the specified time has elapsed:
Levels to Escalate/De-escalate Priority ByChoose this radio button to
escalate or de-escalate the event by a specified number of levels after the time period specified by the Timespan Before Priority is Escalated selector has elapsed. Enter the number of levels that the event is to be escalated. specified priority level after the time period specified by the Timespan Before Priority is Escalated selector has elapsed. Choose the priority level from the drop list.
Set Priority to This ValueChoose this radio button to set the event to a
11 (optional) To prevent the event from being escalated after it has been acknowledged, select the Do not Escalate if Acknowledged check box. 12 (optional) To prevent the event from being escalated after it has been assigned, select the Do not Escalate if Assigned check box. 13 In the Rate of Event Arrival section, shown in Figure 59 on page 338, in the Number of Events Needed for Escalation selector, enter the number of events that must occur before the event is escalated.
337
Note You can set Time Escalation or Rate of Event Arrival or both. To set only one, leave the fields of the other set to zero.
Figure 59: Rate of Event Arrival Controls
14 In the Timespan in which Events Must Arrive selector, enter the time in which the events must arrive before the event is escalated or the event priority is changed. 15 Choose one of the following radio buttons to determine how the priority of the event will be escalated after the number of events have arrived within the specified timespan:
Levels to Escalate Causal Event PriorityChoose this radio button to escalate
the causal event by a specified number of levels after the number of events specified Number of Events Needed for Escalation selector have occurred within the time period specified by the Timespan in which Events Must Arrive selector. Enter the number of levels that the event is to be escalated.
Set Priority to This ValueChoose this radio button to set the event to a
specified priority level after the number of events specified Number of Events Needed for Escalation selector have occurred within the time period specified by the Timespan in which Events Must Arrive selector. Choose the priority level from the drop list.
16 To save the completed event escalation policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
For example, a notification event management policy might notify a system administrator about the imminent unavailability of a mission-critical piece of storage hardware.
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
339
The Notification Policy Details tab is displayed in the details pane of the Administration View, as show in Figure 60 on page 340. Figure 60: Notification Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description field, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 9 From the Notification Service drop list, select the service to use as the notification mechanism. The default service is email. 10 In the Notification Source field, enter the source of the notification. 11 In the Add field, type the name of a person or group to notify. Click Add to add the name to the Notify slot. Add more names or groups if necessary. 12 From the Event Status that will Notify Users list, choose the event status that you want to trigger the notification. 13 In the Notification Subject field, enter the subject of the notification message. If desired, you can use the Event Slot drop list to choose event slots to add to the notification subject. Click the Insert button to insert the slots into the subject. Enter a space before and after each slot that you add. 14 In the Notification Text field, enter the notification message. If desired, you can use the Event Slot drop list to choose event slots to add to the notification message. Click the Insert button to insert the slots into the message. Enter a space before and after each slot that you add. 15 (optional) Select the Auto Acknowledge check box to automatically acknowledge the event.
Note
341
16 (optional) Select the Auto Assign check box to automatically assign the event to the user you select from the list. 17 To save the completed event notification policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
The Propagation Policy Details tab is displayed in the details pane of the Administration View, as shown in Figure 61 on page 343. Figure 61: Propagation Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description box, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled.
Chapter 11 Working with event management policies 343
b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 9 In the Propagate to all of list, choose one or more cells. Figure 62: Propagation cell list
Note
10 In the Propagate to one of list, select one or more cells. 11 To save the completed event propagation policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
Note
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
345
The Recurrence Policy Details tab is displayed in the details pane of the Administration View, as shown in Figure 63 on page 346. Figure 63: Recurrence Policy Details tab
5 In the Policy Name box, type a unique alphanumeric name (with no spaces) for the event management policy. 6 In the Description box, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled.
b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 9 If you want to define a time window for events that are considered to be recurring, check the Recurring Events Must Arrive Within this Timespan check box and set the maximum time after the initial event within which an event must arrive to count toward recurrence. If the box is not checked, there is no limit on the time between duplicate events that are counted as recurring. 10 In the Slot Updates section, select any original event values that you want updated by the latest recurrent event values. 11 To save the completed event recurrence policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
Note
347
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK. The Suppression Policy Details tab is displayed in the details pane of the Administration View, as shown in Figure 64 on page 348. Figure 64: Suppression Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description box, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
Note You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period.
9 Click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
349
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
The Threshold Policy Details tab is displayed in the details pane of the Administration View as shown in Figure 65 on page 351. Figure 65: Threshold Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description field, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
351
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 9 For the Number of Duplicate Events Received slot, supply a numeric value and an associated time measurement to specify the threshold above which an event is accepted. 10 Select one of the following radio buttons (The threshold-specific options displayed on the tab change depending on which button you select.):
Hold Events Until Threshold is MetSelect this option to prevent creation of
Note
any specified event until the number of events exceeds the threshold within the specified time period.
If you select Hold Events Until Threshold is Met, the options shown in Figure 66 on page 353 are displayed. Specify whether to include allowing the last, first,
highest, or lowest severity event to pass and whether to acknowledge or close the passed event when incoming (new) events fall below a specified low threshold rate. Figure 66: Hold Events options
Pass Events throughselect this option to create all events when they meet the
If you select Pass Events through, the options shown in Figure 67 on page 353 are displayed. Figure 67: Pass Events Through options
Choose one of the following radio buttons to determine how the severity of the event will be escalated or de-escalated:
Levels to Escalate/De-Escalate Event Severity ByChoose this radio button to
escalate or de-escalate the severity of the event by a specified number of levels after the number of events specified Number of Duplicated Events Received selector have occurred within the time period specified by the Timespan in which Events the Must Arrive selector. Enter the number of severity levels that the event is to be escalated. specified severity level after the number of events specified Number of Duplicated Events Received selector have occurred within the time period specified by the Timespan in which Events the Must Arrive selector. Choose the severity level from the drop list.
Set Severity to This ValueChoose this radio button to set the event to a
353
Note From the Set Severity to This Value drop list, choose Critical, Non-critical, Minor, Warning, or OK. Do not choose Unknown, as it is considered a status rather than a severity.
11 To save the completed event threshold policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
354 BMC ProactiveNet Administrator Guide
The Timeout Policy Details tab is displayed in the details pane of the Administration View as shown in Figure 68 on page 355. Figure 68: Timeout Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description field, type a description of the event management policy. 7 To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
355
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 9 In the Timeout Event After field, enter a number of time periods that must elapse before an event will time out. The default time period is seconds, but this time period can be changed to minutes, hours, or days by selecting one of these time periods from the drop list. 10 To save the completed event timeout policy, click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
Note
A list of out-of-the-box standard event management policies of that policy type are displayed in the right pane of the Administration View as shown in Figure 69 on page 357. Figure 69: List of event management policies
3 From the list of event management policies, select the policy that you want to enable.
The Details tab for that policy is displayed in the details pane of the
Administration View.
4 On the BMC Impact Manager toolbar, click the Update Policy button enable the Details tab to be edited. to
5 Enable or disable the policy by selecting or deselecting the Enabled check box. 6 Click OK. BMC ProactiveNet Administration Console saves the defined event management policy, and it is displayed in the list of event policies for the selected event selector.
357
Ensure that the timeframe referenced in your dynamic enrichment source file
exists. If it does not exist, you must define the timeframe as described in How to create a new local timeframe on page 289. policy. If none of the out-of-the-box event selectors are appropriate for your policy, define an event selector and specify event selection criteria as described in How to create an event selector and specify event selection criteria on page 297. dynamic enrichment source file on page 292.
Determine which event selector you want to apply to your dynamic enrichment
Create a data enrichment source file as described in How to create and edit a
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
The Dynamic Enrichment Policy Details tab, shown in Figure 70 on page 359, is displayed in the details pane of the Administration View. Figure 70: Dynamic Enrichment Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces. 6 In the Description field, type a description of the event management policy.
Chapter 11 Working with event management policies 359
7 To enable the policy immediately, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Execution Order field, if more than one policy exists, specify the order of execution. When a new policy is created, the number shown in the Execution Order field should be one greater the largest current execution order. If two policies have the same execution order, they will run in indeterminate order. 9 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Note
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes lists are displayed. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 10 If you do not want to accept the default event class, you can select an event class by clicking the ellipses button in the Event Class field of the Match Fields section, selecting a new event class, and clicking OK. The Event Class determines what slots are available in the Available Event Fields column.
Note
11 In the Class Chooser dialog box, select an event class and click OK. 12 In Available Event Fields column, select the slots that correspond to the match fields in your dynamic enrichment source file. Use the left arrow button to move those slots into the Match Fields column. You may select and move multiple slots at the same time. 13 In Available Event Fields column, select the slots that correspond to the output fields in your dynamic enrichment source file. Use the right arrow button to move those slots into the Output Fields column. You may select and move multiple slots at the same time. It is critical that the policy definition and the data enrichment source file contain the exact same number of match fields and output fields in the same order. If the match fields and output fields in the enrichment file and the policy do not match, the policy will not run. For example, if you were creating a file similar to the location.csv file that is included with the product, you must select the Host slot as the Match Field and the Location slot as the Output Field to correspond to the slots in the location.csv file. 14 (optional) In the Match Fields section, activate the Match Tracing check box to add diagnostic notes to the event, if necessary. 15 In the Match Table section, in the Type field, accept the default. Typically, you do not need to the change the value of the Type field. You can override the default; however, you must use a unique tag within the given match table. 16 In the Match Table section, in the Tag field, accept the default. The Tag field uniquely identifies the match table that will be used by the policy instance. You do not need to the change the value of this field. You can override the default; however, you must use a unique tag within the given match table. 17 In the Match Table section, in the Data File field, do one of the following actions:
Type the path to the enrichment data source.
WARNING
Note
Note
To browse for the enrichment data source, click the ellipses button .. In the File Chooser dialog box, select the dynamic enrichment source file appropriate
Chapter 11 Working with event management policies 361
for your policy and click OK. For more information, see External enrichment data sources on page 287. 18 In the Match Table section, in the File Format field, select one of the following radio buttons to specify the type of data enrichment file to import:
Data file with this separatorChoose this radio button to import a flat,
delimited file, such as a .csv file. Enter a separator to delimit the data column in the file.
For example, if you are using a .csv file, enter a comma (,) as the separator.
PMEP fileChoose this radio button to import a PMEP table and select the
appropriate PMEP format for your policy from the drop list:
Blackout Blackout CSV Location Location CSV Service Service CSV Text Text CSV
Note If you select the PMEP file button, the Event Class, Match Fields, and Output Fields are autopopulated with predefined values and become read-only.
19 Click OK.
If this is the first time a policy is saved, the a confirmation dialog box is displayed as shown in Figure 71 on page 363. Figure 71: Import confirmation
20 Click Yes. A green check mark should be displayed in the Enable column next to the policy in the event management policies list. (You may need to scroll the window to the right to see the Enable column.) The policy also should show up in the tree in the left pane of the BMC ProactiveNet Administration Console window. 21 Import the data from the dynamic enrichment source enrichment file as described in Importing dynamic enrichment source on page 385.
363
4 From the Selector Chooser dialog box, choose the event selector that you want to use for this policy and click OK.
The Dynamic Blackout Policy Details tab is displayed in the details pane of the Administration View, as shown in Figure 72 on page 365. Figure 72: Dynamic Blackout Policy Details tab
5 In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces.
365
6 In the Description field, type a description of the event management policy. 7 To enable the policy immediately, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later. 8 In the Execution Order field, if more than one policy exists, specify the order of execution. When a new policy is created, the number shown in the Execution Order field should be one greater the largest current execution order. If two policies have the same execution order, they will run in indeterminate order. 9 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Note
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes lists are displayed. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 10 If you do not want to accept the default event class, you can select an event class by clicking the ellipses button in the Event Class field of the Match Fields section, selecting a new event class, and clicking OK.
Note
The event class determines what slots are available in the Available Event Fields column. 11 In the Class Chooser dialog box, select an event class and click OK. 12 In Available Event Fields column, select the slots that correspond to the match fields in your dynamic enrichment source file. Use the left arrow button to move those slots into the Match Fields column. You may select and move multiple slots at the same time. 13 In Available Event Fields column, select the slots that correspond to the output fields in your dynamic enrichment source file. Use the right arrow button to move those slots into the Output Fields column. You may select and move multiple slots at the same time. It is critical that the policy definition and the data enrichment source file contain the exact same number of match fields and output fields in the same order. If the match fields and output fields in the enrichment file and the policy do not match, the policy will not run. For example, if you were creating a file similar to the location.csv file that is included with the product, you must select the Host slot as the Match Field and the Location slot as the Output Field to correspond to the slots in the location.csv file. 14 (optional) In the Match Fields section, activate the Match Tracing check box to add diagnostic notes to the event, if necessary. 15 In the Match Table section, in the Type field, accept the default. Typically, you do not need to the change the value of the Type field. You can override the default; however, you must use a unique tag within the given match table. 16 In the Match Table section, in the Tag field, accept the default. The Tag field uniquely identifies the match table that will be used by the policy instance. You do not need to the change the value of this field. You can override the default; however, you must use a unique tag within the given match table. 17 In the Match Table section, in the Data File field, do one of the following actions:
Type the path to the enrichment data source.
WARNING
Note
Note
367
To browse for the enrichment data source, click the ellipses button .In the File Chooser dialog box, select the dynamic enrichment source file appropriate for your policy and click OK. For more information, see External enrichment data sources on page 287.
18 In the Match Table section, in the File Format field, select one of the following radio buttons to specify the type of data enrichment file to import:
Data file with this separatorChoose this radio button to import a flat,
delimited file, such as a .csv file. Enter a separator to delimit the data column in the file.
For example, if you are using a .csv file, enter a comma (,) as the separator.
PMEP fileChoose this radio button to import a PMEP table and select the
appropriate PMEP format for your policy from the drop list:
Blackout Blackout CSV Location Location CSV Service Service CSV Text Text CSV
Note If you select the PMEP file button, the Event Class, Match Fields, and Output Fields are autopopulated with predefined values and become read-only.
19 Click OK.
If this is the first time a policy is saved, the following confirmation dialog box is displayed: Figure 73: Import confirmation
20 Click Yes. A green check mark should be displayed in the Enable column next to the policy in the event management policies list. (You may need to scroll the window to the right to see the Enable column.) The policy also should show up in the tree in the left pane of the BMC ProactiveNet Administration Console window. 21 Import the data from the dynamic enrichment source enrichment file as described in Importing dynamic enrichment source on page 385.
369
Table 41: Out-of-the-box dynamic enrichment event policy types and procedures To enable this event policy... Dynamic blackout Dynamic location enrichment See... Enabling a dynamic enrichment blackout policy on page 370 Enabling a dynamic enrichment location policy on page 373
Dynamic service contact enrichment Enabling a dynamic enrichment service contact policy on page 377 Dynamic PATROL message translation Enabling a dynamic enrichment PATROL message text translation policy on page 381
The Dynamic Blackout Policy Details tab is displayed in the details pane of the Administration View, as shown in Figure 74 on page 371. Figure 74: Dynamic Blackout Policy Details tab
371
3 On the BMC ProactiveNet Administration Console toolbar, click the Update Policy button to make the Dynamic Blackout Policy Details tab editable.
4 On the Dynamic Blackout Policy Details tab, select the Enabled check box. 5 In the Execution Order field, if more than one policy of this type exists, specify the order of execution.
Note When a new policy is created, the number shown in the Execution Order field should be one greater the largest current execution order. If two policies have the same execution order, they will run in indeterminate order.
6 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active and/or inactive (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes timeframe lists are displayed. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 7 (optional) In the Match Fields section, activate the Match Tracing check box to add diagnostic notes to the event to assist with trouble-shooting an event. 8 Click OK.
372 BMC ProactiveNet Administrator Guide
Note
A confirmation dialog box is displayed, asking if you want to import data now, as shown in Figure 75 on page 373. Figure 75: Import Data Confirmation dialog box
9 Click Yes. A green check mark should be displayed in the Enable column next to the policy in the event management policies list. (You may need to scroll the window to the right to see the Enable column.) The policy also should show up in the tree in the left pane of the BMC ProactiveNet Administration Console window. 10 Import the data from the dynamic enrichment source enrichment file as described in Importing dynamic enrichment source on page 385.
the problematic technology is located in and can direct engineers more quickly to the problem. Console of specific areas/data centers and understand at a glance where the problems are.
location. For example, they can identify which locations which are generating the most events. along with the rest of event, providing more useful information to the engineer that will be assigned to handle the incident.
If you are integrating with a service desk the location identifier can be passed
373
The Dynamic Enrichment Policy Details tab, shown in Figure 77 on page 375, is displayed in the details pane of the Administration View. Figure 77: Dynamic Enrichment Policy Details tab
375
4 On the BMC ProactiveNet Administration Console toolbar, click the Update Policy button to make the Dynamic Enrichment Policy Details tab editable.
5 To enable the policy, select the Enabled check box. 6 In the Execution Order field, if more than one of this type of policy exists, specify the order of execution. When a new policy is created, the number shown in the Execution Order field should be one greater the largest current execution order. If two policies have the same execution order, they will run in indeterminate order. 7 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Note
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes lists are displayed. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
Note You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period.
8 (optional) In the Match Fields section, activate the Match Tracing check box to add diagnostic notes to the event, if necessary. 9 Click OK.
If this is the first time a policy is saved, the following confirmation dialog box is displayed: Figure 78: Import confirmation
10 Click Yes. A green check mark should be displayed in the Enable column next to the policy in the event management policies list. (You may need to scroll the window to the right to see the Enable column.) The policy also should show up in the tree in the left pane of the BMC ProactiveNet Administration Console window. 11 Import the data from the dynamic enrichment source enrichment file as described in Importing dynamic enrichment source on page 385.
377
A list of out-of-the-box dynamic enrichment policies are displayed in the right pane of the Administration View as shown in Figure 79 on page 378. Figure 79: List of out-of-the-box dynamic enrichment policies
The Dynamic Enrichment Policy Details tab, shown in Figure 80 on page 379, is displayed in the details pane of the Administration View. Figure 80: Dynamic Enrichment Policy Details tab
379
4 On the BMC ProactiveNet Administration Console toolbar, click the Update Policy button to make the Dynamic Enrichment Policy Details tab editable.
5 To enable the policy, select the Enabled check box. 6 In the Execution Order field, if more than one type of this policy exists, specify the order of execution. When a new policy is created, the number shown in the Execution Order field should be one greater the largest current execution order. If two policies have the same execution order, they will run in indeterminate order. 7 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Note
Active.
Timeframes.
The Active Timeframes and Not Active Timeframes lists are displayed. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
Note You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period.
8 (optional) In the Match Fields section, activate the Match Tracing check box to add diagnostic notes to the event, if necessary. 9 Click OK.
If this is the first time a policy is saved, the following confirmation dialog box is displayed: Figure 81: Import confirmation
10 Click Yes. A green check mark should be displayed in the Enable column next to the policy in the event management policies list. (You may need to scroll the window to the right to see the Enable column.) The policy also should show up in the tree in the left pane of the BMC ProactiveNet Administration Console window. 11 Import the data from the dynamic enrichment source enrichment file as described in Importing dynamic enrichment source on page 385.
381
A sample dynamic enrichment service contact policy data source file, TextTranslation.csv, is provided in the %PROACTIVENET_HOME%\admin\etc \samples directory. The TextTranslation.csv file includes translations for many common messages that will be useful in your enterprise. If you are integrated with PATROL, BMC Software recommends that you take advantage of the data that is already included in this sample file. For information about using the TextTranslation.csv file, see Using the sample PATROL messaging text translation dynamic enrichment source file on page 294.
Note
3 From the list of out-of-the-box dynamic enrichment policies, select PATROL_Message_Translation. 4 Click the Update Policy button .
The Dynamic Enrichment Policy Details tab, shown in Figure 83 on page 383, is displayed in the details pane of the Administration View. Figure 83: Dynamic Enrichment Policy Details tab
5 To enable the event management policy, select the Enabled check box. If you do not want to enable the event management policy at this time, it can be enabled later. 6 In the Execution Order field, if more than one policy exists, specify the order of execution. When a new policy is created, the number shown in the Execution Order field should be one greater the largest current execution order. If two policies have the same execution order, they will run in indeterminate order. 7 In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions: a Select one of the following choices:
To make the event management policy active continuously, select Always
Note
Active.
383
Timeframes.
The Active Timeframes and Not Active Timeframes lists are displayed. b If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the
Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the
Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period. 8 (optional) In the Match Fields section, activate the Match Tracing check box to add diagnostic notes to the event, if necessary. 9 Click OK. If this is the first time a policy is saved, the following confirmation dialog box is displayed: Figure 84: Import confirmation
Note
10 Click Yes. A green check mark should be displayed in the Enable column next to the policy in the event management policies list. (You may need to scroll the window to the right to see the Enable column.) The policy also should show up in the tree in the left pane of the BMC ProactiveNet Administration Console window. 11 Import the data from the dynamic enrichment source enrichment file as described in Importing dynamic enrichment source on page 385.
Table 42 on page 385 describes the uneditable fields of the Import tab. These fields are for your information only.
Table 42: Import tab uneditable fields Field Data File File Format Last Action Description Path to the enrichment data source Type of file used by the policy Last time an import (replace or merge) was completed.
3 In the field opposite the Import button, select whether you want to Replace the existing data in the cell or Merge new data with existing data in the cell.
Chapter 11 Working with event management policies 385
4 Click Import.
The data is imported from the file into the cell.
5 Verify that the information has been uploaded by ensuring that the Last Action information in the Import tab shows a completed upload message.
shows the expanded pane and the events that verify that the policy was executed properly. Figure 86: Logs & Notes pane in the Details notebook
Figure 87: Expanded Logs & Notes page showing dynamic enrichment policy has been executed
387
3 From the Event Selection Criteria section of the Selector Details tab, select an event selection criteria in the list and click Edit. The Edit button remains inactive until you select an event selection criteria. 4 Use the Edit Event Criteria editor to make the necessary changes to the description, event class, or expression. 5 To save the edited event selection criteria, click OK. 6 From the Selector Details tab, click OK to save the edited event selection criteria and the event selector.
The Delete Confirmation dialog box is displayed. 3 Click Yes. The event selector is deleted.
is selected.
(Dynamic enrichment policies only) Access the Policy Details tab for the policy
and ensure that the Match Fields and Output Fields contain the exact same number of match fields in the same order as the associated data enrichment source file. the data enrichment source file into the cell using the Import tab.
(Dynamic enrichment policies only) Ensure that you have imported the data from
For policies that use a schedule, check to see if CellEventEnable=No is set in mcell.conf. If it is then change it to CellEventEnable=Yes.
Problem: I receive an invalid data error when running a dynamic enrichment policy
Access the Policy Details tab for the policy and ensure that the Match Fields and Output Fields contain the exact same number of match fields in the same order as the associated data enrichment source file. Figure 88 on page 389 shows an example error message generated by dynamic enrichment policy that has a mismatch between the match and output fields defined in the policy and the number of columns included in the enrichment data source file. Figure 88: Invalid data error: dynamic enrichment policy
389
Problem: I receive an error message when running a dynamic enrichment blackout policy
Ensure that the timeframe defined in the data source enrichment file actually exists. For information on creating valid timeframes, see How to create a new local timeframe on page 289. Figure 89 on page 390 shows an example error message generated by dynamic blackout policy that has an invalid timeframes. Figure 89: Invalid timeframe error: dynamic blackout policy
Problem: I have several thousand data records displayed in the Dynamic Data Editor tab
If your Match Table contains several thousand data records (testing has noted 7500), then when you try to execute a copy, paste, export, or print action, you can encounter poor response times from the BMC ProactiveNet Server and find message buffer full exceptions in the trace files. To overcome this limitation, you can uncomment out the five sizing properties in the %BMC_PROACTIVENET_HOME%\admin\etc\ix.properties file.
#data_handle_method_new=true #IX will handle below specified chunk size data at a time. Default data chunk size is 100 #data_handle_chunk_size=100 #sleep interval (in milliseconds) between the specified chunk size data handling. Default Sleep interval is 500 milliseconds #data_handle_sleep_interval=500 #IX will handle specified chunk size data at a time while paste action. Default data chunk size is 25 #data_paste_chunk_size=25 #sleep interval (in Milliseconds) between the specified paste chunk size
After modifying the ix.properties file, you must log out and log back in to the BMC ProactiveNet Administration Console.
Access the History tab and check the Operations Log to determine which dynamic
391
12
Working with the dynamic data editor
This chapter describes the Dynamic Data Editor.
3 Save and close the ix.properties file. 4 Restart the Administration Console. The Infrastructure Management node is displayed in the Event Management Policies and the Dynamic Data Editor tabs.
393
Navigation pane
In the Dynamic Data Editor tab on the Administration View you can view the data classes for a cell in a hierarchical tree, as illustrated in Figure 90 on page 395. Figure 90: Dynamic Data Editor Navigation Pane
Table 43 on page 395 lists the parts on the Administration Tab Navigation pane. Table 43: Administration tab navigation pane
# 1 2 3 Name Dynamic Data Editor tab cell group icon cell icon Description identifies the dynamic data editor identifies a cell group identifies a cell
395
# 4 5
Description root class to which all data classes belong data class defined as a subclass of the root class DATA Data subclasses comprise the dynamic data tables in the current cell.
Toolbar functions
Figure 91 on page 396 describes the toolbar buttons available in the Dynamic Data Editor. Figure 91: Dynamic Data Editor toolbar
Filtering slots
The Slot Quick Filter enables you to filter the displayed data list according to specified slot criteria.
To filter slots
1 or the down arrow to its right to display Click on the Slot Quick Filter button the Slot Quick Filter dialog box, shown in Figure 92 on page 397, in which you set the filter criteria. Figure 92: Slot Quick Filter dialog box
2 From the Slot list, select the slot name. 3 From the Operator list, select the specific operator with which the filter acts. 4 In the Value box, enter the value with which you want to filter the Data List. 5 Click OK. The filter you specified appears in place of the Slot Quick Filter button and the data instances that meet the criteria are displayed in the Data List. To toggle the quick filter on and off, click on the Slot Quick Filter button or on the filter specifications currently displayed in place of the icon.
397
When you select the first column to include in your sort order the only options available in the Slot Order Indicator are None and First. After you designate a column as first in the sort order, the option Second is available in the Slot Order Indicator when you right-click on the second column. The Third option is available when you have designated a column as Second in the sort order. 3 Right-click next on the column you want to include in the sort order. 4 Select the order position desired for that column. 5 Repeat if you want to establish a third column in the sort order. An alternative method of multiple-column sorting is to press the Ctrl key and singleclick on a header to add that column as the next column in the sort order. That is, pressing Ctrl and single-clicking on a column sets it as the first in the sort order, pressing Ctrl and single-clicking on the next column sets it as the second in the sort order, and the third column is set as the third in the sort order by again pressing the Ctrl key and single-clicking on the column header. Currently only three columns can be included in the sort order. Pressing the Ctrl key and single-clicking on a fourth column will designate it as third in the sort order in place of the column previously designated as third. Also, pressing the Ctrl key and single-clicking on a column that is part of a sort order will remove it from the sort order. The remaining columns in the designated sort order will reposition in the sort order to replace the one that has been removed. For example, if you press the Ctrl key and single-click on the column previously designated as first in the sort order, it will be removed from the order and the two remaining will move from second to first and from third to second in the new sort order. Remember the following facts about sorting:
Only if there is a sorting conflict in the First sort column will the sorting be
Note
resolved by use of the Second sort column. conflict in the Second sort column.
The sorting will extend to the Third sort column only if there is a sorting
Establishing a multiple column sort simply ensures that any sorting conflicts
If you have established a multiple sort order in the Data List, clicking on one of the sort order columns toggles that columns display between ascending and descending order, as indicated by the small arrow next to the sort order number in the column head.
The Data List of the Dynamic Data Editor tab of the Administration Console provides an interface to assist you in working with a cells dynamic data. Right-click on a data instance in the Data List on the right side of the Administration Console to display the pop-up context menu. For instructions on adding a data instance, see Adding a new data instance on page 399
399
Note
3 Click OK to complete the new data instance and close the New tab. The success or failure of your attempt to create a new data instance will be reflected in the message bar at the bottom of BMC ProactiveNet Administration Console window. Figure 94 on page 400 illustrates a notification of a failed attempt to create a new data instance. Figure 94: Message bar
shown in below.
The New Copy menu option provides the same selection in the type field list as the New menu option, as shown in Figure 93 on page 400. When you have entered or edited the appropriate slot information, click OK to create the new data instance and close the New tab. The success or failure of your attempt to create a new data instance is reflected in the message bar of the BMC ProactiveNet Administration Console window.
Editing slots
A class definition consists of one or more slots. Each slot has a data type and can have specific attributes called facets that can control the values that the slot can have or control aspects of a class instances processing. A class that is a subclass to another class inherits all the slots of the parent class. The Edit pop-up menu option enables you to update the selected data instance of the current data list in the Data List display pane.
To edit slots
1 Select and right-click on the data instance and click Edit to display the Edit tab in the Details pane of the Dynamic Data Editor tab.
401
The Edit tab contains the slot value information of the selected data instance. Fields that can be changed have a white background. 2 To save the edited information and close the Edit tab, click OK.
Exporting data
From the Data List in the Administration View, you can export a data instance as a file with a specified file name, in a format selected from a list, and containing all or only the visible slot information available for the data instance. Multiple data instances can be exported to the same file at the same time. Do this by selecting all the data instances your want included to begin the export process.
To export data
1 Select a data instance and select the File => Export menu option or click on the Export toolbar button to display the Export Policies dialog box, as shown in Figure 95 on page 402. Figure 95: Export Data dialog box
2 In the Format list, select the format for the export file, as shown in Figure 96 on page 402. Figure 96: Export Data dialog boxSelecting the data format
3 With the Visible Slots and All Slots option buttons, select whether you want to include only the visible slots or all slots in the file.
402 BMC ProactiveNet Administrator Guide
If you select All Slots, the Filter for Importing check box is available.
4 In the To File box, accept the default or specify the file name and location for the export file. 5 Click OK to create the export file and close the Export Data dialog box. For illustration purposes, in Figure 97 on page 403, the export file mcdata.csv containing information on all the slots for the selected data instance is created in C: \Documents and Settings\zane\My Documents. Figure 97: Contents of mcdata.csv
Figure 98 on page 403 illustrates an export file containing four data instances. Figure 98: Export file containing four data instances
403
13
Creating and using user-defined policies
This chapter describes how to create and how to implement user-defined policy types. This chapter presents the following topics:
(($POL.active_timeframes == [] OR tf_active($POL.active_timeframes)) AND NOT tf_active($POL.except_timeframes)) ] } $POL.selector_ecf ($EV) where [ <other conditions> ] { <actions>; opadd($EV, $POL.name, "action name", ""); } END
2 The tf_active calls evaluates timeframes for the policy. 3 The selector ECF selects the event to process. 4 The actions implement the policy and the opadd call adds an entry to the operations log of the event.
For... definitions of the MRL constructs and primitives for policy rules
im_policies.baroc file, you must define the new policy type in a separate file that is loaded for compilation after .../kb/class/im_policies.baroc file (it is listed after the im_policies.baroc in the .../kb/class/.load file list).
2 Define the new policy data class derived directly from the IM_BASE_CUSTOM_POLICY base class. a Create the new class slots. You can create slots of these types:
ENUMERATION INTEGER STRING LIST OF
No other slot types are supported in custom event policies. b Define the class slots in the order that you want them to appear in the BMC ProactiveNet Custom Policy Type panel. The BMC ProactiveNet Custom Policy Details panel created from the policy type will have a field for each slot added to the IM_BASE_CUSTOM_POLICY class. The interface fields appear in the same order as the slots are defined in the class definition.
See the BMC Knowledge Base Development Reference Guide for detailed
3 Save the edited file after defining the new policy type (data class). 4 Add and entry for the new file that you created to the compiler load list in the .../ kb/class/.load file after the entry for the ../kb/class/im_policies.baroc file, which contains the base policy data class that the new policy type references. 5 Recompile the BMC Impact Manager instances Knowledge Base (KB) after defining the new policy data class.
For more information on compiling a KB, see Compiling a Knowledge Base
6 Finally, you must copy the changed KB to every BMC Impact Manager instance (cell) that will use the new policy.
> Policy
b To define the presentation name (label) used for a slot, add a line with the following format to the resource file.:
SLOT.< >.< >=< >
policy type name slot name slot presentation name
a Add the base name of the resource file to the value of kb_info_resources parameter in the installDirectory \admin\etc\ix.properties file using this format:
kb_info_resources=<resource file name>,kb_core_resource, kb_deprecated_resource
The defined presentation names will display in the Event Management Policies tree, the Policy Type picker window, and in the Policy List panel. Any slot or policy type for which a presentation name is not defined displays its internal name. The event policy details tab for all user-defined policy types is Custom Policy Details.
copy the rule or rules to the Knowledge Base of each BMC IM instance on which
\im_internal.mrl file.
3 Add the file name for the new rule or rules to the compiler load list in the ...\kb \rule\.load file. 4 Compile the cell instances Knowledge Base (KB) after defining the rule for the policy type.
For more information on compiling a KB, see the BMC Knowledge Base
5 Copy this KB change to every cell instance that will use a policy based on the new policy type. The definition of the policy type is complete and users can now create policies based on it in the Custom Policy Type panel.
14
Working with BMC ProactiveNet Infrastructure Management
Infrastructure Management makes it easier for administrators with a Full Access or Service Administrator role to monitor and manage BMC ProactiveNet infrastructure components in a real-time service model. These infrastructure components include cells, servers, and integrations. In the Infrastructure Management interface, you can perform actions on these components, such as editing configuration and log files and packaging support files for troubleshooting purposes. Users assigned to Full Access, Service Administrator, or other Admin groups could remotely manage a subset of BMC ProactiveNet Infrastructure Management components and applications. In the Infrastructure Management tab on the Administration tab of the BMCProactiveNet Administration Console, these users could manually launch remote actions (stop, start, pause, and so forth) by selecting the component, right-clicking to open the pop-up menu, and choosing the action from a list of available ones. The availability of the actions depended on the user role and the type of component or application.
Gray indicates that the object is a logical grouping, components whose status is unknown to the Impact Administration cell. Only registered components are viewable in the Find window and services graph. The arrows indicate the direction (provider to consumer) of the event feed. A dotted line indicates that the relationship is inactive. The following versions of BMC components register with this service model. They can be added as components instances to the respective logical group.
Table 45: Supported application groups Group Id 100 101 102 103 104 105 112 120 121 122 123 124 Name EM_CELL EM_SERVER_1 EM_SERVER_2 SIM_CELL SIM_SERVER_1 SIM_SERVER_2 PS (BMC Impact Publishing Server) Adapter LOG_FILE_ADAPTER SNMP_ADAPTER WINDOWS_EVENT_ADAPTER SYSLOG_ADAPTER
Walkthrough
Only members of these groups can view the BMC ProactiveNet Infrastructure Management subtab. For information about assigning roles, see Defining or editing roles and permissions on page 216.
Walkthrough
This section provides a walkthrough of BMC ProactiveNet Infrastructure Management, highlighting its main features. You can use this walkthrough to learn about and become familiar with BMC ProactiveNet Infrastructure Management.
Walkthrough
groupings of BMC services and applications, together with registered components that send all relevant information and latest statuses. The out-of-the-box service model reflects the real-time states of the registered components.
(the wrench or spanner icon). 3 Under Find Infrastructure Components in the bottom pane of the navigation area, choose Find to list the services and applications. 4 The logical groupings of components and applications are displayed, along with registered components. Alternatively, you can open the BMC ProactiveNet Infrastructure Management group to display the navigation tree, as shown in the following figure. BMC ProactiveNet Infrastructure Management navigation pane
Walkthrough
5 Locate the BMC ProactiveNet Infrastructure object in the Find list, and then, using the mouse, click and drag it into the graph viewing area in the top right pane to reveal the service model. You can also choose to select BPPM Infrastructure in the navigation tree under BPPM Infrastructure Management to display it in the graph viewing area. You may need to click the Orientation icon
at the top of the graph viewing area to reposition it vertically. The gray-colored icons represent logical groupings, components whose status is unknown to the Impact Administration Cell.
Advanced, RelatedComponents, SLM, and Schedule. These tabs provide component specific information.
Click the Administer tab. Click the subtabs such as Configuration, Logs, and
SupportPackage. You can access the Workload and Components tabs if you have selected either a SIM or an EM cell server. component.
Click Edit Component in the Details=>General tab and change a property of the
Status
In the Status subtab, you can view the applicable status levels of the component: Service Level Agreement and computation statuses.
Walkthrough
Advanced
In the Advanced subtab, you can view information on identification, creation and modification time, and read/write permissions for groups for the selected object.
Related Components
In the RelatedComponents subtab, you can retrieve status causes, possible problems, providers, and consumers of the selected component type. You can modify the relationship by selecting Edit Relationship..., which opens the Edit Relationships dialog where you can add, modify, or remove relationships. Using the right-click menu options, you can highlight a retrieved component in the list, and add a link to the navigation tree by choosing the Add Navigation Link option. This subtab also lets you view other components that have relationships with the selected component.
SLM
In the SLM subtab, you can list and view the details of Service Level Management agreements assigned to the component.
Schedule
In the Schedule subtab, you can view the times when the component is in service together with its priority costs when it is in service and when it is out of service.
Walkthrough
4 In the Credentials dialog box, enter the credentials of the remote system, and click OK. The configuration file is displayed in the editor. The Additional command credentials check box applies mainly to UNIX systems, where you may need to log into the system under one user account, but then switch to another user account (for example, root) to execute the action. 5 Edit the file. 6 When you are done, you can click either of the following:
File => Save a Copy to save a copy of the file to your local system File => Update Original to update the file on the remote system
Walkthrough
A pop-up progress indicator shows the status of the retrieval. If it completes successfully, go to the specified directory and review the contents of the zipped package. The file contents vary based on the type of component. 8 Repeat steps 1 through 7 for a server component, verifying that the file contents of its zipped package are different from those of the service impact management cell.
Walkthrough
3 Choose Stop Cell Server Process, click Stop, and enter the logon credentials for the remote system. If the selected component resides on an Microsoft Windows system, your login credentials should have administrative rights to the system. The Additional Command Credentials are needed check box is disabled. When the component on the remote system has stopped, its status changes to Unavailable. 4 Return to the BMC ProactiveNet Infrastructure Management interface, right-click the service impact management cell component to display the pop-up menu, and choose Actions => Start Cell Server Process. 5 Verify that the cell has started--for example, you can execute an mcstat command to check the cell's status. Then you can verify that the status of the selected component is changed to OK. 6 Repeat steps 1 through 5 for a BMC ProactiveNet Server component, such as publishing server or IBRSD. The actions permitted on the server component are limited to Stop Process and Start Process only.
You can also launch remote actions for selected components by clicking one of the Action toolbar icons of the BMC ProactiveNet Infrastructure Management view.
Depending on the type and state of the selected component, you can choose from among the following actions:
Start Cell Server Process (Start) Stop Cell Server Process (Stop) Restart Cell Server Process (Restart) Pause Events Admittance (Pause) Resume Events Admittance (Resume) Set to Active Set to Standby
Different actions are enabled based on the status and type of component. For example, if a component in an unknown state is already started and you choose Actions => Start, you receive a status message notifying you that the component is started already. For more information, see Remote actions on page 444.
In the Class drop-down list, click All if it is not already displayed. Click Find to open the list of logical groupings and registered components in your infrastructure. Logical groupings and registered components are depicted by different icons:
Icon Definition logical services grouping SIM cell
Icon
Definition SIM cell server 1 SIM cell server 2 (high availability implementation) SIM cell server standby (high availability implementation) EM Cell EM cell server 1 EM cell server 2 (high availability implementation) BEM cell server standby (high availability implementation) Publishing Server Integration for BMC Remedy Service Desk
Select the BPPM nfrastructure grouping, which contains the default infrastructure model, and drag-and-drop it on to the graph viewing area. You may need to select the Orientation icon to display it along a vertical axis.
Multiple graphs
You can display multiple graph views. For example, you can select registered components from the Results list in the navigation pane, and drag-and-drop them on the graph viewing area, creating new graph views. You can switch from one view to the other by selecting the tabs at the top of the graph viewing area.
Navigation tree
To help organize your model, you can display and manipulate the grouping and component hierarchy in the navigation tree view under the BPPM Infrastructure Management heading. You can select objects in the navigation tree and display them in the graph viewing area.
You can drag objects from the graph viewing area and drop into the navigation tree, creating a navigation link between the two.
Tip You can press the CTRL or SHIFT key and then click an object in the navigation tree to display the object in the graph viewing area without closing any displayed objects.
You can create customized subgroups under the BMC ProactiveNet Infrastructure Management heading. After selecting the heading, right-click to open the Add a sub group menu item.
After you define your group, you can drag-and-drop component objects into it.
General
In the General subtab, you can view the name, class, and subtype of the selected object. Depending on the subtype, you can also view other slot values, as described in Table 46 on page 425.
contains a Boolean Yes/No indicator that says whether the selected component object can be edited in the BMC ProactiveNet Administration Console. BPPM Infrastructure Management only contains objects that are not published. Therefore, Editable Here is always set to Yes in BPPM Infrastructure Management.
Master Repository
specifies the data source of the component object. For example, component objects that originate from a direct feed source, such as BMC IX, mposter, or an MRL, are designated in this format: CellcellName. The default name for BPPM Infrastructure Management is Cell-Admin. the current state of the object, which helps to determine its status, its icon shape, the icon's color, as well as which actions can be performed against the object. This slot value is updated whenever the component changes its state, from start to stop, from start to paused, from stop to start, and so forth. host name of the computer where the component is installed Port number through which the BMC ProactiveNet Server communicates with the host where the component is installed
Run State
Host Port
Data Destinations Started Date Role indicates whether a component, such as a cell server, is standalone or, in an HA pair, either primary or secondary. the individual responsible for the component the contact information for the owner of the component
Owner
Section Release
Description
From the General subtab, you can click Edit Component to open the Edit Service Component dialog in which you can modify the component's properties.
Status
In the Status subtab, you can view the applicable status levels of the component: Service Level Agreement and computation statuses.
Advanced
In the Advanced subtab, you can view information on identification, creation and modification time, and read/write permissions for groups for the selected object.
Related Components
In the RelatedComponents subtab, you can retrieve status causes, possible problems, providers, and consumers of the selected component type. You can modify the relationship by selecting Edit Relationship..., which opens the Edit Relationships dialog where you can add, modify, or remove relationships. Using the right-click menu options, you can highlight a retrieved component in the list, and add a link to the navigation tree by choosing the Add Navigation Link option. You can view the events associated with the component. This subtab also lets you view other components that have relationships with the selected component.
SLM
In the SLM subtab, you can list and view the details of Service Level Management agreements assigned to the component.
Schedule
In the Schedule subtab, you can view the times when the component is in service together with its priority costs when it is in service and when it is out of service.
426 BMC ProactiveNet Administrator Guide
Configuration
The Configuration subtab lists the editable configuration files of the selected component. You can retrieve these files, even those associated with components on remote systems. Click Edit. Then enter the logon credentials for the system where the component resides. (On UNIX, your login account must have permission to access the target system. On Microsoft Windows, you must have administrative privileges on the system.) The file opens in a default text editor. You can edit any supported configuration file of an infrastructure component. The type of file varies with the component, but the files include:
mcell.dir file .conf files filter files selector files mapping files trace.conf files cell_info.list file
You should know the parameters of the file before trying to edit it. Refer to the component's respective documentation. You can save the edited configuration file to a local or remote system. If saving to a local system, you can specify a different file path. If saving to a remote system, you update the configuration file in its current directory path. You cannot save it to a different file path.
Logs
Similar to configuration files, you can open and annotate log files of components on local systems in the Log subtab. You cannot save an edited or update a viewed log file to a remote system, however. You must save it to the local system.
Support Package
In the SupportPackage subtab, you can prepare a zipped package of predefined support files for troubleshooting purposes. For more information, see Creating the support package on page 438.
Workload
The Workload subtab dynamically tracks the event activity of the cell server component. It presents counts, averages, and percentages of different event actions, such as sent, received, dropped, and removed. You can refresh the table by clicking the Refresh button.
Components
The Components subtab dynamically tracks the component instances that send events to the selected object. You refresh the table by clicking the Refresh button. This subtab view is available for both service impact management and event management cell servers.
Click Edit => Edit Relationship. Click the Edit Relationship toolbar icon.
The Edit Relationships dialog box is opened. The following figure shows an open Edit Relationships dialog box with a selected service impact management cell opened for editing in the Edit This Relationship subdialog.
The Edit Relationships dialog box contains the fields listed in the following table:
Table 47: Edit Relationship dialog: field descriptions Field Component Name Related Component Type Description name of the selected infrastructure component identifies the infrastructure component subtype that has a consumer or provider relationship to the selected component and for which you want to search lists the consumer, provider, or both consumer and provider relationships of the selected component subtype and component identifies the infrastructure object related to the selected component indicates the event flow of the object relationship. A consumer direction indicates that the component object receives events and data from the selected component. A provider direction indicates that the component object sends events and data to the selected component identifies current state of the relationship: active or inactive specifies the class that contains the relationship type identifies the status propagation model used for determining the propagated status from the provider's main status indicates whether you can edit the object
Relationships
Component Direction
Editable
You can search on component types by selecting an Impact Administration subtype from the drop-down list. When you click Search, it retrieves the relationships associated with the selected subtype.
Select an item in the Edit Relationships dialog, and right-click to open the pop-up menu. You can perform actions common to all object relationships: View Service Model, Edit Component, Add Navigation Link, and Add Relationship. You can edit any of the component's relationships by selecting it and then choosing the Edit Relationship button at the bottom of the dialog. The Edit This Relationship subdialog contains the following fields:
Table 48: Edit This Relationship subdialog Field Consumer/Provider indicator Description indicates the directional flow of the relationship between the selected component and the component subtype. You can modify the relationship Direct, Increasing, Decreasing, Just_Info, or Just_Warning weight (numeric value) of a relationship used while calculating the status using weighted cluster mode Summary description of the relationship
The names of logically created components do not display in Korean in the graph viewing area while its component object does.
Note
Deleting components
You can delete both logical service groupings/objects and live, registered objects from the BMC ProactiveNet Infrastructure Management service model.
430 BMC ProactiveNet Administrator Guide
Usage reporting
To organize your service model around its real-time components, you can delete logical groupings that do not have registered components associated with them. Generally, you should delete the leaf objects, not objects that lie between other objects. If you delete objects that lie between other objects, some objects that should be deleted because of relationship associations with the other objects will nonetheless remain. BMC recommends that you do not delete components that have been registered automatically with the BMC ProactiveNet Infrastructure Management service model. However, if you delete a live, registered object, it is removed from the BMC ProactiveNet Infrastructure Management service model, and an event of the class Service Model Component Delete is sent to the IAC.
You can recover a deleted registered object by modifying the DATA/ADMIN_DATA/ ADMIN_REGISTRATIONS table of the IAC in the General Administration tab view.
Tip
You change the enable parameter for the specific component from NO to YES in the Edit tab. Then you restart the component to reregister it.
Usage reporting
In the Infrastructure Management tab, you can choose the File => Usage Report menu option to display and print a report that lists the BMC ProactiveNet components that are registered with the BMC Impact Administration cell. These components include:
management servers standalone cells high availability cells Integration for BMC Remedy Service Desk
By default, users belonging to the user group Full Access, Service Administrators can access these reports. You can save and print the report in a plain text file or a comma-separated values (CSV) file for tabular data presentation.
Note
reloaded, taking it back to a default out of the box data state. This removes any custom data that the customer has created. However, the other options, such as Reload => Knowledge Base, Reload => Directory (mcell.dir), etc., do not reload data.
Collecting metrics
Use the Metrics Collection menu command to access the commands for working with metrics.
LOG_LEVEL
Description current BMC ProactiveNet user name that has logged on and connected with the BMC ProactivNet Server user name that logs into the remote host's operating system. This is the user name under which the action is executed on the remote host the component or application type on the BMC ProactiveNet administrator is performing the remote action. BPPM Infrastructure Management supports the subtypes listed under Supported component or application types on page 436 user-specified value in the Object slot of the component or application on the which remote action is being executed unique Id associated with the remote action. This unique Id is defined in the corresponding actions.xml file stored on the computer where the BMC ProactiveNet Server resides. It is stored under the BMC PROACTIVENT_HOME/server/data/ admin/actions folder on the BMC ProactiveNet Server computer. short text description of the logged action
OS_USER
SUB_TYPE
OBJECT
ACTION_ID
EXPLANATION
EM_SERVER_1
IBRSD
EM_SERVER_2
BEM_SERVER_STANDBY
SIM_CELL
SIM_SERVER_STANDBY
INTEGRATIONS
PS
SIM_SERVER_1
Sample logs
A sample audit log for a remote startup action on a service impact management cell might look as follows:
Mon 07/23/2007 16:50:15 INFO iasuser superuser SIM_CELL:PUNE_CELL start_im_windows Executing action
Property com.bmc.sms.ixscomm.util.auditLogFilename
Description specifies the file path and name of the audit log file, using the %g indicator to show that the audit log files are cycled through a numerical sequence. For example, if auditLogFilename=AuditLog%g.log auditLogFilecount=10 auditLogLimit=5000 then the initial audit log is assigned the name AuditLog1.file. When its file size reaches 5000 bytes, a new audit log is generated with the same name but incremented by one: AuditLog2.file. As each log reaches the maximum size, a new audit log is created and incremented by one. When the maximum log file count (10 in this example) is reached, then the process repeats itself because only one cycle of logs is maintained. The first audit log of the new cycle starts at 1 (AuditLog1), overwriting the existing file. As new logs are generated in the new cycle, they overwrite the existing ones in sequence. By default the audit logs are stored in the BMC_PROACTIVENET_HOME/server/log/ias directory. You can specify another directory path in this parameter value: for example, auditLogFilename=log/AuditLog%g.log, provided that the specified directory exists under BMC_PROACTIVENET_HOME/server.
com.bmc.sms.ixscomm.util.auditLogLimit
size in bytes of the audit log file. The default is 5000 bytes (approximately 4.88 kilobytes). While there is no predefined maximum size, BMC recommends that each log file not exceed 5 MB. indicates the number of audit log files that are cycled through during a rotation. After the specified number is reached, the cycle repeats itself, overwriting in sequence the log files of the previous cycle. The default is 1.
com.bmc.sms.ixscomm.util.auditLogFileCount
After you modify any of the properties in the ias.properties file, you must restart the BMC ProactiveNet Server.
In addition, it contains
default support files
These are internal files of the infrastructure application. They are not included in the other categories. They vary among the applications, but they include .baroc, .mrl, .wic, and .cmd files. Generally, for a cell server, this package contains the files of its KB directory and its log directory. You can choose which files to include. They also include a sysinfo.text file that captures active port connections, OS and hardware configurations, and network card details. The absolute file path to each file is included.
additional support files
This is a customizable list of files that the user can edit by adding or deleting files to or from the support package. It is designed to enable the user to add other files to the support package.
Slot Configuration files Dir files Filter files Map files Selector files Trace conf files Trace files
Description full path to configuration files (.conf) full path to *.dir files, such as mcell.dir or admin.dir full path to *.filter files full path to *.map files full path to *.selector files full path to the *.trace file full path to the trace logs
Your support files should be on the system on which the component is running. Enter the full path to the file you want to include. If you are adding multiple files, separate the complete file paths with commas. There is no limit to the number of files that you can add. To compile your support package, choose the Administer => Support Package tab. Browse to the destination folder where you want to save the list of configuration and log files, and select it. You can enter the issue number (maximum of 16 characters) if one has been assigned.
WARNING Microsoft Windows does not support the creation of files that have any of the following special characters in their file names: , \, /, ?, *, ", |, <, >. If the BMC ProactiveNet Administration Console is installed on Microsoft Windows, do not enter any of the special characters in the Issue Number slot. Otherwise, the support package creation fails.
If you do enter the issue number, assign it as a prefix to the support package name. You can type a short, but informative, description of the package (maximum of 256 characters). Then click Create Package. The file name of the support package file follows this format:
OBJECT_NAME_support_package_TIMESTAMP.zip
The OBJECT_NAME value is taken from the object slot of the selected component. The time stamp is in the format: MMDDYY_HHMMSS.
a different domain from the system on which you are running the BMC ProactiveNet Administration Console. If it does lie in a different domain, expect a delay. especially as the file approaches 500 kb or larger.
the size of the zipped or tarred file. The greater the size, the longer the delay,
In a successful support package creation, the audit log does return an error message:
Fri Aug 17 12:49:31 IST 2007 SEVERE user ADPROD\slondhe SIM_SERVER_1 :slondhe-pun-01 remove_zip_WINDOWS Stderr returned with
some error. You can ignore this error because users can still retrieve the zipped
support package automatically from the remote system without any manual intervention. If you receive a SEVERE error message on any of the other support package actions, such as saveRemoteFile, create_support_package, get_file, and getBinaryFile, it indicates that the support package creation failed. Discard the package, and try again.
Note All event information should be compliant with the event format strictures of version 1.1.00 of the Common Event Model (CEM). for more information, see the BMC ProactiveNet Knowledge Base Development Reference Guide .
2 Next, use the iadmin -ac command to register the cell with the BMC ProactiveNet Server. From the BMC_PROACTIVENET_HOME/server/bin directory, execute the iadmin -ac command as in the following example:
iadmin -ac name=sparkles_cell:key=mc:primaryHost=moondog:primaryPort=2008:failoverHos t=suncat:failoverPort=2008:environment=Production:usergroups=*
The cell is added automatically to the cell_info.list of the BMC ProactiveNet Server located in the BMC_PROACTIVENET_HOME/pronto/conf directory. It is also automatically added to the admin.dir file of the Admin cell located in the BMC_PROACTIVENET__HOME/pronto/data/admin directory, as in the following example:
cell moondog_10 moondog.bmc.com:1828 cell Admin moondog.bmc.com:1827 cell sparkles_cell moondog.bmc.com:2008 suncat.bmc.com:2008 mc mc mc
3 Add the cell entry to the mcell.dir file. By default, the file is located in the BMC_PROACTIVENET_HOME/server/ etcdirectory. 4 Restart the cell that you are registering. 5 Restart the BMC ProactiveNet Administration Console. The newly registered cell is displayed in the Infrastructure tab of the administration console. In the Event View of the BMC ProactiveNet Operations Console, you see that the cell that you have registered sends a registration event to the IAC.
In this example, you create an IAC with the name "Admin" and assign it to port number 1827.
Remote actions
While events flow only from the components to the BMC ProactiveNet Infrastructure Management interface, administrators can initiate actions on the components from the interface in the BMC ProactiveNet Administration Console. Depending on the type of component and its status, you can initiate several actions on the local or remote component.
The current run_state of the component determines which context-sensitive actions are disabled or enabled from the Actions option on the right-click menu.
444 BMC ProactiveNet Administrator Guide
The following table indicates which menu options are enabled (Yes) or disabled (blank) for each run_state of a normal cell or a primary cell in an HA configuration.
Table 51: Component state and menu options for a normal or primary cell in a high availability configuration Menu options run_state Start Cell Server Process Yes Yes Yes Yes Stop Cell Server Process Restart Cell Pause Resume Set to Server Events Events Standby Process Admittance Admittance Set to Active
state_unava Yes ilable state_starte d state_stopp ed state_pause d state_passiv None e Yes Yes Yes Yes Yes Yes Yes
If a component in an unknown state is already started and you choose Actions => Start, you receive a status message notifying you that the component is started already. The following table indicates which menu options are enabled (Yes) or disabled (blank) for each run_state of a secondary cell in an HA configuration.
Menu options run_state Start Cell Server Process state_unkn own state_active state_unava Yes ilable Yes Yes Yes Yes Yes Stop Cell Server Process Restart Cell Server Process Pause Resume Set to Events Events Standby Admittance Admittance Set to Active
Note
Menu options state_starte d state_stopp ed state_pause d state_passiv e Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Exceptions
Generally, most component objects receive the actions Start, Stop, Restart, Pause, and Resume. For cell servers, the Start, Stop, and Restart menu options in the Actions submenu are described as:
Start Cell Server Process Stop Cell Server Process Restart Cell Server Process
For other objects apart from cell servers, the Start, Stop, and Restart menu options in the Actions submenu are described as:
Start Process Stop Process Restart Process
Different actions are available for different types of components. The following table lists the main exceptions:
Table 52: Components and actions Component HA cell Exception all actions. The HA cell is the only component that allows the Set to Standby and Set to Active menu options receives the Restart action only receives the Start and Stop actions
BMC ProactiveNet Server Publishing Server 446 BMC ProactiveNet Administrator Guide
Displaying remote cells in the Infrastructure Management tab after upgrading the BMC ProactiveNet Server
Exception receives the Stop and Start options receives the Stop, Start, Restart, Pause Events Admittance, and Resume Events Admittance options
Logical components that you add to the BPPM Infrastructure Management service model receive no actions.
Displaying remote cells in the Infrastructure Management tab after upgrading the BMC ProactiveNet Server
If you upgrade the BMC ProactiveNet Server, but do not upgrade any BMC ProactiveNet remote agents, you cannot view the remote cells associated with those agents in the Infrastructure Management tab of the BMC ProactiveNet Administration Console. To display the remote cells and manage them from the Infrastructure Management tab, perform the following procedure.
Displaying remote cells in the Infrastructure Management tab after upgrading the BMC ProactiveNet Server
You can now manage the cell from the Infrastructure Management tab in the administration console.
15
Using the BMC ProactiveNet Administration Console for service monitoring
BMC ProactiveNet Administration Console Services Editor tab
The Services Editor tab of the BMC ProactiveNet Administration Console is the view that service managers, service administrators, and IT operations staff use to monitor business services. Service managers can view the service models that represent a companys business services. Service models are created by organizing service model components into hierarchical relationships that can then be navigated by operators and service managers from the Services Editor tab in the BMC Proactive Administration Console or in the BMC ProactiveNet Operations Console. In the Services Editor tab, a service manager or operator can see whether a service model component consumes the services of another service model component (consumer) or whether it provides service to another component (provider). From the service model component, IT operations staff can view and manage the underlying events in the BMC ProactiveNet Operations Console.
Figure 99 on page 450shows an example of an Service Model View. Figure 99: Services Editor tab - Service Model View
Depending on whether the default setting is set to horizontal or vertical expansion, the consumer components are displayed on the left or at the top and the direct provider components expand to the right or toward the bottom. A direct consumer or provider component is a component immediately linked to another component. The status of the provider has a direct impact relationship with the consumer component.
Click and drag the service component instance from the Results list to an empty
area of the Service Model View. See Finding service component instances to view on page 453.
3 Double-click a service component instance to open or close its related service component instances. If you double-click a node that does not have any providers and consumers, the message This object does not have any consumers/providers is displayed.
Note
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 451
The Services Editor tab navigation pane is shown inFigure 100 on page 452. Figure 100: Services Editor tab navigation pane
Table 53 on page 452 describes the elements in the Services Editor tab navigation pane.
Table 53: Description of elements in the Services Editor tab navigation pane Name Service Views tab My Services group subgroup icons Description shows the available service groups the top level for locally-defined service groups identifies user-created subgroups of components
Description identifies individual components and subcomponents the top-level node for globally-defined service groups
Find Service Components searches for service component instances that match specific criteria box Use the Show Find button in the toolbar to view or hide the Find Service Components box. Class list box Name contains text box Propagates Priority check box In SLM Agreement check box specifies the component type for the object of the search specifies all or part of the target component name select this check box to show the Priority Propagator service component instances that pass their priority to a causal component when it is impacted These components are considered the important components for your business. select to show the service components that are associated with a Service Level Agreement Note: This feature requires the BMC Service Level Management product to be installed. Results list displays the results of the component search
Note
5 Click Find. All components matching the search criteria appear in Results. 6 Drag the service component to the Service Model View. To uniquely identify each component listed in Results, you can hover the cursor over each component name to display its unique mc_udid slot value.
Tip
4 Select a Component type from the drop-down list. To view all related components regardless of type, leave the Component type set to Base Element. 5 Click Search. Components matching the search criteria are displayed in the Components list, as shown in Figure 101 on page 455. Figure 101: Related components - providers search
6 To view a component in the Components list, select the component, right-click, and then select View Service Model.
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 455
If you want to modify or view a SLM agreement or a service target when you are viewing the Dashboard, click the SLM Console tab in the SLM application, then select an agreement from the list to view in the Agreement form.
Server ModeThis field displays the status of the server and indicates whether it
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 457
The General subtab also provides you information about the IP address and ports for the primary and secondary servers. Figure 102: Impact Manager Information dialog box - General subtab
Note
To refresh the contents of the Impact Manager Info dialog box, click the (Refresh) icon.
For the various user roles and permissions and the operations possible for various users, see the Default users, user groups and roles on page 210.
Description specifies the status computation model to use for the component. Values are: Standard (default) Self_preferred Cluster Weighted_cluster
Account ID Category Company Aliases Department DeviceID Floor Home Page URI Host name Impact Cost Per Second Off Service Schedule Item Manufacturer Name Model Notes Priority - During Service Schedule Priority - Off Service Schedule Propagates Priority
account ID category company Each component instance must have a unique Alias. If more than one component instance has the same alias, publishing will fail. department unique identification for a device floor URL of the home page of the business if you are creating a computer system CI, specifies the name of the computer system on which the CI resides; you must enter a value for this field specifies the cost per second associated with the component during off-schedule time item name of the manufacturer model number and details, if available additional information about the model specifies a priority value that you assign to the component. This value can be between one and five, with five being the lowest priority and one being the highest. specifies a priority value that you assign to the component when for the offschedule time. This value can be between one and five, with five being the lowest priority and one being the highest. specify if you want the priority to be propagated to the causal components. The value can be Yes or No.
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 461
Description specify user groups that have read permissions. Type user groups in square brackets, each separated by a comma. While creating a component from BMC IX, if you do not enter any value in the Read Users and Write Users fields of the component properties, by default these fields are populated with a value Full Access when you save the properties
region where the component is located physical location of the component By default, the value is 24X7X365 (always in schedule) the method used to compute the self-priority of a CI. Choose one of the following options: BASE_PRIORITY COST WORST_SLA_STATE
Self Priority Function Param Serial Number Short Description SiteGroup Type Users Affected Version Number Write Permissions for Groups
parameter that you can set to determine the priority of a CI serial number of the component if one exists Default value is n/a details of the business associated with the CI type of CI the number of users impacted if the CI becomes unavailable version number specify user groups that have write permissions. Type user groups in square brackets, each separated by a comma. While creating a component from BMC IX, if you do not enter any value in the Read Users and Write Users fields of the component properties, by default these fields are populated with a value Full Access when you save the properties.
Description Specify if High Demand Low Demand Default value of this slot is High Demand.
After you have specified the mandatory fields, the Apply and OK buttons are enabled. 3 Click Apply and click OK.
Note
2 In the Edit Service Component dialog box, modify any of the component settings listed in Table 20 on page 210, except for the following fields, which you cannot edit:
ID Class Home Cell Schedule ID
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 463
3 Click Apply to save the changes, or click OK to save and exit the dialog box.
The Delete Confirmation message dialog box is displayed with the following message:
Do you really want to delete this component?
2 Click Yes.
On the navigation pane, select the component. On the navigation pane or from Results, right-click a component and choose
Drag and drop the component from either the navigation pane or Results onto
2 On the Services Editor tab navigation pane or from Results, right-click a component and select Add Relationship. 3 In the Find Service Components pane, select a data class from the Class list. 4 In the Name Contains field, enter a comparison value. 5 If you want the priority to be propagated to the causal components, select Propagates priority. 6 Select the In SLM Agreement check box if required. 7 Click Find. All components matching the search criteria appear in the Results pane. 8 From the Results pane, select the appropriate component and click OK. 9 Optionally, instead of steps List item. on page 402 to List item. on page 80, drag and drop the component from either the navigation pane or Results into the relationships pane on the component to which you want to add the relationship to. 10 In the Edit Relationships dialog box, specify which component should be the consumer and which component should be the provider by selecting the required arrow direction. 11 Specify the type of relationship:
Direct, Increasing, or Decreasing Directthe status of the consumer component may be identical to that of its
provider component, depending on the events directly affecting the consumers status, which is also taken into account.
of the provider component by one level. For example, if the provider status is WARNING, the consumer status is INFO.
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 465
than that of its provider component by one level. For example, if the provider status is WARNING, the consumer status is MINOR.
Active or Inactive ActiveAn active relationship is an impact relationship and indicates that
the status of the consumer instance depends in some measure on the status of the connected provider instance. the dependency is irrelevant to the model. The components are only logically and visually linked.
12 In the Status Weight box, accept the default value or enter a number for the consumer object. (Status weight is used in the WEIGHTED_CLUSTER status computation model. For more information about component status computation, see BMC Impact Solutions Service Modeling and Publishing Guide.) 13 Optionally, in Description, type a description for the relationship. The default description changes based on the relationship type that you select as follows:
DIRECT relationship (linear impact) DECREASING relationship (reducing impact) INCREASING relationship (increasing impact)
Note To be able to add a relationship between two components from two different cells, you must create an entry of both the cells in the mcell.dir file for both the cells and then restart these two cells.
Drag and drop the component from either the navigation pane or Results into
2 From the component details pane, click the Related Components tab. 3 Select the required component and click Edit Relationship. Alternatively, from the menu bar, choose Edit => Edit Relationship.
The Edit Relationships dialog box opens. A list of components appears under
Relationships.
4 If required, select the required relationship and click Add Relationship. For details about adding a relationship, see To display remote cells in the Infrastructure Management tab on page 447. 5 If required, select the required relationship for deleting and click Remove Relationship. For details about removing a relationship, see To remove a Service Model component relationship on page 468. 6 If required, select the required relationship for editing and click Edit Relationship. 7 In the Edit This Relationship dialog box, specify which component should be the consumer and which component should be the provider by selecting the required arrow direction. 8 Specify the type of relationship:
Direct, Decreasing, Increasing Directthe status of the consumer component may be identical to that of its
provider component, depending on the events directly affecting the consumers status, which is also taken into account.
of the provider component by one level. For example, if the provider status is WARNING, the consumer status is INFO. than that of its provider component by one level. For example, if the provider status is WARNING, the consumer status is MINOR.
Active or Inactive
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 467
the status of the consumer instance depends in some measure on the status of the connected provider instance. the dependency is irrelevant to the model. The components are only logically and visually linked.
9 Optionally, in Description, type a description for the relationship. The default description is DIRECT relationship (linear impact). 10 Click Apply and click OK.
Drag and drop the component from either the navigation pane or Results into
2 From the component details pane, click the Related Components tab. 3 Click Edit Relationship. The Edit Relationships dialog box opens and displays a list of components under the Relationships heading. 4 Select the required component and click Remove Relationship. The Remove Relationship dialog box opens and displays the following message:
Do you really want to remove this relationship?
5 Click Yes.
Launching BMC Atrium Explorer from the BMC ProactiveNet Administration Console
Launching BMC Atrium Explorer from the BMC ProactiveNet Administration Console
You can launch BMC Atrium Explorer from the BMC ProactiveNet Administration Console to access the BMC Impact Model Designer so that you can edit the service model components that are imported and synchronized with the BMC Atrium CMDB.
Using a customized SSL certificate to create a secure connection to the BMC Atrium CMDB
By default, BMC ProactiveNet uses a default keystore BMC Atrium CMDB SSL certificate to establish a secure connection when BMC Atrium Explorer is launched. If you want to use a customized keystore SSL certificate instead of the default, you must import the certificate before you execute the synchronization task. Perform the following procedure.
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 469
installDirectory \pw\jre\bin
The variable installDirectory is the location where you installed the BMC ProactiveNet Server. 3 Run the following command:
keytool -import -alias uniqueAliasName -file pathToCustomCertificate keystore installDirectory\pw\pronto\conf\pnserver.ks
The uniqueAliasName variable is the name of the file where the certificate will be stored, and the pathToCustomCertificate variable is the location where the certificate that you imported is stored. 4 When prompted for the keystore password, enter the value get2net. 5 When prompted to confirm that you want to trust the certificate, enter Yes. 6 To verify that the certificate is imported, enter the following command:
keytool -list -keystore installDirectory\pw\pronto\conf\pnserver.ks
The name of the certificate is displayed in the resulting list. 7 Open a command prompt and enter the following command to restart the jserver process of the BMC ProactiveNet Server.
pw process restart jserver
A monitor can only use one alias to refer to the CI, even when the CI has multiple
aliases.
This is important in a scalable deployment scenario where the same alias is used on multiple servers.
The alias is used in event to CI associations.
When an event is generated on a metric that the BMC ProactiveNet Server is monitoring, the alias for the event is the alias used for the monitor to CI mapping. This alias is traced to a CI, and the ID slot of the event is filled. If no matching CI is found, based on the alias, the event is associated with a device.
Use cases
By default, BMC ProactiveNet devices are associated to the Computer System configurable instance (CI). Also by default, a native abnormality event is associated with the monitor of the BMC ProactiveNet devices ComputerSystem CI, unless the mc_smc_alias is set for the event. In some cases, the user might want to associate the monitor's event with a different CI. For example, a higher level CI, such as Business Service, or a more granular CI under the Computer System CI. The following examples illustrate how you can use this feature:
Associate a monitor's events to a higher-level CI
A monitor might collect metrics that represent the overall health of a service or application, for example, sales volume per minute. By default, any event on the monitor is associated with the monitor's parent device. However, you might want to associate the monitor to a higher level CI, for example, Business Services.
Associate a monitor's events to a more granular CI
A service model might break a device into a ComputerSystem plus other lowerlevel CI components. However, you might want events on the device's monitors associated to a more granular CI. For example, if BMC ProactiveNet is monitoring a database server, you could associate the database monitors with the Database CI, and not with the ComputerSystem CI.
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 471
Delete monitors from the list by selecting one or more and then pressing delete or
unassociate.
Select a group, and then all monitors in that group are added to the list.
If a monitor added is already mapped to another CI, a warning dialog is displayed. A monitor can only be mapped to one CI at a time.
Note
Note
To associate monitors to a CI
1 In the Service Model view, right-click on the component and select Edit Component. 2 In the Edit Service Component window, find the values for ID and Alias, and write those values down. The value of an alias can be an array of aliases. 3 In the Service Model view, right-click on a component and choose Associate Monitors. The CI Monitor Associations window is displayed. 4 In the CI Monitors Associations window, in Component, the class (BMC_Application) and name (MyApplication) of the component are displayed, along with a list of the component's aliases. By default, the first alias in the Alias list is associated to the monitors. To associate a different alias to the monitors, select another alias from the Alias list. 5 The Add Selected option is highlighted when a monitor is selected. You can add as many monitors as you want by clicking Add Monitors and Copy From Group. 6 To remove monitors, select the monitors you want to remove (press CTRL +SHIFT for multiple-selections) and click Remove Selected. 7 After making all desired associations, click Apply and Close.
model, you can set the aliases when the monitors are created.
If you have multiple BMC ProactiveNet Servers with one or more child servers
collecting data and feeding events to a parent or master BMC ProactiveNet Server, you can associate a monitor to a CI alias on a child server. The CI alias need not exist on the child server, either. If the child server does not have a service model, the monitors events are not associated to a CI on the child server. However, when the event is propagated to the parent or master BMC ProactiveNet Server, the CI alias for the event is resolved to a CI alias in the service model on the parent or master BMC ProactiveNet Server.
Chapter 15 Using the BMC ProactiveNet Administration Console for service monitoring 473
To associate a monitor to a CI when the CI alias is unknown to the BMC ProactiveNet Server
1 In the Administration Console, select a BMC ProactiveNet native monitor or an adapter monitor and click Add or Edit. The Add or Edit window opens and provides fields for CI ID and CI Alias. 2 In the CI ID and CI Alias fields in the Add or Edit window for the selected monitor or adapter monitor, enter the values for the component ID and Aliases. The component is now associated with the monitor or adapter monitor selected.
How aliases are used depends on how the BMC ProactiveNet Servers are deployed
The deployment scenario for BMC ProactiveNet Servers can determine how aliases are used, as in the following examples:
Multiple BMC ProactiveNet Servers using the same CMDB.
In this case, the same service model is shared and the CIs on the BMC ProactiveNet Servers have the same alias.
Multiple BMC ProactiveNet Servers using different CMDBs.
In this case, there are multiple service models. The expectation is that the aliases are the token IDs used by event sources and that the cell or other aliases are the same.
Multiple BMC ProactiveNet Servers using a local cell or Service Model.
In this case, you are expected to set the same alias for the same CI.
16
Managing cells
This chapter describes how to manage and configure cells.
To view and create test event management policies, select a test cell in the Event
To view test service model components, use the Find tool in the Services view and
If you created multiple cells for an environment, configure the Creating a new propagation policy cells so that they can communicate with other cells in the network. on page 342 Events can be processed locally or selectively propagated to Configuring event slot propagation other cells. To configure the event slots that must be propagated on page 481 when they are changed configure the propagation configuration file. If inbound connections to the cell are disallowed in a protected environment, the connection has to be established within the protected zone to allow a connection between an external client and a cell in the protected zone. To add a time stamp to a slot so that the date and time is recorded when the slot is changed, configure the mcell.modify file. Configuring passive connections on page 486
Task 7 8
Description If desired, you can encrypt communication among the various components. Set the default client parameters executing CLI commands.
For more information, see Configuring encryption on page 488 the BMC ProactiveNet Command Line Interface Reference Manual
2 Create line entries using the format Parameter=Value based on the syntax rules described in Rules for cell configuration parameter syntax on page 477. 3 Save the changes. 4 Either reload the cell configuration or restart the cell for the changes to go into effect. For more information, see Reloading cell configuration on page 493.
supported Boolean values are Yes/No and On/Off. oN are equally valid.
The Boolean values are not case sensitive, so, for example, On, ON, on, and even
Do not enclose the value in quotation marks unless you want the quotation marks
Times are stated in seconds unless otherwise specified. By default, all parameter settings are disabled, that is, commented out with a #
sign at the beginning of the line of code. Enable a parameter setting by removing the # sign that precedes it.
For more information on cell configuration parameters, see mcell.conf file parameters on page 557
runtime relative pathstarts with ./ or ../. The path is relative from the cells
working directory. The working directory is the root directory (/) when it runs as a daemon or a service. When running in foreground, it is the directory where mcell is started. file directory, or, for program paths, from the kb\bin directory.
configuration relative pathall other path values are relative from the cells log
Path values can contain the substitution parameters $VAR or %X. Any $VAR parameter is substituted by the value of the environment variable VAR. The following table lists the possible %X substitution parameters. Table 57: Substitution parameters for %X in path value parameters
Parameter
%H %C
Description cell home directory (MCELL_HOME) cell configuration directory (etc/ CellName) variable data directory (var/ CellName) log file directory (log/ CellName) temporary file directory (tmp/ CellName) Knowledge Base binary directory (kb\bin) program name cell name
%V
%L %T %B %P %N
Parameter %U
ConnectionPortRange syntax
Figure 105 on page 479 shows the syntax of ConnectionPortRange. Figure 105: ConnectionPortRange syntax
PortRange = PortSequence{, PortSequence} PortSequence = Port[-Port
A range is a number of sequences, each of which is a consecutive range of ports. The cell attempts to access all ports in the specified order. The default is to use any of the ephemeral ports. For example,
18281840 specifies a range of ports 1828 through 1840 1828, 1829, 1840 specifies the sequence of ports 1828, 1829, and 1840
Table 58: Scale factors that can be used for configuration parameters in the mcell.conf file
Symbol s m h d w k, K M G Meaning seconds minutes hours days weeks kilo mega giga Factor 1 60 3600 86400 604800 1024 1048576 1073741824
If you add a scale factor to a numerical configuration parameter value, then that value is mulitpled by the scale factor that you use. For example, if you add the minutes scale factor to the following parameter
#MessageBufferReconnectInterval=2
so that it becomes
#MessageBufferReconnectInterval=2m
then the value for that parameter is equal to 120 (2 times the scale factor for minutes, which is 60). Without the scale factor, the parameter specific unit of measure is used, which is seconds for most time related parameters. So in this example, without the scale factor, the value for the #MessageBufferReconnectInterval is 2 seconds. With the scale factor, the value changes to 2 minutes (120 seconds).
You can copy and edit any configuration file located in the MCELL_HOME\etc
directory.
2 Either reload the cell configuration or stop and start the cell so that the changes take affect.
When a cell starts, it searches for configuration files in the MCELL_HOME\etc
\ CellName directory. If no configuration file is found, the cell uses the configuration file in the MCELL_HOME\etc directory. For example, if you copy the mcell.conf file into the MCELL_HOME\etc\ CellName directory and modify it, the cell reads that mcell.conf file and all other files in the MCELL_HOME\etc directory.
MCELL_HOME/log/ CellName contains the cells default trace file MCELL_HOME/var/ CellName contains the persistent state of the cell (mcdb,
xact)
For the mcell.propagate file to be effective, one or more Propagate rules must be running. For information about Propagate rules, see the BMC Knowledge Base Development Reference Guide . The format is Slotname = Value, where: Slotname = slot name or CLASS for class-specific slots Value = sequence of { b = backward f = forward } You can specify a slot in the base CORE_EVENT class. However, if you want to specify a slot outside those in the base CORE_EVENT class you must use the CLASS specifier, which means that all class-specific slots are propagated in the direction given. Table 59 on page 482 lists the parameters in the mcell.propagate file and the defaults.
Table 59: Default mcell.propagate options Parameter CLASS mc_modhist Action Performed propagates changes to the class-specific slots up (forward) within the cell hierarchy propagates changes to the mc_modhist up (forward) within the cell hierarchy This is a system defined slot that requires such propagation. mc_notes mc_operation s mc_owner mc_priority msg repeat_count severity status propagates changes to notes attached to an event up (forward) within the cell hierarchy propagates all of the operations that have been performed on that event propagates the person to whom the event has been assigned propagates the priority of an event propagates any messages associated with the event propagates changes to repeat_count up (forward) within the cell hierarchy propagates severity value changes up (forward) within the cell hierarchy propagates status value changes in both directions, backward and forward, in the cell hierarchy f f f bf bf f f bf Default Values f f
If you have multiple remote cells installed, you might want to use event propagation to distribute the event processing load among the cells or to back up events on another cell for failover.
Figure 106 on page 483 illustrates a cell network that is collecting and processing numerous events in a distributed environment. Figure 106: Distributed event management using event propagation
In this illustration, the lower-level cells process the source events and then propagate (or forward) the events on to higher-level cells according to a Propagate rule or an Event Propagation policy. As events pass through a series of cells, the cells discard unneeded events, identify and leave behind unimportant events, and resolve some of the problems reported by other events. To enable event propagation, perform the following tasks:
enable cell-to-cell communication in mcell.dir configure propagation parameters in mcell.conf specify the slots whose modification has to propagate in mcell.propagate either write a Propagate rule or define an Event Propagation policy
although the practical limit of the buffer size is the amount of available memory. Once the maximum defined buffer size is reached, additional requests will fail. When automatic expansion occurs, an MC_CELL_RESOURCE_EXPANSION event is generated. An expanded buffer will contain free space after propagation has resumed. To free memory resources, the buffer will be reduced when it contains more than the specified amount of free space. Reduction will leave enough free space to avoid the need for an immediate expansion. The buffer will never be reduced below the specified minimum size. When the buffer is reduced, an MC_CELL_RESOURCE_REDUCTION event is generated. Parameters controlling the buffer size are located in the mcell.conf file. For information on configuring these parameters, see Propagation parameters on page 570.
Host/
Attribute Type
Description type of component. It can be cell cell name gateway. typeGateway of type type gateway.jServer - predefined jServer gateway type admin - named Impact Administration Server (IAS)
Name EncryptionKey
Name is an abstract name for the component. Component names are not case-sensitive and may be any alphanumeric string, including underscores (_). String to be used as part of the key for the encryption of the communication between a cell and the component. Default value is mc. Note: If the string has an odd number of characters, the last character is ignored. For an IAS component, the string must have the form UserID / Password, or be 0. If the value is non-zero, the indicated UserId and Password are used as IAS login credentials.
IPAddress/Port Host name or IP address and port number on which the component is listening. Default port number for a cell is 1828.
mc
or groups (domains).
it propagates events. A cell does not need to be configured to communicate with the cell from which it receives events, even for backward propagation.
The mcell.dir file may define any number of entries, but each entry must be on a
separate line.
You can place mcell.dir files on remote mountable partitions or distribute them
Note A passive connection is only possible with the server type clients, such as the cell and gateway clients.
2 For the destination cell, replace Host:Port with 0 as shown in the following example:
cell cellName EncryptionKey 0
3 Save the changes. 4 Either reload the cell configuration or stop and start the cell. When a cell or gateway client needs to connect to an isolated destination cell, it cannot establish a connection because it does not have the IP address and port number of the cell. Instead, the cell or gateway client registers the destination and waits for a connection from it.
The cell slot, as defined in the MC_CELL_HEARTBEAT superclass, gives the name of the passive client. The enable slot in the superclass specifies whether or not monitoring and reconnection is enabled. The cell attempts to connect to passive client targets as configured with the standard connection parameters. As soon as a connection is established, the connection is reversed. At that moment, the client takes up the connection and behaves as an ordinary client.
2 Create a line entry containing the name of the slot whose modification is to be time stamped. Figure 109 on page 488 shows an example of the mcell.modify file. Figure 109: mcell.modify file
# Configuration of slots affecting mc_modification_date when modified # Format : # SlotName # Special name : CLASS : specifies all class-specific slots status severity mc_priority repeat_count CLASS
3 Save the changes. 4 Either reload the cell configuration or stop and start the cell.
Configuring encryption
You can encrypt communication among the various BMC Impact Solutions components. To enable encryption, make the appropriate settings in the following locations:
the cells configuration file mcell.conf the CLI configuration file mclient.conf the BMC Impact Administration server used by BMC ProactiveNet
Administration Console
If Encryption is set to Yes, encrypted communication to and from the cell is enabled, but not required. For example, if a BMC ProactiveNet Administration Console does not have encryption enabled, then the communication with that particular BMC ProactiveNet Administration Console console is not encrypted.
488 BMC ProactiveNet Administrator Guide
ForceEncryption requires encryption for all communications. If the BMC ProactiveNet Administration Console attempts an unencrypted connection to the cell, the connection is rejected. The encryption process uses the EncryptionKey value as part of the encoding key. If there is no encryption, the EncryptionKey value has no effect.
For more information about the CLI configuration parameters, see the BMC ProactiveNet Command Line Interface Reference Manual.
Each pair is converted to an 8-bit value. The first character of the pair determines
the four most significant bits, the second character determines the four least significant bits.
corresponding hexadecimal value (for example, 8 gives the value 8, B gives the value 11).
1 The component scans the cell configuration file, mcell.dir, for that cells connection information. 2 BMC ProactiveNet Administration Console retrieves the cells connection information from the BMC ProactiveNet Server. 3 The component opens a connection to the cell. If the cell has Encryption=yes, the component can use encrypted or non-encrypted communication. The component must use encrypted communication if the cell has ForceEncryption=yes and Encryption=yes. If the communication is encrypted, both the cell and the component must use the same EncryptionKey values to establish communication.
Information retrieval
A component must have the address and port of a cell to establish communications with it. To establish encrypted communications, the component must also have the encryption key of the cell. BMC ProactiveNet Administration Console and the CLI commands determine the information in different ways:
BMC ProactiveNet Administration Console acquires the information from the
BMC Impact Administration server (cell_info.list ). location using one of the following methods:
directly from the CLI command
BMC Impact CLI commands obtain the information by determining the server
from CLI configuration parameters in mclient.conf from mcell.dir if you use the -n CellName option
Default values
The default value for CellName is the name of the host (HostName). The default value for the port is 1828. When the mcell.dir file is present, the default value is EncryptionKey=mc at installation. BMC Software recommends that you modify this value for security. If the mcell.dir file is absent on the host and you do not specify an encryption key, the CLI command uses 0 (zero) as the default value for EncryptionKey. This value enables encrypted communications.
You can disable encryption by setting the configuration parameter to Encryption=No. You might want to use this setting to disable encryption while tracing.
Note
These conditions apply with the default installation. However, if the mcell.dir file is present on the host, and the file specifies the encryption key, you are only required to specify the cellName.
When the Mask is all zeros, any address matches regardless of the value of Addr. For all Mask bits whose value is one (1), the equivalent bits in Addr must match the equivalent bits in the source address. Table 60 on page 492 lists the IP address parameters.
Description all systems allowed (same as 0.0.0.0/0) no system allowed (00.00.00.00 is not a valid IP address) any system from the 198.12. xx . xx network can connect enables any host with an IP address lower than 128.0.0.0, because it indicates there is only 1 bit in the mask Only the highest-order bit is considered and must be the same as 127, which is a 0 bit.
AllowConnectionFrom=0./32
AllowConnectionFrom=198.12./255.255.
AllowConnectionFrom=127.0.0.1/1
AllowConnectionFrom=198.12.33./ 255.255.255.:198.12.92./255.255.255.
The default is 0./0, indicating that the server should accept connections from any source. Usually this is useful only for testing or debugging, or for use with a system that is isolated from the network. To specify one single address, specify the address without a mask, or use a 32-bit mask. The following examples are equivalent ways of specifying a single address:
127.0.0.1 127.0.0.1/32 127.0.0.1/255.255.255.255
When you specify more than one address per mask pair, a system that matches at least one of the pairs can accept a connection.
The generated internal event is of class MC_CELL_ABORT, which is a subclass of MC_CELL_STOP. MC_CELL_ABORT has the following slots:
exception a textual description of the exception that has been caught dump_datathe path of the file that contains the collected dump data
You may send the dump data to BMC Software Support for analysis. If CellExceptionHandlingEnabled is set to No, when the cell encounters an exception, the cell process will terminate and will not become available until the cell process is started manually.
Table 61 on page 494 lists the specific instances in which the reconfigure feature can be used and the effect that results from its use. Table 61: Files for cell reconfiguration
Type cell directory Name/Directory a mcell.dir Result of reconfiguration This internal directory is replaced with new contents from the mcell.dir file. Associated data objects are replaced as well. Connected clients and destinations remain connected, even if the corresponding directory entries are modified. Tracing is adapted and has the same effect as through the mcfgtrace CLI. The cell restarts automatically.
mcell.trace mcell.conf
mcell.propagate mcell.modify
KB collector KB program
KB data
kb\data \kb\records
a For mcell.dir and mcell.trace, a hang-up signal on a UNIX platform performs maximum reconfiguration
without a cell restart. For information about restarting a cell, see Interpreting cell execution failure codes on page 830.
defined in %MCELL_HOME%\etc\ CellName \kb\bin on Windows platforms and in $MCELL_HOME/etc/ CellName /kb/bin on UNIX platforms.
Actions are defined in .mrl files located in the kb/bin directory and listed in .load in that directory. The action programs or scripts can be located in the kb/bin/A or kb/bin/ Arch directory. They can also be located anywhere else on the system.
The user who starts the cell must be able to write to log and trace files in the directories specified through configuration parameters SystemLogDirName, SystemTmpDirName, and SystemVarDirName. Default values for these are the log and tmp subdirectories of MCELL_HOME.
Note You can change all configurable cell parameters by making changes in the configuration file, mcell.conf. When you start the cell, the cell looks for the configuration file in the default location, MCELL_HOME\etc\cellName \mcell.conf. Use the -c option with the mcell command to have the cell look for the configuration file in a specified location.
On Windows computers, you can start a cell by using one of the following options:
Windows Services the net start command from a command prompt window
mkill -n cellName
If you do not use the -n option when stopping a cell, the default cell, named hostName, is stopped.
Note
When used without the -d option, mcell contacts the Service Control Manager to start itself as a service. It uses mcell_%N as a service name. %N is the cell name as specified by the -n option. Without the -n option, the default cell name is the hostname.
Note
By default, two cell groups labeled MyProduction and MyTest are created during the installation process. You can edit and delete these cell groups. You can create cell groups and name them according to your organizational needs. For example, you can create a cell group for each of the office locations in your enterprise. Also, as your environment changes, you might need to change the names of the cell groups that you create.
5 Click OK.
The new cell group is displayed in the navigation pane.
2 In the Configure Administration Settings dialog box, click the Impact Managers subtab. 3 From Selected Impact Managers, select the group that you want to remove. 4 Click Remove. 5 In the Delete Group confirmation dialog box, click Yes to remove the cell group. 6 Click OK.
Figure 111: Available Impact Managers list for a user account with administrator permissions
3 From Available Impact Managers, select the cell that you want to add to the console. 4 From Selected Impact Managers, select the group to which you want to add the cell.
To select nonadjacent cells, select a cell, hold down the Ctrl key, and select each
5 Click the right arrow to move the selected Impact Manager to the selected Impact Manager group.
Tip You can also select a cell from Available Impact Managers and drag it to the appropriate cell group in Selected Impact Managers.
6 Click OK.
The cell that you added is displayed in its cell group in the navigation pane.
context
Calculation is performed on a 60-second basis, so every minute the counters are restarted. Counts from the last five minutes are retained. Running counters are reset only on demand. The resulting metrics are:
short termtotal count of the last complete one-minute interval medium termsum of the five last, completed one-minute intervals long termrunning total
Metrics are stored in MC_CELL_METRIC data objects, one object instance for each metric. Each metric mentions the subject. For each of the short-, medium-, and longterm results, it contains the length of the interval, in seconds, and the total count. An average per second is also provided, rounded to an integer. Other averages per second, minute, or hour can be calculated by the application from this information, if needed. A configuration parameter, CellMetricsEnabled , determines whether metrics are collected or not. The mcontrol CLI is used to switch metric collection on and off, and to reset the counters. The duration of the short- and medium-term metrics are configurable using the cell configuration parameters. For more information, see Cell configuration parameters on page 558. Short- and medium-term metrics are reset whenever metrics are disabled. Metrics can be retrieved through rules by data object access, or through a command. The mgetinfo CLI can use that command. The received event counter does not include incoming messages that cannot be parsed as events. It does include events of nonexistent classes or events with erroneous slots. These are added to the erroneous event counter. Internally generated events are counted as received events. Dropped events include those that are dropped when an event with the same universal ID exists. Table 62 on page 501 lists the metrics data objects MC_CELL_METRIC slots.
Table 62: MC_CELL_METRIC slots Slot
description long_average long_interval long_total medium_average medium_interval medium_total short_average short_interval
Description metric description long-term average, per second long-term interval lengths, in seconds long-term total count medium-term average, per second medium-term interval lengths, in seconds medium-term total count short-term average, per second short-term interval lengths, in seconds
Slot
short_total subject
Value browser, Console, mcontrol, mkill, mposter, msetmsg, msetrec mposter, msetmsg, msetrec
Every parameter corresponds to a reporting clients set. Such a set has a positive and a negative list. Clients that belong to the positive list will have their operation reported while operations performed by clients on the negative list will not be reported. Clients that are not named in the parameter are considered to be on the default list. The default list initially is the negative list. The default list can be modified through a special setting of the parameter. A value for a reporting configuration parameter consists of a comma separated sequence of client names. Every client name can be prefixed with a minus sign (-) or a plus sign (+). The client name prefixed with the minus sign (-) is added to the
502 BMC ProactiveNet Administrator Guide
negative list. When not prefixed, or prefixed with a plus sign (+), it is added to the positive list. The special value ALL in place of a client name refers to the default. Including ALL or +ALL modifies the default list so it becomes the positive list. With -ALL, the default list is the negative list. Both parameters could include - ALL, as this is the default setting for clients that are not explicitly mentioned. The superclass for client operation related events is MC_CELL_CLIENT. The following table lists the slots.
Table 64: MC_CELL_CLIENT slots Slot
client_location client_name client_type
Data the location of the client as IPAddress : Port the client's name, as announced by the client, or noname type of client, such as adapter, CLI, console, cell
An attempt to connect using an invalid encryption key generates an internal event, MC_CELL_UNALLOWED_CONNECT, that contains the slot reason, which details why the connection is refused.
MC_CELL_DISCONNECT to represent a disconnect.
Another class, MC_CELL_MODIFIED_EVENT, represents the operation of modification of an event. Table 65 on page 503 lists the slots.
Table 65: MC_CELL_MODIFIED_EVENT slots Slot
event requestor
Data universal event ID of the event being modified identification of the user that performed the modification
the trace configuration file, mcell.trace tracing parameters in the mcell.conf configuration file
You can also configure cell tracing using the mcfgtrace command. For further information, see the BMC ProactiveNet Command Line Interface Reference Manual.
Configuring mcell.trace
The trace configuration file, mcell.trace, configures the tracing of the cells operation. Tracing messages are divided in several levels. Every module of the cell can be configured differently. An output destination can be determined per message level and per module. Messages also can be disabled at the same granularity. The default location is MCELL_HOME \etc. The configuration commands in mcell.trace are incremental. Every new command adds to the configuration, possibly overriding previous commands either completely or partly. Figure 112 on page 504 shows the format of a configuration line in the mcell.trace file. Figure 112: Format of configuration line in mcell.trace file
<Module> SWITCH <Level> <Switch> <Destination> <Destination>
Table 66 on page 504 lists the parameters that must be defined in a configuration line.
Table 66: Trace configuration file parameters Parameter
Destination
Description destination file name or predefined value for the selected trace messages or switch predefined values: nodisables these tracing messages consolesends to the console device stderrsends to standard error stream
Parameter a Level
Description message severity value level predefined values: FATAL ERROR WARNING INFORM VERBOSE
Module
name of module, each of which corresponds to a particular category of information, such as filtering or configuration; values are as follows: ACTION COLLECT COLLMAP CONFIG CONTROL DATAPROC DBDATAID DBEVTID DBEVTTM EVTLOG EVTPROC EXPORT FILTER HEARTBEAT INTEVT MC2TEC MCBAROC MESSAGES METRIC PROPAGATE QUERY RECOVERY RECTRL REGEX REGULATE RESULT ROLES RULES SERVICE SRVMGT STATBLD SVCMGT SVRCOMM SVRDIR SYNCH SYSPROC TRACE
SWITCH Switch
keyword that enables access to a sublevel or category of messages for a module switch name
In addition to sending trace output to one of these destinations, you also can send trace output to another cell. For information, see Sending trace output to another cell on page 507.
A trace destination file can be located anywhere, but the BMC Impact Solutions process must have write access to that location. The MCELL_HOME \tmp\ cellName directory is for temporary files only. A trace file placed in that directory will be deleted by the cell when it restarts. To maintain your trace file across cell sessions, place it in a different directory.
WARNING
as events
add a propagate rule to the Knowledge Base to specify which trace log events
Once configured, the cell trace module will generate an internal event for each trace log message.
log_module: STRING; log_level: MC_LOG_LEVEL; log_src_file: STRING; log_src_line: INTEGER; log_msg_id: STRING; IMCxxxxxxC) log_args: LIST_OF STRING; log_text: STRING; }; END
------
Name of the module producing the message Message level Source file name Source file line number Unique message identifier (form BMC-
The log_time date and time slot is an integer in timestamp format. The textual representation of the log message log_text uses the originating cell's local message catalog.
This setting specifies that events must be generated for messages from all modules, of all but the VERBOSE level. Event tracing should be configured with care, as it may produce an excessive number of events. In particular, VERBOSE level messages should not be configured as events. For more information about the trace configuration parameters in mcell.conf, see Trace parameters on page 581.
WARNING
Adding a propagate rule to the Knowledge Base to specify which trace log events have to be propagated to which destination(s)
The propagate rule syntax is described in the BMC Knowledge Base Development Reference Guide.
Data the error number the part of the processing command that has the error an error description message the position in the rule source where the error occurred the mc_ueid of the event that was being processed
If the modification applies to all modules, then log_module=ALL. If the modification applies to all message levels, then log_level=ALL. The log_destination slot contains the full path to the destination file, in normalized (UNIX) form. Other possible values are:
noindicates disabling
stderrindicates redirection to the standard error stream consoleindicates redirection to the console terminal
Description invalid command line options used bad home directory specification through option -l no home directory could be determined specified home directory is invalid internal initialization failure tracing configuration failed system process handling module initialization failure logging facility initialization failure service control module initialization failure Knowledge Base load failed message handling module initialization failure internal object initialization failure event processing module initialization failure saved state reload failed query handling module initialization failure
Code
59 67 69 77 79 97
Description service activation failed internal object module initialization failure metrics initialization failed data processing module initialization failure metrics activation failed service setup failed
3 To refresh the information in the Workload tab of this dialog box, click Refresh in the top right corner of the tab.
17
Configuring StateBuilder and gateways
This chapter describes how to configure the StateBuilder and gateways for exporting events and contains the following topics:
Description lock file indicating StateBuilder activity transaction file generated by the cell terminated transaction file, where n=1 is the oldest transaction file terminated transaction history file corresponding to mcdb.t Timestamp t in the xact.t file refers to the mcdb.t file to which the transactions lead.
There is also a statbld.trace file for the configuration of StateBuilder tracing. For further information, see Configuring tracing for StateBuilder on page 523. The StateBuilder uses the gateway.export file in conjunction with its statbld.conf file to export event data. For more information, see the StateBuilder configuration file on page 514and Exporting events on page 521.
uses Boolean values to specify whether to export data No sets path to the gateway.export file indicates whether discarded events are included in the export file Discarded events are those that were dropped in the first four rule phases: Refine, Filter, Regulate, and New (Update). %H/etc/%N/ gateway.export
No
ExportTriggerArguments
sets the arguments to be passed to the executable serving as the export trigger program Value is interpreted as a sequence of space-separated arguments, so spaces within each argument are not allowed.
blank; no arguments
ExportTriggerProgram
sets the program to execute after exporting data The value is interpreted as a path. See the mcell.conf file for special syntax for a path.
blank
Parameter StateHistoryCount
Description sets the number of state files to retain in the history Each time a new saved state is produced, the oldest state is removed.
Default value
3
Gateway configuration
This section discusses general message formatting that applies both to StateBuilder export and to gateways. Gateway specific message formats are described in a gateway configuration file. The location of this file for gateway of a particular type is determined from the Gw Type ConfigFileName parameter of the cell. Its default value is %H/etc/gateway. Type where Type represents the type of gateway. Example default parameter values for TEC and jServer gateways:
GwTECConfigFileName=%H/etc/gateway.TEC
GwjServerConfigFileName=%H/etc/gateway.jServer
which means: $ MCELL_HOME /etc/gateway.jServer A gateway configuration file contains parameter settings in the form of parameter=setting. Parameters can be specified differently for new events and for event modifications. The parameter name must be suffixed with
.new for new events .mod for event modifications
Without a suffix, the setting is assumed to be on both categories. Both the contents of a message and its format are specified using parameters.
Description class name context name: Permanentevent permanently in DB (until out of date) Processeddiscarded by rule processing Regulateddiscarded by regulation Filtereddiscarded by filter Refineddiscarded by refine Receiveddiscarded immediately
date stamp time stamp names of modified slots (empty for new) event ID in gateway cell name of cell connecting to gateway
Variable
$CHANDLE
Description event ID in cell value of slot slot selected slot name (only for body parameter) selected slot value (only for body parameter) all modified slots (empty for new) all slots (only for slots parameter) all slots, but limited to class cls(only for slots parameter) val mapped value of val using map val can be a literal or a variable reference
$VALUE slot
$NAME $VALUE $MODS $ALL
Name backslash space new line carriage return tab character code in octal (0, 1, 2, or 3 digits d)
References to variables that are not followed by punctuation or space characters must be enclosed in curly brackets ( { } ). For example, $NAMEabc is invalid; $ {NAME}abc is correct. Non-printable characters and hard spaces must be expressed with an escape sequence. String values for parameters are considered from the first non-white space character up to the first (non-escaped) white space character. Table 74 on page 518 lists the gateway.export file parameters.
Description sets the communication protocol. Both categories, new event and modification, use the same protocol. The last one specified is used. The default value is MCELL. sets the condition for a slot to be included in the $ALL variable. Use always to always include the slot. Use propagate to include the slot if its value is different from the default value for the slot and it is able to be parsed. The default value is propagate for new, and always for mod. lists slots that must be dropped from the $ALL and $MODS variable. List of comma separated slot names. Only real slot names can be used. The default value is [], so no slot is dropped. lists additional new slot definitions. List of comma separated settings in the format slotname=slotvalue. slotname represents the name for the new defined slot and slotvalue defines the value of the new slot. The default value is [], so no slot is added. sets and orders the slot names to be included. Non-base class slots must be prefixed with ClassName: . The list can also contain variable references to include those values among regular slots. The default value is [], so no slots are exported. lists slots whose modifications result in a message. Modifications of slots that are not included in this list are ignored. The default value is [], which means that every slot modification is included. Defines the map table with the name name List of comma separated settings in the format original_value = converted_value original_value represents a value that has to be replaced and converted_value is the replacement value. Both values must be literal values.
cond
drop
add
slots
modify
map.name
Description text or value to be printed at the beginning of each export message. The default value is blank. At least one of the init, body, or term parameters must be specified to populate the export file. text or value to be printed for every slot to be included; can use the variable, $NAME (name of the slot) and $VALUE (value of the slot). The default value is blank. At least one of the init, body, or term parameters must be specified to populate the export file. text or value to be printed at the end of each event. The default value is blank. At least one of the init, body, or term parameters must be specified to populate the export file. sets the separator character or string to use between slot values. The default value is nothing. sets the characters leading to quotation when appearing in a slot value. If the parameter value is empty, slot values are never quoted. The default value is standard MRL quotation rules. sets the opening quotation character to use for values that must be quoted. The default value is a single quote (). sets the closing quotation character to use for values that must be quoted. The default value is a single quote (). determines how to escape a quotation mark inside a quoted value. The default value is a single quote ().
body
term
separator quotable
name represents the name you give the map table; original_value is the value to be replaced and converted_value is the replacement value. You convert a value applying a map table, by using the variable $MAP.
$MAP. name ( value )
If the specified value cannot be found in the map table, it is not replaced.
For example: You want to modify the value of the enumeration SEVERITY when it is sent to a certain gateway. Value WARNING will be replaced with LOW, and value CRITICAL with URGENT. To do this, create a map table to define the required mapping:
Example
map.GW1severity=[WARNING=LOW,CRITICAL=URGENT]
All other values of SEVERITY are passed unchanged. To actually replace the values of slot severity, the slot has to be dropped and a new slot, with the same name, has to be added, mapping the value:
Example
drop=[severity] add=[severity=$MAP.GW1severity($VALUE(severity))]
The BAROC format produces output similar to the example shown in Figure 114 on page 520. Figure 114: Example of printed events
MC_CELL_TICK; server_handle=0; date_reception=1010183001; event_handle=2; source=; sub_source=; ... END
The slots are displayed, one per line, indented by a tab (\t). For every slot, the slot name and value are printed, separated by an equals sign (=) and terminated with semicolon and a new line (\n). To terminate, END is printed on a line at the end of the data. In the example shown in Figure 115 on page 521, the first two lines configure the export file so that it exports new events and modified events differently. Specifically,
520 BMC ProactiveNet Administrator Guide
Exporting events
slots.new=[$ALL] exports all slots of new events to the database and slots.mod=[event_handle,$NAME,$VALUE] exports event_handle, slot name,
and value of events that are modified to the export file. Figure 115: Command to configure the export file
Exporting events
Events received in the cell can be exported to a flat file that resides on the same computer as the cell. The exported events then can be used in third-party products for archiving and data mining. Also, they can be exported to a program on another computer by using the BMC Impact Solutions Gateway. To export events, you configure the statbld.conf and gateway.export files.
Exporting events
Because the primary goal of exporting events is to import the data into another format for other use, BMC Software recommends that you remove the export files as soon as their contents have been archived. The easiest way to do this is to have them removed by the program that is triggered at the end of the export.
Using the default values in the gateway.export file for new events produces output in the format shown in Figure 117 on page 522. Figure 117: gateway.explore file output for new events
0,1010183001,1,,,,,,,,OPEN,,[admin],1,OK,,,0,0,0,0, mc.exp.000000001,0,['exp:1'],[],[],[],[],[],0,[],exp, 10.0.9.10:1981,28698 0,1010183001,2,,,,,,,,OPEN,,[admin],1,OK,,,0,0,0,0, mc.exp.000000002,0,['exp:2'],[],[],[],[],[],0,[],exp, 10.0.9.10:1981,600
Using the default values in the gateway.export file for modified events produces output in the format shown in Figure 118 on page 522. Figure 118: gateway.explore file output for modified events
mc.exp.000000001 exp 10.0.9.10:1981 28698 mc.exp.000000002 exp 10.0.9.10:1981 600 ACK
where n is 1, 2, 3. More than three xact.n files is an indication that the StateBuilder process is failing. If more than three xact.n files are present, follow these steps: 1 Check the MCELL_HOME/var/cellName directory to see if either of the following files are present:
mcdb.0 mcdb.lock
If either of these files are present, delete them. 1 From a command line, manually run the StateBuilder process by entering:
statbld -n cell_name Check the MCELL_HOME/var/cellName directory to ensure that your xact. n
files are named xact.1, xact.2, and so forth. If the file does not have the numeric extension (.n) (the file is only named xact), then rename the file to xact.1.
Determine whether or not the MCELL_HOME/bin/statbld program exists and can be executed by the current user who is running the mcell process.
Verify your systems available memory and compare it with the actual memory usage of the mcell process.
On some UNIX platforms, available unused virtual memory must equal or exceed the virtual memory used by the mcell process.
18
Setting up data views for external reports
BMC ProactiveNet provides the ability to create customized reports to suit your specific needs by exporting data from the BMC ProactiveNet database. To prevent the mundane task of keeping up with ongoing schema changes and prevent possible database entry corruption, you can leverage the Database Views feature (also called dataviews) provided by the relational database system.
Performance considerations
Before using the dataviews feature to access data directly from the BMC ProactiveNet database, you need to consider the performance impact on the BMC ProactiveNet Server. Several factors can affect the server performance, including the following:
Hardware resources (CPU, memory & disk i/o) Number and type of monitored instances Poll frequencies
Creating dataviews
Number of graphs in the hourly, daily, weekly views, number of daily, weekly,
monthly reports
Number of users accessing this information Increases to the processing load on the database server/BMC ProactiveNet Server
Note Due to performance impact on the BMC ProactiveNet Server, dataviews should not be used as real-time data feed. This feature is meant for the external reporting.
High volume of data in the database When updates to monitor configuration data are scheduled. By default, this data
is updated as part of daily job that runs at 3.30. This information is not available until the update script is run either as part of a daily job or run manually using the pw dataview update command. SDK monitors; these monitors require that you regenerate the dataviews schema so that they appear in the dataviews.
Also, though dataviews in general provide information in a usable format, you will have to interpret some of the raw values into corresponding usable values. For example, No data, No response values that are stored as high negative numbers need to be mapped to their respective meanings.
Creating dataviews
Dataview schema and views described in Dataview Tables are created during product installation. You can create the schema manually by using the pw dataview create command line option. For details about this command line option, see the BMC ProactiveNet Command Line Interface Reference Manual. Because custom monitor schemas are created at run-time, you need to use the command line option to reflect this schema in the dataviews. This step is also necessary if you make any updates to the custom monitor definition. Using the command line option, you can generate the Data Dictionary that explains each of the dataviews tables and columns. The configuration information table values described in the Data Dictionary match the configuration information described in the BMC ProactiveNet Data Adapter and Monitor Guide with each of the Monitors. Similarly stats data column description in the Data dictionary matches with the description of the performance data collected for each of the monitors.
Populating dataviews
The best way to find out which column represents the data of interest is to cross reference attribute names from the BMC ProactiveNet Data Adapter and Monitor Guide to the description in the Data Dictionary.
Populating dataviews
Configuration information in the INSTANCEINFO_CFG table is populated as part of the daily job. You can use the command line utility to update this info as desired. The rest of the information is populated during normal operation of BMC ProactiveNet Server. Views expose this information from the corresponding data storage tables.
Default dataviews
The following sections describe the default data views that are available in BMC ProactiveNet.
This view has the thresholds information of type 'Absolute Instance Thresholds (161)'. Table 76: Instance absolute thresholds - INSTABSTHRESHOLDS_VIEW
Columns ABSINSTANCEABOVE Description Above means current value should be greater than the thresholdfalse belowtrue above
ABSINSTANCEAUTOCLOSE Tells whether to automatically close the event or not.false Notrue - yes ABSINSTANCEDURATION How long the current values should exceed the threshold value before generating an event. 0 means event is generated immediately as one data point crosses the threshold value. Severity of the event: Critical, Major, Minor, Event Only Internal threshold ID Monitor type ID Attribute ID Monitor type name Monitor Attribute Name Monitor instance ID
ABSINSTANCETHRESHOLD Threshold value ABSINSTANCEBLTYPE Can work in conjunction with threshold value. If non-zero, raw data points will also needs to pass the hourly, daily or weekly baseline before the event can be triggered. Same thing applies for closing of events
This view has the thresholds information of type 'Signature Default Thresholds (157)'. Table 77: Global signature thresholds - SIGNDFLTTHRESHOLDS_VIEW
View Name THRESHOLDID MOTYPE MONAME MOATTRID MOTTRNAME SIGNDFLTTHRESHOLD SIGNDFLTSEVERITY SIGNDFLTDURATION Description Internal threshold ID Monitor type ID Monitor type name Attribute ID of threshold Monitor attribute name Threshold value Severity of the event. Critical, Major, Minor, Event Only How long the current values should exceed the threshold value before generating an event. 0 means event is generated immediately as one data point crosses the threshold value. Whether to deactivate the signature threshold Specify a margin around the baseline values to make it more difficult for signature events to occur. Same as absolute pad factor, but instead of using a number, a percentage of the baseline will be used. Allow threshold to be compared of daily and weekly baseline, in addition to hourly baseline. Above means current value should be greater than the thresholdfalse belowtrue above Tells whether to automatically close the event or not.false Notrue - yes
This view has the thresholds information of type 'Signature Instance Thresholds (162)'.
SIGNINSTANCEDURATION How long the current values should exceed the threshold value before generating an event. 0 means event is generated immediately as one data point crosses the threshold value. SIGDFLTSUPPRESSEVNTS SIGNABSPADFACTOR SIGNPERPADFACTOR SIGNINSTBLTYPE SIGNINSTABOVE SIGNINSTAUTOCLOSE MOINST DEVICENAME INSTNAME Whether to deactivate the signature threshold Specify a margin around the baseline values to make it more difficult for signature events to occur. Same as absolute pad factor, but instead of using a number, a percentage of the baseline will be used. Allow threshold to be compared of daily and weekly baseline, in addition to hourly baseline. Above means current value should be greater than the thresholdfalse belowtrue above Tells whether to automatically close the event or not.false Notrue - yes Monitor instance ID Device name Monitor instance name
ABSINSTSEVERITY THRESHOLDID
View Name MOTYPE MOATTRID MONAME MOATTRNAME MOINST DEVICENAME INSTNAME ABSINSTTHRESHOLD ABSINSTBLTYPE
Description Monitor type ID Attribute ID Monitor type name Monitor Attribute Name Monitor instance ID Device name Monitor instance name Threshold value Can work in conjunction with threshold value. If non-zero, raw data points will also needs to pass the hourly, daily or weekly baseline before the event can be triggered. Same thing applies for closing of events
This view has the information about the schedules. Table 81: View Name - SCHEDULE_VIEW
Columns MOINSTID NAME TIMERANGE Description Internal schedule ID Name of the schedule Time
This view has all SLO information. Table 82: View Name - SLO_INFO_VIEW
Columns SLOID Description SLO ID Chapter 18 Setting up data views for external reports 531
Columns NAME CONTENTID SLOTYPEID SLO_SCHEDULE COMPLIANCE_OBJECTIVE OWNER CONTACT_INFO CREATE_DATE COMMENTS UPDATE_DATE
Description Name of the SLO Content type SLO/instance. Refer to CONTENTID in SLO_CONTENT_VIEW. Refer moinstid in attributeset_view Refer moinstid in schedule_view
This view has all SLO information. Table 83: View Name - SLO_INSTANCES_INFO_VIEW
Columns INSTID SLOID MOTYPEID MOINSTID Description SLO Instance ID SLO ID Monitor type ID Monitor instance ID
This view has all SLO information. Table 84: View Name - SLO_THRESHOLD_INFO_VIEW
Columns INSTID SERVICE_LEVEL_THRESHOLD_ID WEIGHT COMMENTS Description Refer instid in slo_instances_info_view Refer thresholdid in slo_threshold_view
This view has SLO summary by day. Table 87: View Name - SLO_SUMMARY_DAY_VIEW
Columns SLOID DATE_TIME COMPLIANCE_VALUE Description SLO ID
This view has SLO summary by month Table 89: View Name - SLO_SUMMARY_MONTH_VIEW
Columns SLOID DATE_TIME COMPLIANCE_VALUE Description SLO ID
This view has SLO summary by quarter Table 90: View Name - SLO_SUMMARY_QUARTER_VIEW
Columns SLOID DATE_TIME COMPLIANCE_VALUE Description SLO ID
This view has SLO summary by year. Table 91: View Name - SLO_SUMMARY_YEAR_VIEW
Columns SLOID DATE_TIME COMPLIANCE_VALUE Description SLO ID
This view has the data for each SLO instance by day.
This view has the data for each instance by week. Table 93: View Name - SLO_INSTANCES_WEEK_VIEW
Columns INSTID SERVICE_LEVEL_THRESHOLD_ID MOTYPEID MOINSTID ATTRIBUTEID DATE_TIME TOTAL_VALID_DATA_POINTS TOTAL_VIOLATED_DATA_POINTS TOTAL_UNKNOWN_DATA_POINTS COMPLIANCE_VALUE MINVALUE Chapter 18 Setting up data views for external reports 535 Description Refer instid in slo_instances_info_view Refer thresholdid in slo_threshold_view Monitor type ID Monitor instance ID Attribute ID
Description
This view has the data for each instance by month. Table 94: View Name - SLO_INSTANCES_MONTH_VIEW
Columns INSTID SERVICE_LEVEL_THRESHOLD_ID MOTYPEID MOINSTID ATTRIBUTEID DATE_TIME TOTAL_VALID_DATA_POINTS TOTAL_VIOLATED_DATA_POINTS TOTAL_UNKNOWN_DATA_POINTS COMPLIANCE_VALUE MINVALUE MAXVALUE MEDIAN AVERAGE WEIGHT Description Refer instid in slo_instances_info_view Refer thresholdid in slo_threshold_view Monitor type ID Monitor instance ID Attribute ID
This view has the data for each instance by quarter. Table 95: View Name - SLO_INSTANCES_QUARTER_VIEW
Columns INSTID SERVICE_LEVEL_THRESHOLD_ID MOTYPEID MOINSTID 536 BMC ProactiveNet Administrator Guide Description Refer instid in slo_instances_info_view Refer thresholdid in slo_threshold_view Monitor type ID Monitor instance ID
Columns ATTRIBUTEID DATE_TIME TOTAL_VALID_DATA_POINTS TOTAL_VIOLATED_DATA_POINTS TOTAL_UNKNOWN_DATA_POINTS COMPLIANCE_VALUE MINVALUE MAXVALUE MEDIAN AVERAGE WEIGHT
Description Attribute ID
This view has the data for each SLO instance by year. Table 96: View Name - SLO_INSTANCES_YEAR_VIEW
Columns INSTID SERVICE_LEVEL_THRESHOLD_ID MOTYPEID MOINSTID ATTRIBUTEID DATE_TIME TOTAL_VALID_DATA_POINTS TOTAL_VIOLATED_DATA_POINTS TOTAL_UNKNOWN_DATA_POINTS COMPLIANCE_VALUE MINVALUE MAXVALUE MEDIAN AVERAGE WEIGHT Description Refer instid in slo_instances_info_view Refer thresholdid in slo_threshold_view Monitor type ID Monitor instance ID Attribute ID
Groups
This view has all the user groups. Table 98: View Name - GROUP_INFO_VIEW
Columns GROUPID GROUPNAME DESCRIPTION Description Group ID Name of the group
This view has monitors that belong to a specific group. Table 100: View Name - GROUP_MONITOR_VIEW
Columns GROUPID MOTYPEID MOINSTID Description Group ID Monitor type ID Monitor instance ID
Sample_1 and Sample_2 groups are made of monitor instances. This information can be retrieved from GROUP_MONITOR_VIEW. Table 102: GROUP_MONITOR_VIEW
Group ID 1 2 2 MO Type ID 20031 20031 20035 MO Instance ID 1 10 15
This shows that Sample_1 group contains one instance with ID 1 of monitor type web URL (20031). Sample_2 group contains one instance with ID 10 of monitor type web URL (20031) and one instance with ID 15 of type web transaction (20035).
Configuration information
Lets assume that Sample_3 group is made of other two groups. This group containment information can be retrieved from GROUP_TREE_VIEW. Table 103: GROUP_TREE_VIEW
Parent Group ID 3 3 Child Group ID 1 2
For details of all default dataviews in BMC ProactiveNet, use the pw dataview gendoc command.
Configuration information
BMC ProactiveNet collects performance data from several heterogeneous systems such as Network, Application, Database, and user-defined or custom systems. Defining these heterogeneous systems requires capturing system-specific configuration information. This configuration information resides in various tables and is used during data collection. To simplify access to configuration information, a single table (INSTANCEINFO_CFG) is defined that stores information of all monitor type instances which include application, SNMP, and monitors created by users through the Monitor Wizard, and meta API. Table 104 on page 540 shows the base table for all configuration dataviews for each monitor type that exists on BMC ProactiveNet Server.
Table 104: Configuration information Column MOTYPEID MOINSTID Description Monitor type ID (example, Weblogic, Websphere, etc.) This value is internal and fixed. Monitor instance ID. This is a unique number generated for each instance. The value is assigned by BMC ProactiveNet system during monitor creation. This value is internal and fixed. This number identifies all other data for each instance. Name of the device entered by the user when this instance is created using the Operations Console or via command line. Description of the monitor instance. IP address of the device from where the performance data is being collected. IP address of the device on which this instance is running.
Column CONFIGVALUES
Description All configuration type of attributes of this monitor type that can be displayed. This is organized in the name=value pairs format separated by ';'. Parse this value to retrieve the associated value for each attribute.
The schema for this table is created at the time of product installation. Therefore, if custom monitors such as MetaAPI, SDK, and Monitor Wizards are created at runtime, you need to regenerate the schema to include these monitors. Since this is a database table and not a view generated from an existing table, values in this table are populated as part of daily jobs. The default run-time for daily jobs is 3.30 A.M. Configuration dataviews named as <tablename prefix>_CFG_VIEW are created for each monitor type using the values in this table. Each of these Config dataviews contains the following information:
Table 105: Configuration information Column MOTYPEID MOINSTID Description Monitor type ID (example, Weblogic, Websphere, etc.) This value is internal and fixed. Monitor instance ID. This is a unique number generated for each instance. The value is assigned by BMC ProactiveNet system during monitor creation. This value is internal and fixed. This number identifies all other data for each instance. Name of the device entered by the user when this instance is created using the Administration Console or via command line. Description of the monitor instance. IP address of the device from where performance data is being collected. IP address of the device on which this instance is running. All configuration attributes with their values that can be displayed for this monitor type.
issue, a view for each Stats attribute is created and a view joining these views is created to give the effect of a horizontal table. The final view is the same as views created for other monitors. As a result, accessing MetaAPI monitor views is performance intensive. Accessing stats data from a view is advantageous as values stored in the tables are multiplied by a scale factor that is different for each attribute and monitor type. Configuration data 'Configuration dataviews (<tablename prefix>_CFG_VIEW)' and Stats dataviews can be joined on the MOINSTID column to get all information related to an instance. Stats dataviews are named as <tablename prefix>_ST_VIEW. Each of these Stats dataviews contains the following information:
Table 106: Performance information Column MOINSTID Description Monitor instance ID. This is a unique number generated for each instance. The value is assigned by BMC ProactiveNet system during monitor creation. This value is internal and fixed. This number identifies all other data for each instance. UNIX time stamp when the data point was collected Displays all Stats attributes with their values of these monitor types that are properly converted with appropriate conversion factors. The following values should be interpreted as described below:'No Response' = -2147483647'No Data' = -2147483646
Baseline information
Column FROMTIME TOTIME Stats Attribute Name_AVGStats Attribute Name_HIGHStats Attribute Name_LOW
Description UNIX time stamp for the start of the duration UNIX time stamp for the end of the duration This contains Rate values for the above FROMTIME to TOTIME duration. Each attribute of this monitor type has three Rate values. Refer Administration guide for further details on how Rate values are computed.
Baseline information
Baseline data provides attribute values during each hours of the day of the week. Creating views for Baseline data is relatively easy for most monitor types as data is organized in individual (horizontal) tables. This enables one to one mapping of a Baseline table to a view for each monitor type that is available in BMC ProactiveNet system. Baseline dataviews are named as <tablename prefix>_BL_VIEW. Each of these baseline dataviews contains the following information:
Table 108: Baseline information Column MOINSTID Description Monitor instance ID. This is a unique number generated for each instance. The value is assigned by BMC ProactiveNet system during monitor creation. This value is internal and fixed. This number identifies all other data for each instance. This indicates the hour of the day of the week. BL_TIMESLOT_DESCR_VIEW has textual description of each time slot. This view has two columns: TIMESLOT and DESCRIPTION. This contains Baseline values for the above TIMESLOT. Each attribute of this monitor type has three Baseline values. Refer Administration guide for details on how Baseline values are computed.
TIMESLOT
Event information
There is one event view for each monitor type. The view provides information about events generated for all monitor instances of a monitor type. Event dataviews are named as <tablename prefix>_AL_VIEW. Each of these event dataviews contains the following information:
Table 109: Event information Column MOINSTID Description Monitor instance ID. This is a unique number generated for each instance. The value is assigned by BMC ProactiveNet system during monitor creation. This value is internal and fixed. This number identifies all relevant data for each instance. Internal ID for this event This is an integer defined as follows: 4 = CRITICAL 3 = MAJOR 2 = MINOR 1 = ABNORMAL 0 = CLOSED DESCRIPTION ASSIGNEDTO THRESHTYPE Reason for the event Assigned person's name This is an integer defined as follows:156 > Crossed absolute threshold. Applicable to all instances of specified monitor type157 > Crossed Signature threshold. Applicable to all instances of specified monitor type158 > External events that are imported using 'pw userevent' > Crossed absolute threshold. Applicable to a specific monitor instance162 > Crossed signature threshold. Applicable to a specific monitor instance UNIX time stamp. Time when this attribute value crossed the threshold the first time UNIX time when the event was closed Time when the state of the event record changes. Time recorded here is typically the time of the next event record that has the same event ID, or time when the event was closed. The ENDTIME column is used in cases where the event changes severity while it is still open. In that case, ENDTIME for the older records contains the start time of the next record - each severity change creates a new event record. Internal ID of the associated event. Every alarm is associated with an event Internal ID of the attribute for which this event is created UNIX time when the event was created
EVENTID SEVERITY
EVENT_LOG_VIEW, which provide information on all alarms and events that are generated on BMC ProactiveNet Server.
BMC Patrol ( 29753 ) ' MOINSTID : same as described in instanceinfo_cfg. TIMERECORDED : unix time stamp of when this data is collected VAL : Application Parameter Value ( # ) View AGENTCONN_CFG_VIEW Desc : This view has the config information for monitors of type 'Agent Connection (27011) ' Columns : MOINSTID : same as described in instanceinfo_cfg. DEVICENAME : same as described in instanceinfo_cfg. INSTNAME : same as described in instanceinfo_cfg. SOURCEIP : same as described in instanceinfo_cfg. TARGETIP : same as described in instanceinfo_cfg. PW_MON_VER : Monitor Version View AGENTCONN_ST_VIEW Desc : This view has the stats information for monitors of type 'Agent Connection ( 27011 ) ' MOINSTID : same as described in instanceinfo_cfg. TIMERECORDED : unix time stamp of when this data is collected STATUSCHGS : Agent Status Changes ( # ) CONN : Agents Connected ( # ) DISCONN : Agents Disconnected ( # ) NOTCONN : Agents Not Connected ( # ) TOTALAGENTS : Total Agents ( # ) View AGENTSTATUS_CFG_VIEW Desc : This view has the config information for monitors of type 'Agent Status ( 28601 ) ' Columns : MOINSTID : same as described in instanceinfo_cfg. DEVICENAME : same as described in instanceinfo_cfg. INSTNAME : same as described in instanceinfo_cfg. SOURCEIP : same as described in instanceinfo_cfg. TARGETIP : same as described in instanceinfo_cfg. AGENT_IP : Agent IP PW_MON_VER : Monitor Version View AGENTSTATUS_ST_VIEW Desc : This view has the stats information for monitors of type 'Agent Status ( 28601 ) ' MOINSTID : same as described in instanceinfo_cfg. TIMERECORDED : unix time stamp of when this data is collected AVAILABILITY : Availability ( % ) View AIXCPU_CFG_VIEW Desc : This view has the config information for monitors of type 'AIX CPU ( 43001 ) ' Columns : MOINSTID : same as described in instanceinfo_cfg. DEVICENAME : same as described in instanceinfo_cfg. INSTNAME : same as described in instanceinfo_cfg. SOURCEIP : same as described in instanceinfo_cfg. TARGETIP : same as described in instanceinfo_cfg. PW_MON_VER : Monitor Version PROCESSOR_NAME : Processor Name View AIXCPU_ST_VIEW Desc : This view has the stats information for monitors of type 'AIX CPU ( 43001 ) ' MOINSTID : same as described in instanceinfo_cfg. TIMERECORDED : unix time stamp of when this data is collected SYSTIME : % System Time ( % ) USRTIME : % User Time ( % ) WAITTIME : % Wait Time ( % ) IDLETIME : %Idle Time ( % ) CNXTSWTCH : Context Switches ( per sec ) SYSCALLS : System Calls ( per sec )
3 Click Next. 4 Follow the prompts. The installation directory will be displayed. Change the location if you want to. After selecting the installation directory click Next.
Summary of the installation is displayed in the next window.
5 Once the installation is complete, click Finish to close the install window.
This completes the ASA ODBC driver installation.
6 Check the ODBC Administrator manager for a DSN 'ASA Client' by following these steps:
Chapter 18 Setting up data views for external reports 547
a Select Start => Settings => Control Panel => Administrative Tools => Data Sources (ODBC) => System DSN. b Select ASA Client and click Configure.
The ODBC Configuration for Adaptive Server Anywhere window displays.
7 ODBC tab: ASA Client is populated by default. Modify the DSN to connect to the ASA database of your choice, if necessary. 8 Login tab: The log in panel is configured to user name 'report' and password 'report'. You can change the user name and password if it is different. 9 Database tab: In the Server Name field, specify the server name.
Confirm the database name before filling in the field. You can confirm this by
Example: server name is storm_krishna, where krishna is the host on which ASA database is running. For the By default, the database name will be storm_<hostname>. If the database name has been modified, you can find it by the .db extension on BMC ProactiveNet Server. 10 Network tab: Select the TCP/IP option and fill in the host details in the Network panel.
Enter the value: host=<hostname or IP address>:2638
Example: host=krishna:2638. Host specifies the host on which ASA database is running and 2638 is the port on which the database is listening for client connections. 11 Access the ODBC tab and test the connection by following these steps: a Click Test Connection. A message window displays that the connection is successful. b Click OK in the message window. 12 Click OK in the ODBC window.
This completes the process of configuring the DSN that is created by
ASA_Client.exe.
Download site. You can register and obtain credentials at http://www.bmc.com/ support_home . BMC Software sales representative.
You must obtain a support ID and password for BMC ProactiveNet from your
2 Follow the instructions for completing the Export Validation & License Terms page. You must select I agree in the Export Compliance Disclaimer and TRIAL AGREEMENT panes. 3 Click CONTINUE. 4 If you have previously entered the support for BMC ProactiveNet, go to step List item. on page 549.
To enter the support ID and password:
a In the My Entitled Products page, click MANAGE SUPPORT IDS. b In the Manage My Support IDs page, enter the support ID and password, and then click ADD. c Click BACK TO MY ENTITLED PRODUCTS. 5 If BMC ProactiveNet version 2.0.00 is not displayed, perform the following actions: a Click ADDITIONAL PRODUCTS.
b In the Search field, enter BMC Service Assurance Reporting, and then click SEARCH.
Tip
Case does not matter in this search. You can enter a substring of the product name, such as assurance rep.
6 Select BMC Service Assurance Reporting 2.0.00, and then click CONTINUE. 7 In the Select Product Version page, select BMC Service Assurance Reporting 2.0.00, and then click CONTINUE 8 In the Download files page, choose the appropriate component for your situation:
If this is a first-time installation If you have Crystal Reports Server XI release 2 without SP2 Crystal Reports Server SP2 (Full Install) Crystal Reports Server SP2 (Incremental Patch-SP1 Customers Only)
If you want to design custom reports, and this is a first- Crystal Reports Designer SP2 (Full Install) time installation If you have Crystal Reports Designer XI release 2 without SP2 To download temporary license passwords Crystal Reports Designer SP2 (Incremental PatchSP1 Customers Only) License Information for BMC Service Assurance Reporting
9 For each item that you choose, follow the instructions to complete the download.
On BMC ProactiveNet Server, one or more Web URL monitor instances should
The Web URL monitors should have collected data for at least 24 hours. On the server side, the following command should be running after creation of
Sybase ASA client drivers should be installed on the Windows computer from
A DSN should be created for the ASA database of BMC ProactiveNet. On BMC ProactiveNet Server computer, the ASA database process dbsrv7 should
be running.
Prerequisites
Microsoft Query should be installed on the Windows computer. Sybase ASA client driver packages should be installed on the Windows computer. On the BMC ProactiveNet Server computer, the ASA database process (dbsrv7)
should be running.
BMC ProactiveNet Server processes should have been running for at least a day
6 Choose the tables/columns you want to use in the report. For the sample report, choose moinstid, devicename, instname columns from SOLPROC_CFG_VIEW view and TOTALCPU column from SOLPROC_ST_VIEW view. 7 Click Next.
A warning message displays, asking to start-up Microsoft query to join the two
8 Click OK.
Microsoft Query opens and shows the column names of the two views that are
9 Join the moinstid column of SOLPROC_CFG_VIEW with MOINSTID column of SOLPROC_ST_VIEW. A warning may appear indicating that the columns are of different types. Click OK. 10 In Microsoft Query, add criteria to TOTALCPU column.
Use Criteria"Add Criteria of main menu tool bar. The constraint is to choose the
rows that have values of TOTALCPU greater than -1. Usually, the value will be less than 0 in the very first record on creation of monitor instance. Click Add.
from main menu tool bar. Query Properties window pops up. Select Group Records field and click OK.
12 In Microsoft Query, keeping the moinstid column highlighted, click Records => Sort from the main menu bar. Select SOLPROC_CFG_VIEW.moinstid for column for sorting, use ascending order sorting, and click Add. 13 In Microsoft Query, click View""SQL. The SQL window that contains the SQL Query statement displays.
The statement looks like:
SELECT SOLPROC_CFG_VIEW.moinstid, SOLPROC_CFG_VIEW.devicename, SOLPROC_CFG_VIEW.instname, SOLPROC_ST_VIEW.TOTALCPU FROM DBA.SOLPROC_CFG_VIEW SOLPROC_CFG_VIEW, DBA.SOLPROC_ST_VIEW SOLPROC_ST_VIEW WHERE SOLPROC_CFG_VIEW.moinstid = SOLPROC_ST_VIEW.MOINSTID GROUP BY SOLPROC_CFG_VIEW.moinstid, SOLPROC_CFG_VIEW.devicename, SOLPROC_CFG_VIEW.instname, SOLPROC_ST_VIEW.TOTALCPU HAVING (SOLPROC_ST_VIEW.TOTALCPU>-1) ORDER BY SOLPROC_CFG_VIEW.moinstid
The query statement will retrieve all the records from the SOLPROC_ST_VIEW if time-range is not provided. In order to retrieve records that is in a time-range, edit the statement.
SELECT SOLPROC_CFG_VIEW.moinstid, SOLPROC_CFG_VIEW.devicename, SOLPROC_CFG_VIEW.instname, SOLPROC_ST_VIEW.TOTALCPU FROM DBA.SOLPROC_CFG_VIEW SOLPROC_CFG_VIEW, DBA.SOLPROC_ST_VIEW SOLPROC_ST_VIEW WHERE SOLPROC_CFG_VIEW.moinstid = SOLPROC_ST_VIEW.MOINSTID and DBA.SOLPROC_ST_VIEW.TIMERECORDED between <start-timestamp> and <end-timestamp> GROUP BY SOLPROC_CFG_VIEW.moinstid, SOLPROC_CFG_VIEW.devicename, SOLPROC_CFG_VIEW.instname, SOLPROC_ST_VIEW.TOTALCPU
15 In Microsoft Query, click File => Return Data to Microsoft Excel from the main menu.
Microsoft Query exits and Microsoft Excel gets back the prompt.
16 In Microsoft Excel, click Next in Step 2 of 3. Step3 of 3 window displays. 17 Click Options. The Pivot Table Options window displays. 18 Disable the following format options and click OK.
Grand totals for columns Grand totals for rows Autoformat table
20 From the Pivot table fields, drag the following fields to the More Category area (Drop More Category fields here area).
Moinstid Instname
21 Drag the Devicename field to Total area (Drop more Series fields here area) 22 Drag the TOTALCPU field in the Data area (Drop Data items here area)
The graph provides maximum CPU utilization by BMC ProactiveNet processes. To change the summary formula to display graph of minimum, average, sum, or other graph, left-click Max of TOTALCPU. Figure 120: Pivot Table
A
mcell.conf file parameters
This appendix discusses all of the parameters in the mcell.conf file, which is installed with the cell enables it to run without any additional configuration. You can view the default configuration parameters, or change them in the mcell.conf file to customize the cell for your particular IT infrastructure and environment. You can override some parameters using command line arguments when you start the cell.
You can view the default values for these parameters in the mcell.conffile.
Parameter ActionResultInlineLimit Description the size limit, in bytes, for an action result to be included directly in the action result event slots This applies to both the output stream (slot "output_val") and the error stream (slot "error_val"). If the respective result is larger than the indicated size, it is stored in a file. Instead of placing the value directly in the *_val slot, the reference to the file is placed in the corresponding *_ref slot. ActionResultKeepPeriod the period, in seconds, that an action result is kept on behalf of a (Browser) client The client should retrieve the result within that period. After the period has expired, the result is dropped. This is independent of the action result event. A generated action result event is not influenced by this parameter. It exists as long as other events. number Type number
You can view the default values for these parameters in the mcell.conffile.
Parameter CellDescription Description used as the initial value of the cell_description slot of the internal MC_CELL_INFO record Type string
CellExceptionHandlingEnabled
used to configure how the the cell handles exceptions Boolean Yes - cell catches exceptions, automatically restarts itself, and collects data for problem analysis including cell trace files, cell state files and a core dump, if possible No - cell service is not available until the cell is restarted manually
CellOperationLevel
indicates the level on which the cell must operate The operation level determines from which clients the cell accepts connections and events. The default value can accept connections from any computer.
string
CellOperationRelax
indicates whether the operation level should be lowered in case there is no license available for the desired level, as set by CellOperationLevel Typically, more license tokens are available for lower operation levels.
Boolean
ConnectionPortRange1
specifies the range of ports to use for outgoing connections For forward propagation, this port is used on the client side (or on the propagating cell side). This is useful to pass the event through firewalls with high restrictions. Most firewall configurations ignore source port information but require destination port information. However, firewall configuration usually can restrict the source ports as well.
string
Parameter ConnectionPortReuse 1
Description
Type
indicates whether or not the ports specified in Boolean ConnectionPortRange should be reused as much as possible By default, the cell or command line interface (CLI) tries to reuse ports from the specified range, in the given order. When ConnectionPortReuse=No, for every new connection within the same session, the next free port from the specified range is used. Only when it reaches the end of the range will it restart at the beginning of the range.
POMEnabled
determines whether or not the cell is a ProactiveNet Boolean Operations Manager cell. This parameter is automatically configured by mcrtcell and should not be changed manually in mcell.conf. Jserver can only communicate directly with POMEnabled cell. A ProactiveNet Operations Manager (POMEnabled=Yes) cell does not accept adapter clients, unless a license key is provided. Note: A ProactiveNet Operations Manager cell
Knowledge Base must not be recompiled, unless license key is provided. msend events to the cell unless you have an Event Management license. events to the cell but the Jserver will not be able to communicate with it.
number
ProcessingLimit Percentage
specifies limitation of event processing speed At 100% the cell accepts events as fast as it can. At x % it does not accept events during (100-x)% of the time. This limits the cells CPU utilization.
CellMetricsCollectInterval
determines the interval length (in seconds) of a number single collection. Metrics from a single collection are presented in the short term metrics counters. The default value is CellMetricsCollectInterval=60 specifies the number of similar single collections to be taken into account. The combination of that many most recent collections is presented in the medium term metrics counters. The default value is CellMetricsCollectAmount=5 number
CellMetricsCollectAmount
Parameter ServerAllInterfaces
Description determines whether the cell listens on one specific interface or on all available interfaces When ServerAllInterfaces=Yes, the cell communicates on all network interfaces on the host. When ServerAllInterfaces=No, the cell only communicates with the network interface that has the IP address specified in the mcell.dir file of that cell.
Type Boolean
ServerDirectoryName 1 ServerPort 1
specifies the name of the cell directory file specifies the TCP/IP port number at which the cell listens for all in-bound requests from sources, such as the BMC ProactiveNet Administration Console, CLIs, and adapters specifies whether the cell is an Event Management cell or a Service Impact Model cell. If ServiceModelEnabled=No, the cell operates as an Event Management cell. If ServiceModelEnabled=Yes, the cell operates as a Service Impact Model cell, if the SIM class definitions are loaded. If these class definitions are not available, the cell operates as an Event Management cell. Note: Do not try to configure a SIM cell unless you have the proper license.
path number
ServiceModelEnabled
Boolean
specifies the path to the default system-defined log directory specifies the path to the default system-defined tmp directory specifies the path to the default system-defined var directory
a Can also be used in the mclient.conf configuration file, which affects the behavior of all of the CLI
commands. These parameters retain the same qualities and definitions in the mclient.conf file as they have in the mcell.conf file.
You can view the default values for these parameters in the mcell.conffile.
Parameter
CellDuplicateAutoFailOver
Description determines whether the primary server automatically fails over to the secondary server. For automatic failover to occur, this parameter must be set to YES on both servers.
Type Boolean
CellDuplicateAutoSwitchBack
determines whether the secondary server automatically switches back to the primary server when the primary server restarts after failover. For automatic switchback to occur, this parameter must be set to YES on both the primary and secondary servers.
Boolean
CellDuplicateFailOverStart TimeOut
specifies the length of time (in seconds) that the secondary server waits to become active after it is started. When the secondary server starts, it expects the primary to connect to it. If the primary server does not connect to the secondary within the time specified by the CellDuplicateFailOverStartTimeOut parameter, the secondary server will become active. The time specified for CellDuplicate FailOverStartTimeOut should be longer than the time specified for CellDuplicateFailOverTimeOut to allow operators to start up primary and secondary servers at almost the same time, in any order.
number
CellDuplicateFailOverTimeOut
specifies the length of time (in seconds) that the secondary server waits to become active after the secondary server loses connection to the primary server. can be used to disable the heartbeat of a high availability cell, to prevent the secondary cell server from becoming active when the primary cell server is active due to VMware clock discrepancies specifies the operation mode of the server. 1 = primary server 2 = secondary server 0 = the server is operating as a non-high availability cell. This is the only parameter that needs a different value between primary and secondary.
number
CellDuplicateHeartbeatEnabled
Boolean
CellDuplicateMode
number
You can view the default values for these parameters in the mcell.conffile.
Parameter ClientCleanupInterval Description the interval, in seconds, between clean-ups of pending clients After each such period, clients that did not give the cell a notice of life are disconnected. ClientPollTimeOut ClientSendTimeOut DateFormat the maximum time, in milliseconds, the cell waits for a client request before it continues processing the time interval, in milliseconds, that the cell has to send a packet to a client on the lowest communication level the format used to display timestamps in the date slot A default value of CIM indicates use of the Common Information Model (CIM) format from the Desktop Management Force Group. DateFormat parameters use the syntax of %[ letter ]. Table 114 on page 563 lists the DateFormat parameters for Solaris; for other operating systems, see their documentation. SynchronizeTimeOut the maximum time, in milliseconds, the cell waits for synchronization before dropping a connection number number number string Type number
If the cell receives an event with an empty value for the date slot, it sets the date slot to the textually formatted value of the date_reception slot. That value is determined by the DateFormat parameter. This assignment is performed only once, when the event first enters the cell. If the cell is shut down and restarted, the value of date remains the same even if the DateFormat parameter has been modified in the interval. The CIM format is yyyymmddhhmmss.mmmmmmsutc, where:
yyyy = year mm = month dd = day hh = hour, based on 24-hour clock mm = minutes
ss = seconds mmmmmm = microseconds s = + or utc = offset in minutes from UTC; UTC is the Universal Time Coordinate system
Table 114 on page 563 lists the parameters from the Solaris platform. Other platforms, including UNIX and Microsoft Windows platforms, may have slight differences.
Table 114: Date and time format parameters for Solaris Parameter
%% %a %A %b %B %c %C %d %D %e %h %H %I %j %k %l %m %M %n %p %r
Description same as % locales abbreviated weekday name locales full weekday name locales abbreviated month name locales full month name locales appropriate date and time representation locales date and time representation as produced by date (1) day of month [1,31]; single digits are preceded by zero (0) date as %m/%d/%y day of month [1,31]; single digits are preceded by a space locales abbreviated month name hour (24-hour clock) [0,23]; single digits are preceded by zero (0) hour (12-hour clock) [1,12]; single digits are preceded by zero (0) day number of year [1,366]; single digits are preceded by zero (0) hour (24-hour clock) [0,23]; single digits are preceded by a blank hour (12-hour clock) [1,12]; single digits are preceded by a blank month number [1,12]; single digits are preceded by zero (0) minute [00,59]; initial 0 is permitted but not required insert a new line locales equivalent of A.M. or P.M. appropriate time representation in 12-hour clock format with %p Appendix A mcell.conf file parameters 563
Encryption parameters
Parameter
%R %S %t %T %u %U %V
Description time as %H:%M seconds [00,61] insert a tab time as %H:%M:%S weekday as a decimal number [1,7], where 1 represents Sunday week number of year as a decimal number [00,53], where Sunday is the first day of week 1 week number of the year as a decimal number [01,53], where Monday is the first day of the week If the week containing January 1st has four or more days in the new year, then it is considered week 1. Otherwise, it is week 53 of the previous year, and the next week is considered week 1.
%w %W %x %X %y %Y %Z
weekday as a decimal number [0,6], where 0 represents Sunday week number of year as a decimal number [00,53], where Monday is the first day of week 1 locales appropriate date representation locales appropriate time representation year within century [00,99] year, including the century. (for example, 2006) time zone name or abbreviation, or no bytes if no time zone information exists
Encryption parameters
The following table describes the encryption parameters that are listed in the mcell.conf file.
Table 115: Encryption parameters
You can view the default values for these parameters in the mcell.conffile.
Parameter AllowAdapterFrom Description specifies the adapters within the range of IP addresses These are adapters that use the BMC Impact Solutions communications protocol. AllowBrowserFrom specifies the BMC ProactiveNet Administration Console and the BMC Impact Portal connections within the range of IP addresses specifies the cells within the range of IP addresses string Type string
AllowCellFrom
string
Description specifies the command line interfaces (for example, mkill or mcstat) within the range of IP addresses specifies the client within the range of IP addresses that is allowed to connect to a cell specifies the EIF event sources (for example, a postemsg) within the range of IP addresses specifies to use encryption specifies the encryption key specifies if encryption is to be forced
You can view the default values for these parameters in the mcell.conffile.
Parameter EventAutoClose Description automatically closes a duplicate event in the database when an event arrives with status=CLOSED, or it is closed in the Refine rule phase If the default value is left as Yes, the event is dropped and the duplicate is closed. If the value is set to No, there is no duplicate detection and the CLOSED event is not dropped. EventDBCleanupDurationLimit the maximum duration, in seconds, of a single number cleanup After expiration of that period, the cleanup is interrupted. Normal operation proceeds for an equal duration. Then cleanup is resumed, with the same limit again. EventDBCleanupInterval EventDBCleanupPercentage the time interval, in seconds, between periodic number cleanups of the repository the percentage of free space required at termination of an EventDB cleanup With a default EventDBSize of 100000, this means that at least 10000 places must be available at termination of a completed cleanup. number Type Boolean
Parameter EventDBCleanupOnDateReception
Description indicates the preference for deleting events from the repository based on when they were received instead of when they were last modified
Type Boolean
EventDBCleanupPreferClosed
indicates the preference for cleaning up closed Boolean events rather than older events When there is not enough free space after removing all expired events, additional, unexpired events are removed. These are selected, oldest first, either from any events or from the closed ones first. The default is no, meaning that the event status value is not taken into account when selecting events for removal.
EventDBKeepClosed
the minimum age, in seconds, of CLOSED events before they are removed from the repository Note: Any modifications to the EventDBKeepClosed parameter should be carefully considered. Events of these classes remain in the event repository until you manually delete them.
number
EventDBKeepNonClosed
the minimum age, in seconds, of non-closed events before they are removed from the repository the number of events to retain in the repository (the mcdb and xact files located in the MCELL_HOME/var/ CellName directory path The default size is 100000. When the specified number is reached, the cell performs a cleanup procedure, which is described in Executing reboot command via remote action results in timeout messages on page 147 The value of the EventDBSize may have an impact on memory consumption. When increasing the value of the EventDBSize, consider the size of your systems virtual memory and the number of programs running on the system. Contact your system administrator if in doubt.
number
EventDBSize
number
EventDBNoCleanupClosed
list of classes in which closed events will not be deleted from the repository
string
Heartbeat parameters
Parameter EventDBNoCleanupNonClosed
Description list of classes in which non-closed events will not be deleted from the repository; comma separated
Type Boolean
Heartbeat parameters
Table 117: Heartbeat parameters
You can view the default values for these parameters in the mcell.conffile.
Parameter HeartbeatEnabled Description indicates whether the heartbeat monitoring mechanism is enabled or not Type Boolean
Heartbeat parameters
Description the default interval between two beats, if not specified in the data object the default number of consecutive missed beats that are needed to generate a critical event, if not specified in the data object the default number of consecutive missed beats that are needed to generate a minor event, if not specified in the data object the default number of consecutive missed beats that are needed to generate a warning event, if not specified in the data object
HeartbeatMissedMinor
number
HeartbeatMissedWarning
number
The heartbeat feature enables a specific cell, called the monitoring cell, to monitor one or more cells, called the monitored cell or cells, for enabled access by the monitoring cell. The parameter in the mcell.conf file of the monitored cell should be HeartbeatEnabled=Yes. By default, the monitored cell sends a beat every 300 seconds. Heartbeats are configured through MC_CELL_HEARTBEAT dynamic data objects in the monitoring cell. An MC_CELL_HEARTBEAT dynamic data object contains information, such as the name of the cell to be monitored, the length of the expected time intervals between the heartbeats, and the number of heartbeats that must be missed to generate corresponding internal events in the monitoring cell. The cell receives the dynamic data object either by loading it from the data directory, receiving it through an mposter call, or viewing it in the Administrative View of the BMC ProactiveNet Administration Console . The monitoring cell sends a request to the monitored cell. The monitored cell sends a heartbeat back to the monitoring cell at the specified intervals. If the monitoring cell does not receive a heartbeat in the expected timeframe, the monitoring cell generates an alert that can be viewed in the BMC ProactiveNet Operations Console console. The default settings for missing heartbeats are as follows:
1 missed heartbeat generate a warning event 2 missed heartbeats generate a minor event 3 missed heartbeats generate a critical event
For example, cell 1 is the monitoring cell, which sends a request to cell 2, the monitored cell. If it does not receive a response at a specified interval, then the monitoring cell sends an alert that can be seen in the BMC ProactiveNet Operations Console.
After a monitoring cell terminates and restarts, it is aware of prior requests for heartbeats because it rereads the dynamic data objects that are stored in the cell repository mcdb. After it rereads the data, the monitoring cell attempts to resend the request to the monitored cell. If the monitored cell terminates, the monitoring cell resends the request for heartbeats at the specified intervals. Table 118 on page 569 lists the MC_CELL_HEARTBEAT slots.
Table 118: Heartbeat slots Slot
cell enable last_time interval
Description target monitored cell name 0 = disabled, 1 = enabled time last heartbeat was received length of interval between heartbeats Specify zero (0) to use the default, as determined by the HeartbeatInterval configuration parameter.
missed_warning
number of missed heartbeats before a WARNING event is generated Specify zero (0) to use the default, as determined by the corresponding HeartbeatMissedWarning configuration parameter. Specify -1 to disable generation of the corresponding event.
missed_minor
number of missed heartbeats before a MINOR event is generated Specify zero (0) to use the default, as determined by the corresponding HeartbeatMissedMinor configuration parameter. Specify -1 to disable generation of the corresponding event.
missed_critical
number of missed heartbeats before a CRITICAL event is generated Specify zero (0) to use the default, as determined by the corresponding HeartbeatMissedCritical configuration parameter. Specify -1 to disable generation of the corresponding event.
missed
Deleting an instance of an MC_CELL_HEARTBEAT data object from a monitoring cell terminates the monitoring of the corresponding cell or cells.
Note
You can view the default values for these parameters in the mcell.conffile.
Appendix A mcell.conf file parameters 569
KB parameters
Parameter CellEventEnable
Description a flag that indicates whether the cell should generate internal events, such as start, stop, and heartbeat; does not include events generated by the rules indicates whether an event processing error should produce a special internal event to flag that error, or not determines whether metrics for cell performance are collected or not
Type Boolean
Boolean Boolean
the time interval, in seconds, between generation of cell heartbeat number events (ticks) The purpose of such heartbeats is to send a sign of life from the cell. A zero (0) value disables cell ticks without disabling other internal events. This parameter operates only if the CellEventEnable is set to Yes.
RuleLoopDetect
a flag that requires the cell to check for certain conditions that can Boolean induce infinite looping of events Setting this parameter to Yes can cause mild cell performance degradation.
KB parameters
Table 120: KB parameters
You can view the default values for these parameters in the mcell.conffile.
Parameter KBDirName KBRecoveryDirName Description the path to the active KB directory the path to an alternate KB directory to be used for recovery from catastrophic damage For more information, see BMC ProactiveNet Command Line Interface Reference Manual. Type path path
Propagation parameters
The propagation parameters allow you to configure propagation and destination buffers. You can configure these parameters for individual destinations and also configure a default value for all other destinations. Use the asterisk (*) to specify all destinations.
570 BMC ProactiveNet Administrator Guide
Propagation parameters
The following parameter definition illustrates how to configure these parameters for all destinations.
DestinationBufferReconnectInterval = *=600
This example specifies that the interval to try to reconnect is 600 seconds for all destinations. If the * is not explicitly defined, the default value for the parameter will be applied to all destinations. To configure parameters for individual destinations, the value for these parameters is formatted as a comma-separated sequence of destination-specific settings in the form of DestinationName=Value. DestinationNames #1 and #2 are reserved to indicate the primary and secondary nodes of a high availability cell. For example,
DestinationBufferReconnectInterval = #1=10,#2=10,*=600,SlowCell=1200
This example specifies that the interval to try to reconnect is 10 seconds for the high availability nodes, 1200 seconds for a cell called SlowCell and 600 seconds for all other destinations. If the * is not explicitly defined, the default value for the parameter will be applied to all unspecified destinations.
Table 121: Propagation parameters
You can view the default values for these parameters in the mcell.conffile.
Parameter
DestinationBufferBaseSize DestinationBufferExpandPercentage
Description the initial number of messages, or events, retained in the buffer percentage of the actual buffer size that the buffer expands when events continue to be propagated after the buffer is full maximum allowed buffer size The default value of 0 means the buffer size is unlimited. In practice, the size is limited to 2^32-1, or to the available amount of memory. If the limit is set to a value lower than DestinationBufferBaseSize, the buffer will not expand beyond DestinationBufferBaseSize.
DestinationBufferSizeLimit
number
minimum percentage of free buffer size required to perform a reduction the time, in seconds, to keep sent events buffered while waiting for an answer
number number
Propagation parameters
Parameter DestinationBufferKeepWait
Description The amount of time, in seconds, that events are retained in the buffer until they can be sent. Once the specified time elapses, the retained events are removed from the buffer.
Type number
DestinationBufferReconnectInterval
the time interval, in seconds, in which the number cell attempts reconnection to a destination if the original connection failed The cell continues to reestablish a connection as long as there are events in the buffer.
the number of times to resend unanswered events the number of requests for propagation to retain in the propagation buffer Such a request corresponds to firing a Propagate rule. There is one propagate buffer per cell with as many places for requests as set by the parameter.
number number
Propagate BufferExpandPercentage
percentage of the actual buffer size that the buffer expands when events continue to be propagated after the buffer is full maximum allowed buffer size The default value of 0 means the buffer size is unlimited. In practice, the size is limited to 2^32-1, or to the available amount of memory. If the limit is set to a value lower than Propagate BufferBaseSize, the buffer will not expand beyond Propagate BufferBaseSize.
number
PropagateBufferSizeLimit
number
minimum percentage of free buffer size required to perform a reduction the name of the propagation configuration file
number path
a Can also be used in the mclient.conf configuration file, which affects the behavior of all of the BMC
Impact Solutions CLI commands. These parameters retain the same qualities and definitions in the mclient.conf file as they have in the mcell.conf file.
Propagation parameters
You can view the default values for these parameters in the mcell.conffile.
Parameter
MessageBufferBaseSize
Type number
MessageBufferKeepSent
the time, in seconds, to number keep sent messages buffered while waiting for an answer The amount of time, in seconds, that messages are retained in the buffer until they can be sent. Once the specified time elapses, the retained messages are removed from the buffer. number
MessageBufferKeepWait
MessageBufferReconnectInterval
the time interval, in number minutes, in which the cell attempts reconnection to a destination if the original connection failed The cell continues to reestablish a connection as long as there are messages in the buffer.
MessageBufferResendCount
number
Parameter MessageBufferSize
Description
Type
the number of messages, number or events, retained in the buffer when the cell is unable to send, or when waiting for an answer; a message that is not sent because the destination is down, for example, or a message that was sent but not yet answered, remains in the buffer A cell maintains one buffer for each destination. Such buffers have the same size, as set by the parameter.
PropagateBufferSize
the number of requests for propagation to retain in the propagation buffer Such a request corresponds to firing a Propagate rule. There is one propagate buffer per cell with as many places for requests as set by the parameter.
number
a Can also be used in the mclient.conf configuration file, which affects the behavior of all of the BMC
Impact Solutions CLI commands. These parameters retain the same qualities and definitions in the mclient.conf file as they have in the mcell.conf file.
You can view the default values for these parameters in the mcell.conffile.
Parameter
ReportConnectClients ReportModifyClients
Description reports connect and disconnect of clients reports modifications of events by clients
You can view the default values for these parameters in the mcell.conffile.
Parameter
ServiceModelEnabled
Description
Type
specifies whether the cell is an Event Management cell or a Boolean Service Impact Model cell. If ServiceModelEnabled=No, the cell operates as an Event Management cell. If ServiceModelEnabled=Yes, the cell operates as a Service Impact Model cell, if the SIM class definitions are loaded. If these class definitions are not available, the cell operates as an Event Management cell. Note: Do not try to configure a SIM cell unless you have the proper license.
ServiceModelPublish
controls whether or not Service Model Data is published Note: If ServiceModelPublish is disabled, the ServiceModelDirectFeed parameter has no impact. In this case, Service Model Data is always accepted through direct feed.
Boolean
ServiceModelDirectFeed
when ServiceModelPublish is enabled, ServiceModelDirectFeed controls whether or not Service Model Data is accepted through direct feed
Boolean
You can view the default values for these parameters in the mcell.conffile.
Para De Type mete sc r rip tio n Sta teB uil dIn ter val th number e ti m e in te rv al, in se co n ds , be t w ee n t w o b ui ld s of sa ve d st at es of th e ce ll
Para De Type mete sc r rip tio n Sta teB uil dSi ze th number e m ax i m u m si ze , in ki lo b yt es , of a tr an sa cti o n fil e be fo re it is tr an sf or m ed in to a ne w sa ve d st at e w he n th e
Para De Type mete sc r rip tio n Sta teB uil dCo nfi gFi leN ame th path e St at eB ui ld er co nf ig ur at io n fil e na m e
Para De Type mete sc r rip tio n Sta teB uil dAt Ter min ate in Boolean di ca ti o n to ru n th e St at eB ui ld er w he n th e ce ll te r m in at es
Para De Type mete sc r rip tio n Sta teB uil dRu nTi meO ut th number e ti m eo ut , in se co n ds , to co ns id er w he n w ai ti n g fo r th e St at eB ui ld er to te r m in at e
Trace parameters
Trace parameters
Table 126: Cell tracing parameters
You can view the default values for these parameters in the mcell.conffile.
Parameter a Trace TraceSrc TraceConfigFileName TraceDefaultFileName Description enables the generation of trace messages includes the file and line number in the trace messages location of the file containing the configuration of the trace messages destination file to redirect trace messages from stderr to, in case the cell runs as a daemon or service Note: If you direct trace files to the temporary directory of the cell (for example, TraceDefaultFileName=%T/trace %T=cell_tmp), the trace file will be removed each time the cell starts because the cell always cleans up its tmp directory at startup. To keep trace files across cell sessions, do not use the tmp directory as the default destination file location. TraceRuleLevel sets the level of rule execution tracing: 0no rule tracing and no cell error catch (not recommended) 1no rule tracing; cell errors are caught in the standard cell trace (default) 2rule tracing enabled
TraceRulePhases
number
When rule tracing is enabled, lists the rule phases to be traced. The value ALL can be used to specify that all phases are to be traced. Each phase can be prefixed with a + or a - sign to indicate addition or removal from the list. The list is interpreted in sequential order. For example, the following parameter setting:TraceRulePhases=ALL,-refine,-regulate indicates that all rule phases will be traced except for the refine and regulate phases. NOTE: TraceRulePhases and TraceRuleName work together to determine which rules are traced. A rule is only traced if both the phase to which it belongs and the rule itself are configured for tracing.
string
Trace parameters
Parameter
TraceRuleNames
Description When rule tracing is enabled, lists module:rule combinations to be traced. The value ALL can be used to specify that all modules and/or rules are to be traced. Each module:rule combination can be prefixed with a + or a - sign to indicate addition or removal from the list. The list is interpreted in sequential order. For example, the following parameter setting:TraceRuleNames=HelpDesk:ALL, HelpDesk:rule1,SendMail:rule1 indicates that all rules in the HelpDesk module will be traced except for rule1. Also, rule1 from the SendMail module will be traced. NOTE: TraceRulePhases and TraceRuleNames work together to determine which rules are traced. A rule is only traced if both the phase to which it belongs and the rule itself are configured for tracing.
Type string
TraceRuleHeader
enables you to configure the header text of the trace messages. You can configure the header text to contain references to parameters, using the following designations to represent the associated parameters: %I message id %F source file name %L source line number %M KB module name %R rule name %P rule phase %H handle of the main event being processed (event_handle slot) %C class name of the main event being processed For example, the default parameter settingTraceRuleHeader= %F, %L: %P %R: %C #%H: results in a message similar to:mc_intevt.mrl, 42: new StbldStop: MC_CELL_STATBLD_STOP #118: Rule execution starting
text
TraceRuleToXact
indicates whether to include rule tracing in the transaction file, Boolean as well as in the standard cell trace, in module RULES
Trace parameters
Parameter TraceFileSize
Description When the trace file grows beyond the indicated size, it is renamed with a numerical suffix appended. A new trace file is started. Special value 0 (the default) means no limitation on file size.
Type
TraceFileHistory
number of trace files to be kept in history When this number is reached, a new numbered trace file will remove the oldest one.
number
TraceFileAppend
indicates whether to append to existing trace files or empty existing trace files at startup
Boolean
a Can also be used in the mclient.conf configuration file, which affects the behavior of all of the BMC
Impact Solutions CLI commands. These parameters retain the same qualities and definitions in the mclient.conf file as they have in the mcell.conf file.
Trace parameters
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Index
A
action result event parameters ActionResultInlineLimit 557 ActionResultKeepPeriod 557 actions responding to an event 141, 143 administering remote cells Administration View (BIX) 511 Administration View creating new data instance 399 edit menu 401 exporting data 402 managing cells from 511 Slot Quick Filter 396 sort multiple columns 397 sort, single-click 399 Advanced subtab 454 alias 474 alias formulas conditional operators 303 functions in 305 AllowAdapterFrom 564 AllowBrowserFrom 564 AllowCellFrom 564 AllowCLIFrom 565 AllowConnectionFrom 565 AllowEIFFrom 565 Atrium CMDB. See BMC Atrium CMDB Auto Bind cell connection property 28 BMC Impact Explorer remote cell administration 511 using to monitor business services 449 BMC ProactiveNet Administration Console changing your password 31 BMC ProactiveNet Publishing Server publication filters 112 viewing publication history 116 viewing service model objects 115 BMC ProactiveNet Server Auto Reconnect configuration parameter 30 configuration parameters 29 Enable Port Range configuration parameter 29 Heartbeat Rate configuration parameter 29 logging out of and in to from the administration console 30 setting connection properties 29 business services monitoring in BMC Impact Explorer 449
C
cell configuration creating files for specific cells 480 cell connection properties specifying ports 28 used to connect to the BMC ProactiveNet Server 25 cell parameters CellDescription 558 CellOperationLevel 558 CellOperationRelax 558 ConnectionPortRange 558 ConnectionPortReuse 559 POMEnabled 559 ProcessingLimitPercentage 559 ServerAllInterfaces 560 ServerDirectoryName 560 ServerPort 560 SystemLogDirName 560 SystemTmpDirName 560 SystemVarDirName 560 cell tracing parameters, list of 581 Index 585
B
blackout policy (standard), creating 308 blackout policy, creating 309, 313, 318, 356 BMC Atrium CMDB integration 109 viewing publication history 116 viewing service model objects 115
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
CellDescription 558 CellErrorEvents 570 CellEventEnable 570 CellMetricsEnabled 570 CellOperationLevel 558 CellOperationRelax 558 cells heartbeats 570 permissions required to start on UNIX 495 production, described 475 reconfiguring 494 remote administration 511 starting and stopping 494 starting and stopping on UNIX 495 starting and stopping on Windows 496 starting or stopping on Windows 496 starting with services 497 stopping with mkill 496 stopping with services 496 test, described 475 view information 512 CellTickInterval 570 central ProactiveNet Server 223 changing your BMC ProactiveNet Administration Console password 31 child ProactiveNet Server 223 Class list box 453 client configuration for passive connections 486 client parameters 570 ClientCleanupInterval 562 ClientPollTimeOut 562 ClientSendTimeOut 562 DateFormat 562 SynchronizedTimeOut 562 ClientCleanupInterval 562 ClientPollTimeOut 562 ClientSendTimeOut 562 closure policy, creating 322 CMDB. See BMC Atrium CMDB commands mcell 495 mkill 495, 496 net start 497 net stop 496 communication and encryption AllowAdapterFrom 564 AllowBrowserFrom 564 AllowCellFrom 564 AllowCLIFrom 565 AllowConnectionFrom 565 AllowEIFFrom 565 encryption behavior 489 ForceEncryption 489 mcell.conf settings 488 mcell.dir settings 489 mclient.conf settings 489 component based enrichment policy 313 component based enrichment policy, excluding slots 317 computer system CIs 117 conditional operators in alias formulas 303 configuration BMC ProactiveNet Server 29 configuration files cell-specific, creating 480 mcell.conf 477, 481 mcell.propagate 481 mcell.trace 504 StateBuilder configuration 514 configuration parameters HeartbeatEnabled 567 HeartbeatInterval 568 HeartbeatMissedCritical 568 HeartbeatMissedMinor 568 HeartbeatMissedWarning 568 configuring clients for passive connections 486 reloading cell configuration 494 setting cell-specific configurations up 480 StateBuilder 514 connecting cells in a protected zone 486 connecting to the BMC ProactiveNet Server, methods used 17 connection protocols, used to connect to the BMC ProactiveNet Server 17 ConnectionPortRange 558 ConnectionPortReuse 559 console dynamic data 399 exporting data 402 Slot Quick Filter 396 sort data fields 397 sort, single-click 399 consumer components searching for 455 correlation policy, creating 325
586
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
creating configuration files cell-specific 480 Creating_event_correlation_policies 325 event management policies closure 322 component based enrichment 313 correlation 325 enabling and disabling 356 escalation 334 execution order 315 notification 338 propagation 342 recurrence 344 remote action policy 278, 347 standard blackout 308 suppression 347 threshold 350 timeout 354 event parameters EventAutoClose 565 EventDBCleanupDurationLimit 565 EventDBCleanupInterval 565 EventDBCleanuponDateReception 566 EventDBCleanupPercentage 565 EventDBCleanupPreferClosed 566 EventDBKeepClosed 566 EventDBKeepNonClosed 566 EventDBNoCleanupClosed 566 EventDBNoCleanupNoCleanupNonClosed 567 EventDBSize 566 repository cleanup 565 event policy evaluation order 286 types of 278 event propagation enabling 483 illustrated 483 event repository cleanup parameters 565 event selectors defined 283, 297 groups 284 maximum number 284 EventAutoClose 565 EventDBCleanupDurationLimit 565 EventDBCleanupInterval 565 EventDBCleanupOnDateReception 566 EventDBCleanupPercentage 565 EventDBCleanupPreferClosed 566 EventDBKeepClosed 566 EventDBKeepNonClosed 566 EventDBNoCleanupClosed 566 EventDBNoCleanupNonClosed 567 EventDBSize 566
D
data creating new instance 399 dynamic 399 exporting 402 sorting 397 DateFormat 562 deleting event alias associations 306 deployment scenarios 474 Direct, method used to connect to the BMC ProactiveNet Server 17 dynamic blackout policy, enabling 370 dynamic data 399 model 568 dynamic data enrichment policies blackout 370 creating new 357 dynamic enrichment policy, creating 373
E
ECF (event condition formula) 285 edit menu 401 editing event alias associations 305 Editing_slots 401 EM cell production 475 test 475 encryption behavior 489 mcell.conf settings 488 mcell.dir settings 489 mclient.conf settings 489 encryption key 489 enrichment policy, creating 329 error file mcell.err 510 escalation policy, creating 334 establishing inbound connection in protected environment 486 evaluation order of policies 286 event alias associations deleting 306 editing 305 event condition formula 285
Index
587
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
events exporting to a flat file 521 propagating using a gateway 481 responding with an action 141, 143 events, sorting 397 ExportConfigFileName 514 ExportDiscarded 514 exporting event data from mcdb by StateBuilder 514 events to a flat file 521 exporting data 402 ExportTriggerArguments 514 ExportTriggerProgram 514 external data sources 288 HeartbeatMissedCritical parameter 568 HeartbeatMissedMinor parameter 568 HeartbeatMissedWarning parameter 568 heartbeats, cell 570 HTTP Tunnel, method used to connect to the BMC ProactiveNet Server 17
I
icons Refresh 459 Impact/Cause View illustrated 450 opening 450 Index Term 132, 187, 188, 238, 239, 277, 393, 413, 470474 integrating with BMC Atrium CMDB 109
F
files gateway.export 514, 521, 522 mcdb state 513 mcell.conf 481 mcell.err error 510 mcell.modify 487 mcell.propagate 481 mcell.trace 504 propagation configuration 481 statbld.conf 513, 521 statbld.exe 513 statbld.trace 514, 523 StateBuilder configuration 514 trace configuration 504 xact transaction 514 filtering publications 112 Find Service Components box 453 finding service components to view 453 ForceEncryption 489 functions in alias formulas 305
K
KBDirName 570 KBDirName parameter 570 KBRecoveryDirName parameter 570 Knowledge Bases KBDirName 570 parameters KBRecovery 570
L
launching the administration console configuring cell connection properties to the server 25 connection protocols used 18 on Solaris 20 on Windows 18 using multiple consoles on Windows computers 19 using the Search function 21 lazy loading 188
G
gateway 481 gateway configuration 515 gateway.export file 514, 521, 522 General subtab 454 Global Services group 453
M
mcdb state file 513 mcell command 495 mcell.conf file parameter rules 477 path substitution parameters 478 specifying paths 478
H
HeartbeatEnabled parameter 567 HeartbeatInterval parameter 568 588
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
mcell.dir file configuring clients for passive connections 486 description and usage 484 example file 485 format of entries 484 keywords for entries 485 rules applied to entries 485 mcell.err file 510 mcell.modify file 487 mcell.propagate file 481 default options 482 usage 481 mcell.trace file 504 menu, editing 401 message buffer parameters MessageBufferKeepSent 571, 573 MessageBufferKeepWait 572, 573 MessageBufferReconnectIntervalparameters MessageBufferReconnectInterval 572, 573 MessageBufferResendCount 572, 573 MessageBufferSize 570, 573, 574 MessageBufferKeepSent 571, 573 MessageBufferKeepWait 572, 573 MessageBufferReconnectInterval 572, 573 MessageBufferResendCount 572, 573 MessageBufferSize 570, 573, 574 methods used to connect to the BMC ProactiveNet Server, Direct 17 methods used to connect to the BMC ProactiveNet Server, HTTP Tunnel 17 mkill command 495, 496 monitor to CI alias 474 monitoring business services in BMC Impact Explorer 449 monitoring passive connections 487 multiple ProactiveNet Server deployment 223 My Services group 452
P
parameters ActionResultInlineLimit 557 ActionResultKeepPeriod 557 client 570 HeartbeatEnabled 567 HeartbeatInveral 568 HeartbeatMissedCritical 568 HeartbeatMissedMinor 568 HeartbeatMissedWarning 568 KBRecovery 570 Server 570 state 570 trace, list of 581 tracing, configuring 508 passive connections 486 client configuration 486 monitoring 487 password, changing for the BMC ProactiveNet Administration Console 31 permissions considerations for root user 495
N
Name contains text box 453 navigation pane using to view service components 451 navigation tree, improving performance 188 new data instance, creating 399 notification policy, creating 338
O
opening Impact/Cause Views 450 originating ProactiveNet Server 223
Index
589
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
policies Blackout 308, 356 Closure 322 component based enrichment 313 Correlation 325 creating new dynamic data enrichment 357 dynamic data enrichment blackout 370 Dynamic Enrichment 373 enabling dynamic data enrichment dynamic data enrichment policies enabling out-of-the-box 369 enabling standard out-of-the-box 356 Enrichment 329 Escalation 334 evaluation order 286 new closure 322 new correlation 325 new escalation 334 new notification 338 new propagation 342 new recurrence 344 new standard blackout 308 new suppression 347 new threshold 350 new timeout 354 Notification 338 Propagation 342 Recurrence 344 Suppression 347 Threshold 350 Timeout 354 policy type, user-defined creating presentation names for 409 creating processing rules for 410 creating, task overview 407 defining policy data class for 407 presentation names defining for a new policy type 409 ProcessingLimitPercentage 479, 559 production cells described 475 profile types used in the administration console Admin profile 32 User profile 32 pronet.conf 183 PropagateBufferSize 572, 574 PropagateConfigFileName 572 Propagates Priority check box 453 propagating events using a gateway 481 propagation configuration file, mcell propagate 481 propagation parameters PropagateBufferSize 572, 574 PropagateConfigFileName 572 propagation policy, creating 342 protected environments client configuration for passive connections 486 monitoring passive connections 487 protected zone, connecting cells in 486 provider components searching for 455 publication filters 112 publication history viewing 116 publishing server computer system CIs 117
R
reconfiguring cell files for 494 recurrence policy, creating 344 Refresh icon 459 Related Components subtab described 454 illustrated 455 searching for provider and consumer service components 455 remote actions accessing results of 141, 143 responding to event 141, 143 remote execution policy 138 Remote Action Policy dialog box 123, 127 Remote Action Policy window 122, 140 troubleshooting 147 results of a remote action 141, 143 Results list 453 return codes statbld 515 root permissions considerations 495 rule phases 286 RuleLoopDetect 570
S
Schedule subtab 454 searching for provider or consumer components 455 for service components to view 453
590
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
server parameters 570 CellErrorEvents 570 CellEventEnable 570 CellMetricstEnabled 570 CellTickInterval 570 ConnectionPortRange 558 ConnectionPortReuse 559 ProcessingLimitPercentage 479, 559 RuleLoopDetect 570 ServerDirectoryName 560 ServerPort 560 ServerAllInterfaces 560 ServerDirectoryName 560 ServerPort 560 service component viewing SLM agreements for 456 service components accessing through navigation pane 451 finding to view 453 searching for providers 455 viewing information about 454 service model objects viewing 115 services starting cells with 497 stopping cells with 496 Services Group tab 452 Services View overview 449 subtabs 454 setting cell-specific configuration up 480 SIM cell production 475 test 475 SLM viewing agreements for a component 456 SLM subtab (Services View details) 454 Slot Quick Filter 396 sorting 397, 399 starting cells UNIX platforms 495 using mcell 494 Windows 496 with net start 497 with services 496, 497 statbld return codes 515 statbld.conf file 513, 521 statbld.exe file 513 statbld.trace file 514, 523 state configuration parameters 570 ExportConfigFileName 514 ExportDiscarded 514 ExportTriggerArguments 514 ExportTriggerProgram 514 StateHistoryCount 515 state parameters 570 statbld.conf 578 StateBuildAtTerminate 579 StateBuildInterval 576 StateBuildRunTimeOut 580 StateBuildSize 577 StateBuildAtTerminate 579 StateBuildConfigFileName 578 StateBuilder 513 configuration parameters for event data export 514 StateBuildInterval 576 StateBuildRunTimeOut 580 StateBuildSize 577 StateHistoryCount 515 stopping cells on Windows 496 UNIX platforms 495 using the mkill command 496 with mkill 494 with net stop 496 with services 496 subtabs Advanced 454 General 454 in Services View 454 Related Components 454 Schedule 454 suppression policy, creating 347 SynchronizedTimeOut 562 SystemLogDirName parameter described 560 used to specify log and trace file directories 495 SystemTmpDirName parameter described 560 used to specify trace and log file directories 495 SystemVarDirName parameter described 560
T
test cells described 475 threshold policy, creating 350 timeframes creating 289 timeout policy, creating 354
Index
591
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
toolbar in dynamic data editor 396 trace configuration file 504 configuring 504 parameters 504 Trace parameter 581 trace parameters list of 581 trace, disable encryption to 491 TraceConfigFileName parameter 581 TraceDefaultFileName parameter 581 TraceFileAppend parameter 583 TraceFileHistory parameter 583 TraceFileSize parameter 583 TraceRuleLevel parameter 581 TraceRuleToXact parameter 582 TraceSrc parameter 581 tracing parameters configuring 508 Trace 581 TraceConfigFileName 581 TraceDefaultFileName 581 TraceFileAppend 583 TraceFileHistory 583 TraceFileSize 583 TraceRuleLevel 581 TraceRuleToXact 582 TraceSrc 581
V
view switching, enabling 189 viewing service component information 454 service components with find 453 viewing publication history 116 viewing service model objects 115 views, changing automatically in the operations console 189
W
Windows starting a cell with services 497 starting cells 496 starting cells with net start 497 stopping a cell with mkill command 496 stopping a cell with services 496 stopping cells 496 stopping cells with net stop 496 stopping with mkill 496
X
xact transaction file 514
U
UNIX permissions required to start cells 495 root user permissions 495 starting cells 495 stopping cells 495
592
49532
*196906 *