In Operations Manager 2007, you can run predefined tasks that are included in your imported management packs, or you can create your own tasks. Tasks are accessible under the Management Pack Objects node in the Authoring area of the Operations console. When you create a task, you can choose to create an agent task or a console task. Agent tasks can run remotely on an agent or a management server, but console tasks can run only on the local computer. In Operations Manager 2007, you can have a batch file or script run as a task remotely or locally, but if the task is generated by an alert or an event, it can only be run locally.
|Make sure that you have sufficient authorization before you try to run a task. If you do not have the required permissions, you will receive an “Access Denied” error message.|
Following is a list of the task types that you can create.
- Command line
- Runs a batch file or starts an application on an agent or management server. This task can be run locally or remotely.
- Run a script
- Runs a script on an agent or management server.
- Alert command line
- Runs a task automatically when a specified alert or alerts are generated. Specify the alert by using the Parameters list in the Command Line page of the Create Task Wizard. This task can only be run locally.
- Event command line
- Runs a task automatically when a specified event or events are generated. Specify the event by using the Parameters list in the Command Line page of the Create Task Wizard. This task can only be run locally.
- Diagnostics are actions that are designed to troubleshoot a degraded health state of a monitored object. Diagnostics can run automatically or on demand from the Operations console. If a diagnostic is run automatically, it is triggered by a monitor when that monitor detects a state change.
- Recoveries are actions designed to run in reaction to a state change with the purpose of fixing a diagnosed issue. Recovery tasks can be run automatically or on demand from the Operations console. Recoveries that are run automatically are triggered either by a monitor state change or the output of a diagnostic.
Did you find this information useful? Please send your suggestions and comments about the documentation.