HM 6.74 on W2003 running as service with the credentials of ourDomain\Administrator registered in options - startup - service - "logon as - use account ...".
All servers tested are domain members.
All tests are working pretty well except the WMI tests:
WMI tests only work after registering exactly the same credentials in the connection manager. Otherwise the test fails with the reply "access denied"
Q1: Which account is used for the WMI-tests?
Q2: Which is the order in which the connection manager records are used?
Regards
Thomas
WMI test needs re-registering of admin credentials
-
- Posts: 166
- Joined: Sat Apr 15, 2006 2:14 pm
- Location: Germany, Bavaria
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: WMI test needs re-registering of admin credentials
Hm. Strange. Could you enable "Audit" on target machine, and try to catch the difference between records in "Security" log of the "Event Viewer" applet, recorded by Hostmonitor with and without an account in "Connection Manager"?thomasschmeidl wrote:WMI tests only work after registering exactly the same credentials in the connection manager. Otherwise the test fails with the reply "access denied"
For the "WMI" tests HostMonitor uses account specified in "Connection manager". If there are no records in "Connection Manager" or account does not have enough permission, HostMonitor uses an account, which it is started under.thomasschmeidl wrote:Q1: Which account is used for the WMI-tests?
Do you mean, you have several records for the same server, but for different tests in "Connection Manager"? HostMonitor uses connection manager's data on demand and do not sort data.thomasschmeidl wrote:Q2: Which is the order in which the connection manager records are used?
Regards,
Max
-
- Posts: 166
- Joined: Sat Apr 15, 2006 2:14 pm
- Location: Germany, Bavaria
Thanks for your your reply, Alex,
again some questions:
E.g: We have 50 servers (S1 ... S50) for which common credentials are valid and one server (S51) that needs special credentials. So I would create two records in connection manager:
- Ressource: *; Server: *; common credentials
- Ressource: S51; Server: S51; special credentials.
Q1: Is that correct?
Q2: What about the order of the records?
Q3: Which credentials are used for WMI tests, when there are no records in connection manager?
Q4: Which credentials are used if there is more than one fitting record in connection manager
Q5: There seems to be a cache (I removed the records in connection manager and the test went on working for some hours until it failed). How can I clear the cache without restarting service?
Thanks in advance
Thomas
again some questions:
E.g: We have 50 servers (S1 ... S50) for which common credentials are valid and one server (S51) that needs special credentials. So I would create two records in connection manager:
- Ressource: *; Server: *; common credentials
- Ressource: S51; Server: S51; special credentials.
Q1: Is that correct?
Q2: What about the order of the records?
Q3: Which credentials are used for WMI tests, when there are no records in connection manager?
Q4: Which credentials are used if there is more than one fitting record in connection manager
Q5: There seems to be a cache (I removed the records in connection manager and the test went on working for some hours until it failed). How can I clear the cache without restarting service?
Thanks in advance
Thomas
CorrectE.g: We have 50 servers (S1 ... S50) for which common credentials are valid and one server (S51) that needs special credentials. So I would create two records in connection manager:
- Ressource: *; Server: *; common credentials
- Ressource: S51; Server: S51; special credentials.
Q1: Is that correct?
HostMonitor looks for record that exactly matches server name (or resource name for file related tests), then it checks more or less fitting records, like *Q2: What about the order of the records?
Which credentials are used if there is more than one fitting record in connection manager
In such case HostMonitor uses empty username and password when it calls Windows API, the rest is up to the Windows.Which credentials are used for WMI tests, when there are no records in connection manager?
HostMonitor does not use any cache. Windows? I do not see such information in Microsoft manuals, but everything is possibleQ5: There seems to be a cache (I removed the records in connection manager and the test went on working for some hours until it failed). How can I clear the cache without restarting service?

Regards
Alex