The purpose of this Knowledge Script is to raise an event for each new event created by other knowledge scripts, so that you only need to set actions on this knowledge script.
Instead of having Actions on all scripts, we created this script to look for new events with certain properties. The scripts checks severity and a custom property on the server. We use a custom property called Importance, which has a value ranging from 1 to 4. If the script finds an event with high severity, on a server with high importance, it sends a mail and an SMS to admins. Ex.: Server down event or Insight Agent events in the event log on the Exchange server.
Another instance of this scripts, looks for high severity events, on servers with medium importance, sending (only) mail to admins.
The script can filter events on the event severity level and on a custom property with a custom value. The script can also acknowledge or close the events after processing them, if both acknowledge and close event are set to y, then acknowledge event takes precedence. This script must be run on the AppManager Management Server. The script does not run on versions earlier than AppManager 5.0.
We've used this for quite some time, and its working really well. Only issue is that it crashes once in a while, but to mitigate that we use the AMAdmin_RestartErroredJobs script.
Note: Takes a while to start and stop.
The default interval for this script is every 10 seconds.