Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 4a54cef

Browse files
grogu01grogu01
authored andcommitted
add script to check alert period
1 parent 9f43793 commit 4a54cef

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,21 @@ Therefore this script deactivates the 'Propagate to Team Center' flag in Managem
102102
* Start the Enterprise Manager.
103103
* Check `<EM_HOME>/log/IntroscopeEnterpriseManager.properties`
104104

105+
## Check Alert Periods in Management Modules
106+
107+
In APM 10.7 SP1 a new property `introscope.enterprisemanager.alerts.maxPeriods` with a default value of 20 was introduced to reduce memory consumption. If a custom Management Modules has alerts with caution or danger "Periods Over Threshold" with "Observed Periods" greater than the value of the property `introscope.enterprisemanager.alerts.maxPeriods`, e.g. 20 out of 40, the loading of that Management Module will fail with an error message indicating the problem.
108+
109+
The script `check_mm.sh` checks all Management Modules in your APM installation whether they exceed that treshold. To run that script:
110+
111+
1. Set `EM_PATH` in `environment.properties` to point to your APM installation
112+
2. Make sure the environment variable `JAVA_HOME` is set and the `jar` executable is available
113+
3. Run `./check_mm.sh`.
114+
4. The script will print what it is doing:
115+
1. check all Management Modules in `EM_PATH`
116+
2. print the maximum alert period duration encountered and
117+
3. write all alerts that exceed `introscope.enterprisemanager.alerts.maxPeriods` to `checkmm.csv`.
118+
119+
105120
## Debugging and Troubleshooting
106121
Check the log file written by the individual scripts.
107122

0 commit comments

Comments
 (0)