You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,21 +33,21 @@ Extract archive to bin directory of CA APM Enterprise Manager installation. Make
33
33
## Configuration
34
34
The file `environment.properties` contains all the variables that need to be changed in order to run the scripts. It should be copied to every Enterprise Manager. **Do not change the scripts themselves!**
35
35
36
-
* EM_PATH: path to the *local* EM installation directory. Needs to be adapted for every Enterprise Manager. Default value: `/opt/CA/introscope`.
37
-
* SSH_USER: this is the user that the scripts will use to connect to remote Enterprise Managers from the MOM. The scripts assume that the public key is known on the remote EMs. Run `ssh_publickey.sh` to make the public key of the current user (`~/.ssh/id_rsa.pub`) known on the remote server. Default value: `wily`
38
-
* MOM_HOST: hostname or IP address of the MOM.
39
-
* COLLECTOR<n>_HOST: hostname or IP address of the collector EMs. Leave empty if you don't have that many collectors in your cluster.
40
-
* MOM_PATH: paths to EM installation directory on the MOM. Default value: `$EM_PATH`
41
-
* COLLECTOR<n>_PATH: paths to EM installation directory on the repsective collector. Default value: `$EM_PATH`
42
-
* THREAD_DUMP_REPEAT: how many thread dumps to take on an EM. Default value: 10
43
-
* THREAD_DUMP_INTERVAL: pause between thread dumps in seconds. Default value: 3
44
-
* THREAD_DUMP_FILE: name of the file name to which the thread dump is written. Default value: `thread_dump_jstack.txt`
45
-
* THREAD_DUMP_SCRIPT: name of the script to execute to take a thread dump. Default value: `thread_dump.sh`
46
-
* THREAD_DUMP_ACTION_LOG: log file of the thread dump action (`em_thread_dump_action.sh`). Default value: `thread_dump_action.log`
47
-
* THREAD_DUMP_JSTACK: path to the jstack binary. Requires a Java JDK, not JRE. Default value: `$EM_PATH/jdk1.8.0_131/bin/jstack`
48
-
* CHECK_PERFLOG_LOG: log file of the script `check_perflog.sh`. Default value: `check_perflog.log`
49
-
* LOG_FILES: log files to collect from all EMs with `getlogs.sh`. Default value: `( "perflog.txt" "IntroscopeEnterpriseManager.log" "em.log" "$THREAD_DUMP_FILE" )`
50
-
* LOG_TARGET_DIR: target directory where `getlogs.sh` will copy all the log files to. Default value: `$EM_PATH/logs/cluster`
36
+
*`EM_PATH`: path to the *local* EM installation directory. Needs to be adapted for every Enterprise Manager. Default value: `/opt/CA/introscope`.
37
+
*`SSH_USER`: this is the user that the scripts will use to connect to remote Enterprise Managers from the MOM. The scripts assume that the public key is known on the remote EMs. Run `ssh_publickey.sh` to make the public key of the current user (`~/.ssh/id_rsa.pub`) known on the remote server. Default value: `wily`
38
+
*`MOM_HOST`: hostname or IP address of the MOM.
39
+
*`COLLECTOR<n>_HOST`: hostname or IP address of the collector EMs. Leave empty if you don't have that many collectors in your cluster.
40
+
*`MOM_PATH`: paths to EM installation directory on the MOM. Default value: `$EM_PATH`
41
+
*`COLLECTOR<n>_PATH`: paths to EM installation directory on the repsective collector. Default value: `$EM_PATH`
42
+
*`THREAD_DUMP_REPEAT`: how many thread dumps to take on an EM. Default value: 10
43
+
* THREAD_DUMP_INTERVAL`: pause between thread dumps in seconds. Default value: 3
44
+
*`THREAD_DUMP_FILE`: name of the file name to which the thread dump is written. Default value: `thread_dump_jstack.txt`
45
+
*`THREAD_DUMP_SCRIPT`: name of the script to execute to take a thread dump. Default value: `thread_dump.sh`
46
+
*`THREAD_DUMP_ACTION_LOG`: log file of the thread dump action (`em_thread_dump_action.sh`). Default value: `thread_dump_action.log`
47
+
*`THREAD_DUMP_JSTACK`: path to the jstack binary. Requires a Java JDK, not JRE. Default value: `$EM_PATH/jdk1.8.0_131/bin/jstack`
48
+
*`CHECK_PERFLOG_LOG`: log file of the script `check_perflog.sh`. Default value: `check_perflog.log`
49
+
*`LOG_FILES`: log files to collect from all EMs with `getlogs.sh`. Default value: `( "perflog.txt" "IntroscopeEnterpriseManager.log" "em.log" "$THREAD_DUMP_FILE" )`
50
+
*`LOG_TARGET_DIR`: target directory where `getlogs.sh` will copy all the log files to. Default value: `$EM_PATH/logs/cluster`
51
51
52
52
53
53
# Usage Instructions
@@ -94,7 +94,7 @@ Therefore this script deactivates the 'Propagate to Team Center' flag in Managem
94
94
95
95
* Stop your Enterprise Manager.
96
96
* Copy `stopPropagateToAppMap.sh` to a temporary directory.
97
-
* Copy all the custom Management Modules (*.jar files) for which you want to deactivate 'Propagate to Team Center' from `<EM_HOME>/config/modules` to a temporary directory.
97
+
* Copy all the custom Management Modules (`*.jar` files) for which you want to deactivate 'Propagate to Team Center' from `<EM_HOME>/config/modules` to a temporary directory.
98
98
* Backup all those custom Management Modules.
99
99
* Run `./stopPropagateToAppMap.sh`
100
100
* The script will create a copy of all Management Modules in the `new` subdirectory.
@@ -115,6 +115,7 @@ The script `check_mm.sh` checks all Management Modules in your APM installation
115
115
1. check all Management Modules in `EM_PATH`
116
116
2. print the maximum alert period duration encountered and
117
117
3. write all alerts that exceed `introscope.enterprisemanager.alerts.maxPeriods` to `checkmm.csv`.
118
+
5. If you the script with the option `-a` it will write all alerts with periods and threshold values to `checkmm.csv`.
0 commit comments