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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,10 +135,10 @@ The script `dependency_mm.sh` checks all Management Modules in your APM installa
135
135
136
136
## Export All Actions
137
137
138
-
The script `list_actions.sh` checks all Management Modules in your APM installation for actions and generates a csv file that contains the Management Module, Alert Name, Caution Action List and Danger Action List.
138
+
The script `list_actions.sh` checks all Management Modules in your APM installation for actions and generates a csv file that contains the Management Module jar-file name and Name, Alert Name, Caution Action List and Danger Action List.
139
139
140
140
1. Set `EM_PATH` in `environment.properties` to point to your APM installation
141
-
2. Run `./dependency_mm.sh`.
141
+
2. Run `./list_actions.sh`.
142
142
3. The script will print what it is doing:
143
143
1. check all Management Modules in `EM_PATH`
144
144
2. write all actions in alerts to `alert_actions.csv`.
sed -E "s/^.+\<Name\>(.+)\<\/Name\>.+\<CautionActionList\>(.+)\<\/CautionActionList\>.+\<DangerActionList\>(.+)\<\/DangerActionList\>.+/$mm,\1,\2,\3/g"| \
37
-
sed -E "s/^.+\<Name\>(.+)\<\/Name\>.+\<DangerActionList\>(.+)\<\/DangerActionList\>.+/$mm,\1,,\2/g"| \
38
-
sed -E "s/^.+\<Name\>(.+)\<\/Name\>.+\<CautionActionList\>(.+)\<\/CautionActionList\>.+/$mm,\1,\2,/g"| \
39
+
sed -E "s/^.+\<Name\>(.+)\<\/Name\>.+\<CautionActionList\>(.+)\<\/CautionActionList\>.+\<DangerActionList\>(.+)\<\/DangerActionList\>.+/$mm,$mm_name,\1,\2,\3/g"| \
40
+
sed -E "s/^.+\<Name\>(.+)\<\/Name\>.+\<DangerActionList\>(.+)\<\/DangerActionList\>.+/$mm,$mm_name,\1,,\2/g"| \
41
+
sed -E "s/^.+\<Name\>(.+)\<\/Name\>.+\<CautionActionList\>(.+)\<\/CautionActionList\>.+/$mm,$mm_name,\1,\2,/g"| \
39
42
sed -E 's/\<ActionID\>[[:space:]]*\<ManagementModuleName\>([^\<]+)\<\/ManagementModuleName\>[[:space:]]*\<ConstructName\>([^\<]+)\<\/ConstructName\>[[:space:]]*\<\/ActionID\>/ \1\/\2/g'| \
0 commit comments