11.5 DominoCommand

Use this Knowledge Script to issue a Domino command to a Domino Server. This script can enable you to run a Domino command as a corrective action in response to an event. For example, the Knowledge Script Domino_LogSniff monitors the Notes log database for specific messages or search strings. If you locate corruption in a database by running Domino_LogSniff, you can set that Knowledge Script to run the Action_DominoCommand Knowledge Script with the corrective Domino command or Domino agent you specify. The Domino command Fixup, for example, locates and repairs corrupted databases.

DominoCommand raises an event when the command is completed. The event message indicates whether or not the command was successful, and provides an explanation if the command fails.

NOTE:This Action can run only on the managed computer as a Managed Client Action. Select MC (Managed Client) on the Action tab of the Properties dialog box when enabling this Action.

11.5.1 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Command

Specify the Domino command to be executed, using Domino command delimiters. For example, the default command, 0|#show task, includes the following elements:

  • the partition number of the Domino server to which the command is being sent. If the computer contains only one instance of a Domino server, enter 0

  • the vertical bar, |

  • the pound sign, #

  • the command, show task

Domino commands must follow this format.