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
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,17 @@ The script `dependency_mm.sh` checks all Management Modules in your APM installa
133
133
5. If you run the script with the option `-a` it will write all elements that may have dependencies to `dependencies.csv`.
134
134
135
135
136
+
## Export All Actions
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.
139
+
140
+
1. Set `EM_PATH` in `environment.properties` to point to your APM installation
141
+
2. Run `./dependency_mm.sh`.
142
+
3. The script will print what it is doing:
143
+
1. check all Management Modules in `EM_PATH`
144
+
2. write all actions in alerts to `alert_actions.csv`.
145
+
146
+
136
147
## Debugging and Troubleshooting
137
148
Check the log file written by the individual scripts.
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/\<ActionID\>[[:space:]]*\<ManagementModuleName\>([^\<]+)\<\/ManagementModuleName\>[[:space:]]*\<ConstructName\>([^\<]+)\<\/ConstructName\>[[:space:]]*\<\/ActionID\>/ \1\/\2/g'| \
0 commit comments