If you change the configuration of an agent computer or install a new computer onto the network, you can prompt the Agent Manager to scan only that computer instead of all managed computers. Scanning only the affected computer takes less time than scanning all managed computers, and allows the Agent Manager to update the affected computer immediately, instead of waiting until the scheduled scan.
To scan a single managed computer, create two custom tasks to run a Microsoft Operations Manager 2000 (MOM) script. The first custom task defines the syntax for scanning an agent computer in the Managed Computers list. The second task defines the syntax for scanning and installing an agent on a new computer. When you run the second task, a window prompts you for the name of the new computer.
You can run the tasks from the Consolidator and associated Agent Manager computer or from a remote MOM Administrator Console computer. If you run the tasks from a remote MOM Administrator Console computer, download and install version 5.1 of the command shell-based Windows Script Host (CSCRIPT.EXE) from the Microsoft Web site at www.microsoft.com. You do not need version 5.1 if you run the tasks from the Agent Manager computer.
To create a task for scanning a single agent computer in the Managed Computers list:
Agent Manager scan this
computer
.Causes the Agent
Manager to scan an agent computer.
CSCRIPT.EXE "$Agent Directory$\AMScanSingle.vbs"
/a:AGENTMANAGER_COMPUTER_NAME /s:$Computer$
/a:AGENTMANAGER_COMPUTER_NAME | Specifies the name of the Agent Manager computer. |
For example:
CSCRIPT.EXE "$Agent Directory$\AMScanSingle.vbs" /a:NYC_AM023 /s:$Computer$
To create a task for scanning and installing an agent on a new computer:
Agent Manager scan a new
computer
.Causes the Agent
Manager to scan a computer and install an agent.
CSCRIPT.EXE "$Agent Directory$\AMScanSingle.vbs"
/a:AGENTMANAGER_COMPUTER_NAME
/a:AGENTMANAGER_COMPUTER_NAME | Specifies the name of the Agent Manager computer. |
For example:
CSCRIPT.EXE "$Agent Directory$\AMScanSingle.vbs" /a:NYC_AM023
To run the custom task to scan an agent computer in the Managed Computers list:
To run the custom task to scan and install an agent on a new computer: