I am trying to add a check along these lines:
\\server-docm\MSMQ Queue(server-docm\quotations)\Messages in Queue
First, whenever I try to edit the parameters, it tells me:
Unable to connect to machine
However if I click the OK, I can select my way to the machine.
The polled result is -always- 0.00 or at least, that is what it looks like - even though I know that if I go to that machine and check, it is higher than 0.
What have I setup wrong?
Microsoft Message Queues/Checking
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Could you provide more information, please?
- What version of HostMonitor do you use?
- What Windows do you use? Service Pack?
- Is HostMonitor started as a service or as an application?
- Are you trying to setup the test using RCC or HostMonitor itself?
Do you get "Unable to connect to machine" error when you click on "Get current value" button? Could you try to perform the test? What error or value do you see in "Reply" field? If you setup the test using RCC and click on "Get current value", RCC tries to get performance counter by itself, while the tests are always performed by HostMonitor directly. It often appears that RCC does not have access to target server, while HostMontor has. That's why you may get "Unable to connect to machine" error when you click on "Get current value" button using RCC.
Also please make sure:
1. HostMonitor is running under admins account
2. "Remote Registry" service is started on target machine
3. RPC service is started on target machine
4. There are no firewalls between target system, and the system, where HostMonitor is running.
5. "PerfOS.dll" and "PerfProc.dll" are enabled on target server
As alternative, you may use "WMI" test method: http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#wmi
You just should setup new "WMI" test with query, like the following:
Regards,
Max
- What version of HostMonitor do you use?
- What Windows do you use? Service Pack?
- Is HostMonitor started as a service or as an application?
- Are you trying to setup the test using RCC or HostMonitor itself?
Do you get "Unable to connect to machine" error when you click on "Get current value" button? Could you try to perform the test? What error or value do you see in "Reply" field? If you setup the test using RCC and click on "Get current value", RCC tries to get performance counter by itself, while the tests are always performed by HostMonitor directly. It often appears that RCC does not have access to target server, while HostMontor has. That's why you may get "Unable to connect to machine" error when you click on "Get current value" button using RCC.
Also please make sure:
1. HostMonitor is running under admins account
2. "Remote Registry" service is started on target machine
3. RPC service is started on target machine
4. There are no firewalls between target system, and the system, where HostMonitor is running.
5. "PerfOS.dll" and "PerfProc.dll" are enabled on target server
As alternative, you may use "WMI" test method: http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#wmi
You just should setup new "WMI" test with query, like the following:
Code: Select all
select MessagesinQueue from Win32_PerfFormattedData_MSMQ_MSMQQueue where Name = 'Certain_Queue_Instance_You_Need'
Max
More Info
The system is running Hostmon 7.2 on Windows 2000 SP4.
Hostmon is started as a service.
I am not using RCC in this instance.
The target is a Win2k3 machine.
Get Current Value always returns 0.00
Hostmonitor is running under a Domain Admin account.
Remote Registry is indeed started on the target
Both RPC services are started on the target
There are no firewalls.
I used exctrlst.exe and both PerfOS and PerfProc seem to be enabled.
I tried the WMI route as well.
If I put the IP address of the server in the Host selection I get:
Error: The RPC Server is Unavailable
if I put \\servername in, I get Error: Invalid Parameter
If I put servername in, I get The RPC Server is Unavailable
Would this be solved if I added an RCC client to the server I am checking, and used that to run the tests?
Hostmon is started as a service.
I am not using RCC in this instance.
The target is a Win2k3 machine.
Get Current Value always returns 0.00
Hostmonitor is running under a Domain Admin account.
Remote Registry is indeed started on the target
Both RPC services are started on the target
There are no firewalls.
I used exctrlst.exe and both PerfOS and PerfProc seem to be enabled.
I tried the WMI route as well.
If I put the IP address of the server in the Host selection I get:
Error: The RPC Server is Unavailable
if I put \\servername in, I get Error: Invalid Parameter
If I put servername in, I get The RPC Server is Unavailable
Would this be solved if I added an RCC client to the server I am checking, and used that to run the tests?
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: More Info
Have you tried to perform the test? Please close "Test Properties" window and refresh the test. What error or value do you see in "Reply" field?dmuller wrote:Get Current Value always returns 0.00
Actually, I cannot reproduce the problem. Could you start standard windows "Performance" applet ("Administrative Tools" -> "Performance") and setup the same counter? What result do you see?
You should use IP-Address or ServcerName (without leading slashes). To get rid of "The RPC Server is Unavailable" error, you should read the following articles:dmuller wrote:I tried the WMI route as well.
If I put the IP address of the server in the Host selection I get:
Error: The RPC Server is Unavailable
if I put \\servername in, I get Error: Invalid Parameter
If I put servername in, I get The RPC Server is Unavailable
http://www.microforge.net/kb/39
http://www.microforge.net/kb/62
No, it will not help. The tests are always performed by HostMonitor.dmuller wrote:Would this be solved if I added an RCC client to the server I am checking, and used that to run the tests?
RCC (Remote Control Console) is remote GUI interface, RCC does not perform tests.Would this be solved if I added an RCC client to the server I am checking, and used that to run the tests?
What you need is RMA (Remote Monitoring Agent)
http://www.ks-soft.net/hostmon.eng/rma-win/index.htm
RMA can perform a lot of tests including Performance Counter test.
Please note: RMA is able to perform Performance Counter checks and retrieve value of the counter specified in Test Properties dialog but RMA cannot provide list of counters that are displayed by "Select a counter to monitor" dialog. This list is retrieved by HostMonitor directly.
Regards
Alex