|
|
|
KB: How to monitor a Process/Service/Performance Counter on a Remote/Different Computer
Summary
WebWatchBot monitors processes and services on a remote computer by querying
performance counters.
Monitoring a performance counter on a remote computer typically requires security settings to be
configured properly.
If the security is not configured properly, an error message may be displayed, stating that
a process/service/performance counter could not be queried
Resolution/Workaround
Step 1: Remote Registry Service
Performance counters require access to the system registry. If monitoring
performance counters on a non-local machine, the remote
registry service must be running on the remote machine.
Step 2: Set Registry Permissions
You must have at least Read access to the following registry keys on the remote computer:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib
Step 3: Set User Account Permissions
If the systemroot is on an NTFS partition, you must have at least Read access to the following two files:
- %SystemRoot%\System32\Perfc009.dat
- %SystemRoot%\System32\Perfh009.dat
If your computers are part of a domain:
Ensure that the user account for the WebWatchBot service on the monitoring computer has at least read
permission to the two above files.
Ensure that the user account using the WebWatchBot Manager Application has at least read
permission to the two above files.
If your computers are part of a workgroup:
The most straightforward method of configuring security is to create an identical
local user account on both computers and configure the WebWatchBot service to
log in with this user account.
This allows WebWatchBot to connect to the remote computer without any type of
authentication.
- On the WebWatchBot server, create a local (non-domain/non-Active Directory)
user account.
- On the remote computer, create a local (non-domain/non-Active Directory)
user account with the same username and password. NOTE: You must log into that user account on the
remote machine in order for permissions and access to be set up properly by Windows.
- Change the user account that the WebWatchBot service uses to log on with.
To change the user account of the WebWatchBot Service:
- For version 5.0.4 and older: Delete log files and saved output (This
is necessary to ensure that the logs and output do not retain permissions
from the old user account):
- Open WebWatchBot Manager
- Select from the menu: Help -> ExclamationSoft Support -> View Data Folder
- When the Windows Explorer/My Computer window opens, close WebWatchBot Manager.
- Select all of the numbered folders and delete. This will only delete log
files and last saved output and your data will remain intact.
- Close the window
- Start (Windows Start Button)
- Control Panel
- Administrative Tools
- Services
- Find "WWBServer" (the WebWatchBot Service name)
- Stop the service
- Right-click on WWBServer and select "Properties"
- Click the "Log on" tab.
- Select the "This account tab"
- Enter the user account and password. You should enter a user account that has
high enough privilege to create, modify, read and write to files on the computer,
send email, and access network resources.
- Click OK
- Start WebWatchBot Manager.
- When prompted, start the WebWatchBot service.
More information: "Unable to Connect to Machine" Error Message When You Try to View Remote Counters -
http://support.microsoft.com/kb/300702
|
|
|