Skip to content

Commit 8555d8d

Browse files
authored
Merge pull request #230193 from limwainstein/sap-pahi-table
Adding section for PAHI job monitoring (related to risky configuration)
2 parents 1331581 + cb51931 commit 8555d8d

File tree

7 files changed

+56
-8
lines changed

7 files changed

+56
-8
lines changed

articles/sentinel/sap/deployment-solution-configuration.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: Configure Microsoft Sentinel solution for SAP® applications
33
description: This article shows you how to configure the deployed Microsoft Sentinel solution for SAP® applications
4-
author: MSFTandrelom
5-
ms.author: andrelom
4+
author: limwainstein
5+
ms.author: lwainstein
66
ms.topic: how-to
7-
ms.date: 04/27/2022
7+
ms.date: 03/10/2023
88
---
99

1010
# Configure Microsoft Sentinel solution for SAP® applications
@@ -136,3 +136,7 @@ If you need to reenable the Docker container, run this command:
136136
```
137137
docker start sapcon-[SID]
138138
```
139+
140+
## Remove the user role and the optional CR installed on your ABAP system
141+
142+
To remove the user role and optional CR imported to your system, import the deletion CR *NPLK900259* into your ABAP system.
32.9 KB
Loading
69.7 KB
Loading
53.2 KB
Loading
61.9 KB
Loading
120 KB
Loading

articles/sentinel/sap/preparing-sap.md

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: Deploy SAP Change Requests (CRs) and configure authorization
33
titleSuffix: Microsoft Sentinel
44
description: This article shows you how to deploy the SAP Change Requests (CRs) necessary to prepare the environment for the installation of the SAP agent, so that it can properly connect to your SAP systems.
5-
author: MSFTandrelom
6-
ms.author: andrelom
5+
author: limwainstein
6+
ms.author: lwainstein
77
ms.topic: how-to
8-
ms.date: 04/07/2022
8+
ms.date: 03/10/2023
99
---
1010
# Deploy SAP Change Requests and configure authorization
1111

@@ -353,10 +353,54 @@ The required authorizations are listed here by log type. Only the authorizations
353353
| S_TABU_NAM | TABLE | SNCSYSACL |
354354
| S_TABU_NAM | TABLE | USRACL |
355355
356+
If needed, you can [remove the user role and the optional CR installed on your ABAP system](deployment-solution-configuration.md#remove-the-user-role-and-the-optional-cr-installed-on-your-abap-system).
356357
357-
## Remove the user role and the optional CR installed on your ABAP system
358+
## Verify that the PAHI table (history of system, database, and SAP parameters) is updated at regular intervals
358359
359-
To remove the user role and optional CR imported to your system, import the deletion CR *NPLK900259* into your ABAP system.
360+
The SAP PAHI table includes data on the history of the SAP system, the database, and SAP parameters. In some cases, the Microsoft Sentinel solution for SAP® applications can't monitor the SAP PAHI table at regular intervals, due to missing or faulty configuration (see the [SAP note](https://launchpad.support.sap.com/#/notes/12103) with more details on this issue). It's important to update the PAHI table and to monitor it frequently, so that the Microsoft Sentinel solution for SAP® applications can alert on suspicious actions that might happen at any time throughout the day.
361+
362+
> [!NOTE]
363+
> For optimal results, in your machine's *systemconfig.ini* file, under the `[ABAP Table Selector]` section, enable both the `PAHI_FULL` and the `PAHI_INCREMENTAL` parameters.
364+
365+
**To verify that the PAHI table is updated at regular intervals**:
366+
367+
1. Check whether the `SAP_COLLECTOR_FOR_PERFMONITOR` job, based on the RSCOLL00 program, is scheduled and running hourly, by the DDIC user in the 000 client.
368+
1. Check whether the `RSHOSTPH`, `RSSTATPH` and `RSDB_PAR` report names are maintained in the TCOLL table.
369+
- `RSHOSTPH` report: Reads the operating system kernel parameters and stores this data in the PAHI table.
370+
- `RSSTATPH` report: Reads the SAP profile parameters and stores this data in the PAHI table.
371+
- `RSDB_PAR` report: Reads the database parameters and stores them in the PAHI table.
372+
373+
If the job exists and is configured correctly, no further steps are needed.
374+
375+
**If the job doesn’t exist**:
376+
377+
1. Log in to your SAP system in the 000 client.
378+
1. Execute the SM36 transaction.
379+
1. Under **Job Name**, type *SAP_COLLECTOR_FOR_PERFMONITOR*.
380+
381+
:::image type="content" source="media/preparing-sap/pahi-table-job-name.png" alt-text="Screenshot of adding the job used to monitor the SAP PAHI table.":::
382+
383+
1. Select **Step** and fill in this information:
384+
- Under **User**, type *DDIC*.
385+
- Under *ABAP Program Name*, type *RSCOLL00*.
386+
1. Save the configuration.
387+
388+
:::image type="content" source="media/preparing-sap/pahi-table-define-user.png" alt-text="Screenshot of defining a user for the job used to monitor the SAP PAHI table.":::
389+
390+
1. Select <kbd>F3</kbd> to go back to the previous screen.
391+
1. Select **Start Condition** to define the start condition.
392+
1. Select **Immediate** and select the **Periodic job** checkbox.
393+
394+
:::image type="content" source="media/preparing-sap/pahi-table-periodic-job.png" alt-text="Screenshot of defining the job used to monitor the SAP PAHI table as periodic.":::
395+
396+
1. Select **Period values** and select **Hourly**.
397+
1. Select **Save** inside the dialog, and then select **Save** at the bottom.
398+
399+
:::image type="content" source="media/preparing-sap/pahi-table-hourly-job.png" alt-text="Screenshot of defining the job used to monitor the SAP PAHI table as hourly.":::
400+
401+
1. To release the job, select **Save** at the top.
402+
403+
:::image type="content" source="media/preparing-sap/pahi-table-release-job.png" alt-text="Screenshot of releasing the job used to monitor the SAP PAHI table as hourly.":::
360404
361405
## Next steps
362406

0 commit comments

Comments
 (0)