(DI-1708) Datavard Insights setup

This chapter describes the Datavard Insights TM setup and maintenance. When setting up Datavard Insights TM to monitor the system landscape, start by adding the systems to the monitoring pool and the setup of which KPIs are to be collected and what events are to be alerted. These configurations will be saved in profiles, once the profiles have been created, they can be assigned to each system and monitoring can be started. The first run of the Datavard Insights TM Monitor will be with an empty monitored systems pool.



Figure 6: First start of the Datavard Insights TM Monitor


Add a new system

To add your systems into the Monitor, follow these steps:

  1. In main, click on the Add new system for monitoring button or press (Shift + F1). A popup for adding a new system will appear.
  2. In the Destination field, type the name of the RFC destination. For creating a new RFC destination, click on the Maintain RFC button and the system opens Display and maintain RFC destinations transaction for this purpose.

For monitoring the central system in which the Monitor is installed, type NONE in the RFC destination field.


3. After typing in the RFC destination field, click on the Check RFC button. The system checks the connection to the remote system. If the connection is present, the system displays additional information about the remote system in the fields below. If there are connection problems or if the remote system does not have the Datavard Insights TM collectors package installed, the system displays an error message.


Figure 7: Adding a new system


4. If the connection is correct, then choose a System type.

5. In the Maximum time for RFC PING in seconds field, the user can set up a maximum time for RFC PING. If the remote system does not respond after the maximum time that is set, then it is highlighted that the system is not accessible with a red light icon in monitoring pool.


Recommended value for RFC PING is at least 10 seconds also in the case of fast connection.


The system automatically detects the system types available for monitoring and displays it at the bottom.

6. Check whether all the information is correct. Finally, click on the green button Add system or press F8 function key. The new system will be added to the monitored systems pool.


Figure 8: New system in the monitored systems pool


Once the system is added, you have to start the monitoring. You can start this by clicking on the 'Start default monitoring'.


Delete system from monitoring pool


Will remove monitored system from monitoring pool as well as all its Collector jobs and will delete all collected data including saved intervals. Before deletion, you should stop the Collector jobs linked to the monitored system.


Figure 9: Removing a monitored system from monitoring pool



Figure 10: Warning if Collector jobs are not stopped before deletion



Figure 11: User confirmation before final removal

Create a Collector job (for monitoring)

For the monitoring of a remote system, it is necessary to run a Collector job for monitoring. This Collector job is scheduled and periodically run as a background job. To create a Collector job, do the following steps:

  • In the main menu, click on the Create new Collector job button or press the function key F9.

The system displays a popup window known as Collector Job Manager. This will have two sections namely Monitoring plan (for creating/ editing Collector jobs) and running Collector jobs (providing an overview of already created/running Collector jobs).


Figure 12: Collector job Manager


To create a new Collector job, the user should define the following:

  • Definition: Here the user provides the System ID to be monitored and assigns a KPI profile.
  • Execution: the user may choose to run the Collector job immediately after the Collector job is (re) started or choose a time and date indicating when to begin.
  • Period: The User defines the time interval between runs of the Collector job.
  • Retention time: determines how long the Collector job will store collected monitoring data. With older data, retention time is then automatically deleted with exception data that is collected during saved time intervals.

When the Collector job has been created/ edited, the user should click the (Re) Start Collector job button. A notification will appear in the bottom right-hand corner.

Figure 13: Successfully started monitoring Collector job

Reporting of KPI chart

It is possible to generate an offline report of KPI charts. The report generator is accessible from main menu or press Ctrl + F5.

Figure 14: Accessing Report Generator 

In the report generator, you can define the range of KPI's and Systems that you want to view in the report. The report is generated into HTML and this can be saved in frontend PC, in application server or can be sent via email. The report generator can be scheduled as background job to be run on regular basis and for providing a report status for occurred events.


 Figure 15: Setting up scope of Report and Exporting options


 Figure 16: Report Export Log

System settings maintenance

When you click on the System settings button in the main menu or press Shift + F5, the system displays the systems definition maintenance screen. In System maintenance category, you can change only RFC destination and response time.

System maintenance:

Figure 17: System maintenance


Correct setup of response time is important in cases where there is a slow connection between systems. If response time is exceeded, then system is marked as offline or inaccessible.


 Figure 18: Setup of response time


Server list category is for displaying list of servers for selected system. Here, it is possible to specify which server(s) are to be monitored.


 Figure 19: Server list


System groups:

Allows you to group Systems, based on common attributes such as, production, development systems, geographic location etc. Note that one system can be placed in multiple groups.
If a system is allocated to multiple groups, when you check or uncheck the system in one group, then this will also be reflected in the other groups to which the system is allocated.


 Figure 20: System groups

In system group list category, it is possible to specify which system(s) will belong to group.



 Figure 21: System group list

Configuration parameters:

Here, it is possible to customize the behaviour for some predefined properties:

Max. runtime for execution of collecting BG jobs in seconds
Determine maximum runtime for collector BG job execution. If BG job runtime reach this limit then it is aborted. Each such Default value is 600 seconds (10 minutes).
Allow use KILL WP for long-running collecting BG jobs
Allow to use low level function KILL Work-Process to terminate collecting BG job which cannot be aborted with standard functionality. Works only if previous configuration parameter "Max. runtime for BG job agent..." is not initial. Set this parameter to 'X' to turn it on. Default value is initial.
Max. limit for BG work-processes consumption in same time
Specify a limit as to how many background work-processes can be used for collecting BG jobs in same time. Set number less then maximum of BG work-processes defined on central system. Default value is initial which means no limit for BG WP.
Priority class for execution of collecting BG jobs
Set BG job priority class for execution of collecting BG jobs. Three priority classes are allowed: 'C'-lowest priority, 'B'-medium priority, 'A'-highest priority. BG jobs with highest priority class are executed firstly if exist more BG jobs waiting for free BG work process. Default value is 'C' or initial (has same meaning).
Server group for executing collecting BG jobs
Specify a name of server group for executing of collecting BG jobs. Server group can be created in SAP transaction SM61 and determines specific list of application servers where BG job can only run. Default value is initial (no specific server group is used).
WARNING: If server group name is set incorrectly (not exist in SM61) then execution of collecting jobs will fail.
User ID used for execution of collecting BG jobs
Set user ID which will be used for executing of collecting jobs. Each execution of collecting jobs and all actions of monitoring on central system are performed under this user ID. If no user ID is defined (default value) then logon user who triggers execution of collecting BG job will be used.
It is recommended to create such user of system type on central monitoring system and setup it with limited authorizations defined in role /DVD/MON_ADMIN.
External storage ID in Datavard Storage Management
This setup allows to store monitoring results in different (external) transparent storage via Datavard Storage Management [DVD SM]. Storage ID has to be defined in DVD SM via transaction /DVD/SM_SETUP. Monitoring results stored on external storage are protected against retention deletion. Only transparent storages are supported. For more information about DVD SM contact Datavard's consultant. Default value is initial (no external storage for monitoring results).
Maximum allowed percentage of used ARFC resources
Datavard Insights checks system and server availability via asynchronous processes [ARFC] as safety way against communication hanging issue. Each system has limited number of dialog work processes (75% is system default value, check transaction SARFC) to be used for ARFC. This setup determine maximum limit from those ARFC resources which can be used by Datavard Insights availability checks. If Datavard Insights requests ARFC resource which is out of setup limit then it waits when ARFC resources are available again. Wait time is setup in next configuration parameter. If wait time is exceeded then availability check is not performed and error message is written to log. This setting should be applied only in case that Datavard Insights central instance runs on system with limited resources or system which uses ARFC by other transactions. Default value is initial.
Max. waiting time to check available ARFC resources
Define waiting time in seconds to check if ARFC resources are available for Datavard Insights availability check. Parameter works only with previous configuration parameter. Default value is initial (no waiting time, availability check and collecting job are canceled when no ARFC resources are available, error message is written to log).
E-mail address used for sender of notification
Email address which will be used as sender in notification emails. Default value is Datavard Insights @do_not_reply.com (same email address is used in a case if initial value).
WARNING: Wrong address (against email address RFC standards) can lead to dysfunctional of notification mechanism and no emails will be sent.
Display popup for user in different time zone.
Use a pop up for making user aware that there are differences between time zones of system and user (default 'X' value). If parameter is initial then popup will not be displayed. If parameter is set to 'Y' then popup is displayed and access to the Datavard Insights TM monitoring cockpit is terminated.


 Figure 23: Configuration setup


For each value of property, there is possibility to set up restriction for system and profile.


Figure 24: Property configuration

 Restriction in monitoring:

This enables the user to turn off the monitoring during a specific time interval, i.e. because of system maintenance. Restriction is possible to set up for specific system, server or profile.


 Figure 25: Restriction in Monitoring Overview

When creating a new entry, the user should specify the following:

  • The Restriction Name: Describes the reason for switching off monitoring.
  • Restriction rule is valid from: Here, the user can specify the time validity of the rule (i.e. the date range in which this rule is valid for)
  • Time of occurrence: The user should specify the exact time in which this rule should be enforced, and has the option to choose a repetition of this rule.
  • Apply restriction only on (combination allowed): Here, the user can specify the System ID, Server name and monitoring profile. The user can utilize a combination of all of these. If all fields are empty by default, monitor for all systems will then be stopped during the specified restriction time.



 Figure 26: Restriction in Monitoring Input Screen

Time intervals:

The user may save time intervals in the Datavard Insights TM Monitor in order to maintain a historical reference of issues that may have happened in the system landscape. If there were any time intervals saved, then they would be displayed in this section. See Time intervals in the Datavard Insights TM monitor for more information.

 Figure 27: Time intervals


 Figure 28: Time intervals in monitoring main screen

Message groups:

In Message groups, the user can adjust or create categories of messages and with these groups; the message list is adjusted or created. The user can view the messages generated by Datavard Insights 's monitoring activities.


 Figure 29: Messages groups


 Figure 30: Messages list

Message notification:

The user can create notifications to be sent to users/distribution lists whenever a notification occurs.

 Figure 31: Message notification

User List

Here you can define what the user can view in the Datavard Insights TM monitor. It is possible to define for each user, a filter on the level, system, the list of profiles that are accessible and the KPIs that they can see.

 Figure 32: User List settings



 Figure 33: Setting up User Filter for System ID's


Figure 34: Setting up User Filter for KPI groups



Figure 35: Customized view in Datavard Insights TM Monitor


Monitoring settings maintenance

When you click on Monitoring settings button in the main menu or press Shift + F2, the system displays the monitoring settings maintenance screen. 

Figure 36: Monitoring settings

KPI Collectors:

Here the user can view the central list of collectors used. These are the collectors used by Datavard Insights TM to monitor the central and remote systems. List of collectors that are remote or on the system that can be called. Collectors delivered with Datavard Insights , start with the /DVD/MON prefix and are preconfigured. These could be adjusted by the user, by adjusting KPI's, parameters etc. Users can create their own collectors under the Z* Y* namespace and it is mandatory to register each collector here before being used.

Figure 37: Collectors maintenance

Collector's KPI:

It is where the list of the KPIs associated to the selected collector, can be adjusted or new ones created. The user may adjust or set up the additional parameters for these KPIs to suit requirements. For more information, see Appendix 1: KPI Definitions.


Figure 38: Collector's KPI

Collector's setup: Here, the user can change or define new behaviours of the collectors:
The user can determine the Destination of the collector whether it will be run on the central or remote instance, to suit system differences, as not all behaviours may be required, or the user can collate information and post processing, i.e. post processing of remote systems in the central system.



Figure 39: Collector's setup


Other behaviours could be required in certain instances wherein Collectors are monitoring systems on a regular basis, for example, every 5 minutes. In such instances, execute it in a separate dialog and set a time limit in order to avoid an overlap of data collected.
This setup is not necessary in standard cases.

Collector's parameters:

Some collectors are created to measure durations taken when a system or server are performing certain operations, this is where the user could use the parameters to set/ adjust benchmarks for the KPI's. In this case, values are deleted and the default values provided with the collectors will be used. For more information, see Appendix 1: KPI Definitions.

Figure 40: Collector's parameters

Collector's inputs:

These are customizing tables, which contains reference information for the collector, in relation to the type of KPI's that are needed to be collected. The user can customize these tables to watch out for specific requirements.


Figure 41: Collector's inputs

The user can change these inputs by pressing the edit button.

 

Figure 42: Collector inputs edit

KPI Definitions:

A KPI is registered by creating the definition, setting parameters for this KPI and assigning it to a collector, which will collect the KPI. 

Figure 43: KPI Definitions

KPI Definitions include the following parameters:

Figure 44: Maintenance KPI definition

  • Definition
    • KPI name: unique name of a KPI
    • KPI description: description that will be used in charts and other outputs as the KPI label
  • Properties
    • Unit: % MB, KB dependent on KPI. For more information, refer to Appendix 1: KPI Definitions.
    • Num. of decimals: how the value is displayed in the charts – KPIs are stored as integer numbers and not as real numbers
    • Monitoring area: determines system type specific to KPI. The KPI will be collected only for a specific system type like ERP, BW, CRM, SRM and others
  • Collection
    • KPI collector: determines which collector will collect the KPI
    • Collected on: states where the KPI will be collected or calculated. Possible values are Remote system and Central system
    • Collected for: determines KPI orientation. Values are either system or server
    • Server specification: information can be collected on any server, only application server, only database server, only external server
  • Calculate KPI from another KPI(s)
  • Chart settings
    • Lower/Upper limit mode:
      • Limit is calculated from minimum/maximum values
      • Limit is fixed value
      • Limit is calculated from fixed and minimum/maximum values
    • Lower/Upper limit value: value for displaying KPI series in charts
    • Chart line type: simple line, spline, discrete
    • Logarithmic Y scale: Y axis labels are values of common logarithm (decimal)
    • Don't display KPI in charts: KPI won't be displayed

Figure 45: Long description

 Automatic calculation

In this block, it is possible to define the method in which the KPI will be calculated without any coding. With customizing, the user can define a new KPI (e.g. new percentage value), which will be calculated from already calculated KPIs defined in source fields. The calculation is setup in "Calculation function" field and source KPIs are defined in three fields below:

  • "KPI source for calculation"
  • "2nd KPI source for calculation "
  • "3rd KPI source for calculation".


Figure 46: Automatic calculation


Usage of these fields depends on the chosen calculation function. It is possible to use following calculation functions by default:

  • Minimum from all servers – new system KPI will be calculated as minimum from KPI's values of all servers defined by KPI name in first source field and are collected in current run.
  • Maximum from all servers – new system KPI will be calculated as maximum from KPI's values of all servers defined by KPI name in first source field and are collected in current run.
  • Averages from all servers - new system KPI will be calculated as average from KPI's values of all servers defined by KPI name in first source field and are collected in current run.

Figure 47: Example for average calculation for KPI DISK_RESPONS_SYS - Average disk response time (all servers)

  • Sum from all servers - new system KPI will be calculated as sum of KPI's values of all servers defined by KPI name in first source field and are collected in current run.
  • Minimum from collected KPIs - new system/server KPI will be calculated as minimum from KPI's values of all system/server defined by KPI name in first source field and are collected in current and previous runs.
  • Maximum from collected KPIs - new system/server KPI will be calculated as maximum from KPI's values of all system/server defined by KPI name in first source field and are collected in current and previous runs.
  • Average from collected KPIs - new system/server KPI will be calculated as average from KPI's values of all system/server defined by KPI name in first source field and are collected in current and previous runs.
  • Percentage from all servers - new server KPI will be calculated as percentage from KPI's values of all servers defined by KPI name in first source field and are collected in current run. Percentage is calculated from KPI's value in server as base of sum of KPI's values of all servers.
  • Percentage of one KPI from other KPI - new system/server KPI will be calculated as percentage from KPI's value of server/system defined by KPI name in first source field in current run and in base of KPI's value of server/system defined by KPI name in second source field and which are collected in current run.

Figure 48: Example for percentage calculation for KPI ENQ_ENTR_P - Usage of SAP lock table

  • Delta between last and current KPI value - new system/server KPI will be calculated as delta between KPI's value of server/system, defined by KPI name in first source field and collected in current run and previous run.
  • Absolute delta between last and current KPI value - new system/server KPI will be calculated as absolute value of delta between KPI's value of server/system defined by KPI name in first source field and collected in current run and previous run. Result KPI's value is always positive.
  • Speed of increasing of KPI value from last run in minutes - new system/server KPI will be calculated as delta between server/system KPI's value of server/system defined by KPI name in first source field and collected in current run and previous run. Result value will be divided by time between both runs.
  • Calculate difference between two KPIs - new system/server KPI will be calculated as difference between KPI's value of server/system and defined by KPI name in first source field and server/system KPI's value defined by KPI name in second source field.


The user can use the third field to facilitate the calculation of more complex KPI.

Allows the users to avoid coding and to create simple calculations of KPI by only customizing/defining – how to interpret/compare values and for these to be displayed in graphical format.

Next two subcategories namely KPI in profiles and Event for KPI in profile have same meaning as they do in the previous section; for more information, refer to Profile definitions maintenance.


 Figure 49: KPI Groups


KPI Groups category with KPI Group list subcategory defines only the categorizing and displaying of KPI's charts on KPI tab.

As of Datavard Insights TM 1.61, it is possible to customize the views so that you can adjust which KPI groups are visible for you in the Datavard Insights TM Monitor; this can be done in the "Filter for KPI" group as well as in the "Filter for Profile".

Figure 50: Filter for KPI group

Detail tables:

This section displays the table names where the data from the collectors is collated/ stored. It is visible in the details tab of the Datavard Insights TM monitor.

Figure 51: Detail tables

Profiles definition:

The user may create new profiles or maintain existing profiles. These profiles are required before starting the monitoring of Collector jobs.


Figure 52: Profile definition

By selecting a profile, the user may customize KPIs, Alerts, Collector's parameters and Collector's setups associated with the profile. Using these profiles, you can define the KPIs which will be collected in the monitored system. Only existing KPIs can be associated with specific profiles.

Figure 53: Association of KPIs to profile

If you want to monitor a certain KPI for a specific profile, you can also set alerts. Only created and KPI-specific alerts can be set up in this method.

Figure 54: Alerts created for profile-dependent KPI

In this subcategory, you can define a profile to determine which alert will be monitored with specific setup for a specific KPI. For detailed information about alerts, refer the next section Alert definition.

Alert definition:

Figure 55: Alert definition

Here you can create new alert definition.


Figure 56: Created alert

This definition consists of:

  • Alert type – describes the type of alert and determines the icon to be displayed if the alert occurs. Possible values are:
    • Success
    • Warning
    • Issues
    • Error -
  • Period time – the frequency that specifies how often the alert is rechecked.
  • Alert description – this description will be used as the label in outputs.

For every alert created, it is necessary to define associations to the KPI and to the Profile. This can be done in the Alert association category of this screen. The following fields should be filled:

  • Monitoring profile – alert will be checked only for this profile under running Collector job.
  • KPI name – alert will be checked only for the value of this KPI.
  • Comparison operator – determines in which case a KPI value causes an alert to occur.

Figure 57: Comparison operator

  • Threshold – determines the limit value for a KPI. This alert will occur if the KPI exceeds its defined threshold of associated alert.
  • Unit – determines the unit of measurement to be used, i.e. %, MB etc.
  • Duration start – how long can a KPI value exceed the threshold (in grey area) before an alert will occur (starting delay for alert).
  • Duration end – how long a KPI value has to be outside of the threshold area (in grey area) before an alert will be stopped (ending delay for alert).

 Figure 58: Event association


Each alert occurrence can be notified by email or by message in SAP Business Workplace. That can be done in the Alert notification category of this screen. The following fields should be filled:

  • Monitoring profile.
  • Recipient address – the email address or username from SAP system can be specified.
  • Type of notification – determines the notification method. Possible values are:
    • E-mail – notification will be sent to the email specified in "Recipient address" field.
    • SAP Office message – notification will be sent to the SAP Business Workplace for user who is specified in "Recipient address" field.
    • Private distribution list – notification will be sent to all addresses defined in SAP Private Distribution List (transaction SO15 or button "Distribution list" in Datavard Insights TM toolbar).
    • Shared distribution list– notification will be sent to all addresses defined in SAP Private Distribution List (transaction SO15 or button "Distribution list" in Datavard Insights TM toolbar).
  • BAdI ID – [optional] ID, which will be used for filtering of BAdI call. You can create your own BAdI for notification using BAdI implementation /DVD/MON_BADI_DEF_EVENT. Each BAdI implementation has to define the filter, which is also used for determining explicit call of the BAdI for processing of notification. Default BAdI implementation used for notification has initial BAdI ID.
  • Alert notification – determines the period for sending of notifications. Possible values are:
    • At first occurrence – notify when alert occurs first time
    • At next occurrence – notify each occurrence of alert
    • At end of alert – notify when alert is completed


Figure 59: Alert notification

User settings

Users could set up their own GUI of Datavard Insights TM Monitor by clicking on the "User settings" button in the main menu. The system displays a pop up window with two tabs:

  • "General" tab contain basic settings.
  • "Charts" tab contain settings related to customizing of charts.


Figure 60: General settings

General settings:

Ping system on refresh – The user may check this option and by doing so, on each refresh of the Monitor, the connection to each monitored system in the system pool will be tested. Checking of this option may slow down the response of GUI because all connections will be tested; however, the system displays real time information about statuses of the monitored systems.
Ping application server on refresh – similar to 'ping system on refresh' but it is carried out on application server level; wherein on each refresh of the Monitor, the system will test the connection to each application server in system pool. Checking of this option may slow down the response of GUI because all connections will be tested; however, the system displays real time information about statuses of the monitored application servers.
Set last time interval on startup – if you check this option, then on each run of Monitor, the time interval from last run will be set.
Do not use user's local time zone – If this field is checked, then the user will view all time fields in the monitor in the system time zone of the central monitoring instance.
Hide unused KPI from KPI groups/ KPI Groups – If these are checked, then all unused KPIs/KPI groups will be hidden from the KPI Group tree view on the bottom left of the monitor.
Hide non-monitored servers from pool tree – If this is checked, then all servers which are marked as "Don't monitor" will be hidden in the system pool tree view on the top left of the monitor.

Search Tool bar for System Pool tree and KPI pool tree

A new search bar has been introduced for System pool tree and KPI groups. This is switched off by default; however, you can turn this on via the user settings. The Search bar enables you to navigate to a node of the tree by entering the description/name, for example, in the KPI "CPU" and this will display all KPIs that have CPU within the name.

Figure 61: Quick search for SIDs, SERVERs, KPIs

 Chart settings:

Figure 62: Chart settings

Use java script jqCharts – by checking this option, you will enable new powerful charts, which are implemented via Java Scripts. Using new charts allow more interaction and faster display of huge amount of data in charts. In addition, the charts are clearer and the User can view detailed descriptions of KPIs.

Figure 63: JavaScript Charts

You can use the new JavaScript charts only if you have installed Internet Explorer 9 on front end PC!


Stretch series
– if you check this option, then all displayed charts will be stretched to measured time intervals. This option is possible to use only with new Java Scripts charts. 

Display legend in charts – if you check this option, then in all charts there will be displayed legend. This option is possible to use only with new Java Scripts charts.
After changing of settings, the user should click on "Save setting (F8)" save button and all changes will be immediately reflected. If the user closes the Datavard Insights TM Monitor, then all settings with composition of layout, checked systems and selected KPIs will be automatically saved for that particular user and it will be restored in next run of Datavard Insights TM Monitor.
If saved settings are no longer suitable, then click on "Reset to default settings (F2)" button.