Share via


Script Responses and Managed Code Responses

When the criteria defined in a MOM rule is met, the rule can run one or more responses. The response types include:

  • Running a Script.
  • Sending an SNMP trap.
  • Sending a notification.
  • Executing a command or batch file.
  • Updating a state variable.
  • Transferring a file.
  • Calling a method in a managed code assembly.

Two of these response types, script responses, and managed code responses, are defined programmatically. Script responses and managed code responses are more complex than other response types, but they are also more flexible and powerful.

To determine which type of programmable response you should choose, see Comparison of Managed Code Responses and Script Responses.

Note Note   

Not all response types are supported by agentless monitoring. You can't run script responses, managed code responses, or file transfer responses on a computer that does not have a MOM agent.