Hi,
We have 5 different networks connected via VPN's and HM is in the main network.
Now I set up an RMA on 2 machines on every other networks (1 main, 1 backup agent), all are well managed by RMA Manager on HM server.
The ping test on other servers work as expected, but if I try to transfer a working test needing a login-password from HM to an RMA on that network, I always get 301-"something" like "cannot connect to remote registry" or "Access denied".
I use the connection manager, -->working from the main server.
Does HR transfer all necessary credentials to the RMA? (including DNS resolution?)
Do I need to set up something more in the Connection Manager?
Do I have to think differently when I set up a test using an RMA?
Thanks.
RMA gets "301-Access denied" or other error
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: RMA gets "301-Access denied" or other error
Could you describe what tests do you try to perform by RMA and what exact error messages appear? "Access denied" means that RMA does not have necessary permissions to monitor target system. Is RMA started as service? You may specify admin account for the RMA serivice using standard windows Services applet (Control Panel->Services->"KS Remote Monitoring Agent"->Properties->"Log on"). "cannot connect to remote registry" means that "Remote Registry" service is not started onthe target system. Please ensure:Robert_in_MTL wrote:The ping test on other servers work as expected, but if I try to transfer a working test needing a login-password from HM to an RMA on that network, I always get 301-"something" like "cannot connect to remote registry" or "Access denied".
1) RPC service is started on the target systems
2) Remote Registry Service started on target system
If you are trying to perform CPU, Process, Performance counter tests, you should verify:
3) PerfOS.DLL is enabled on target system
4) PerfProc.DLL is enabled on target system
5) There are no firewalls between 2 systems (probably its not a problem in your case)
6) admin account has KEY_READ access to the following registry key on target system HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows_NT\CurrentVersion\Perflib
Do you see any other errors?
HM transfer to RMA all necessary information. However, test is performed by RMA, so RMA resolves hostnames itself.Robert_in_MTL wrote:Does HR transfer all necessary credentials to the RMA? (including DNS resolution?)
Nope.Robert_in_MTL wrote:Do I need to set up something more in the Connection Manager?
You just should remember, that tests will be performed by RMA. So, you should specify all necessary information regarding the machine or network, where RMA is running.Robert_in_MTL wrote:Do I have to think differently when I set up a test using an RMA?
Regards,
Max
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Re: RMA gets "301-Access denied" or other error
Remember that I said
The tests are already working from the HM server... but not when changing "test by" to the agent.
Of course, all agents are started as service and all agents are working well from RMA Manager (All marked Operable):
It really looks like HM can use the Connection Manager settings but not the RMA...
I meant:Robert_in_MTL wrote:if I try to transfer a working test needing a login-password from HM to an RMA
The tests are already working from the HM server... but not when changing "test by" to the agent.
Of course, all agents are started as service and all agents are working well from RMA Manager (All marked Operable):
Tried tests: CPU, Drive Space, Service, etc... => Actually, any tests requiring login+password (Because Ping test works from that Agent using only the server name for target).Robert_in_MTL wrote:all are well managed by RMA Manager on HM server.
It really looks like HM can use the Connection Manager settings but not the RMA...
If you are using HostMonitor version 6 and RMA version 3, HM sends information (that you have specified using Connection Manager) to the agent. If you are using some old version, please tell me what exactly version do you use.It really looks like HM can use the Connection Manager settings but not the RMA...
Please note: Connection information (login, password) tells HostMonitor and RMA what account should be used to perform network connect. However a lot of things depend on account that is used to run RMA. E.g. If you start RMA undel local system account, it does not matter what connection information you will provide using Connection Manager. RMA will not be able to establish RPC communication because Windows does not allow such calls for local system account.
Also, sometimes(?) Windows may ignore account information specified for network connection and use current user account instead (account that is used to start application). Why? Try to ask Microsoft. We did not find any explanation in manuals.
In other words - there is (a) connection information and there is (b) process permissions.
- you may specify (a) using Connection Manager,
- you should use account with necessary rights to start agent (b)
I assume you have specified admins account for HostMonitor using Service page in the Options dialog (if HostMonitor is running as service). Now you should do the same for agent using Windows Services applet
Regards
Alex
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Re: RMA gets "301-Access denied" or other error
Hurray!
I created an admin user and Started the Agent as that guy and it works...
Using local system was the problem
Thanks a lot!!!
I created an admin user and Started the Agent as that guy and it works...
Using local system was the problem
I read carefully the Agent help before creating this topic and I did not see (or notice) anything about that, especially in the installation section, You should add it, I would not have taken your time.Alex wrote:RMA will not be able to establish RPC communication because Windows does not allow such calls for local system account.
Thanks a lot!!!