View previous topic :: View next topic |
Author |
Message |
jivetolkein
Joined: 19 Jul 2007 Posts: 96
|
Posted: Fri May 25, 2012 4:15 am Post subject: CPU Usage Check Issue - RMA: 301 Code #5 |
|
|
Hi All,
I have 1 server that just refuses to run the CPU check - all other checks are fine, WMI, shell scripts, SNMP GETs .. been thorugh all the troubleshooitng tips on the forums with no luck, restarted the box.. tried multiple admin accounts all of which work for RDP etc. with no joy.
Is there any more verbose log of the testing process so I can try and narrow this down? I have around 700 other servers where this works fine so it's a bit annoying - other servers on the same site Active RMA also work fine.
Any other ideas gratefully accepted before I just go write a WMI script to replace the check
Problem server is W2K3 SP2 patched up to date, running on a Proliant DL380 G2 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Fri May 25, 2012 6:37 am Post subject: |
|
|
Windows error code #5 means "acess is denied".
Have you specified correct user account (user with admin rights) for this server using Connection Manager or "Connect as" test property?
Regards
Alex |
|
Back to top |
|
|
jivetolkein
Joined: 19 Jul 2007 Posts: 96
|
Posted: Fri May 25, 2012 7:12 am Post subject: |
|
|
The test is run from an active RMA, and the service is running in the context of an admin user.
I've tried 'Connect As' with a couple of other accounts, also no luck |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Fri May 25, 2012 7:32 am Post subject: |
|
|
Quote: | The test is run from an active RMA, and the service is running in the context of an admin user |
Local admin? or Domain admin? We recommend to use Local Admin.
Regards
Alex |
|
Back to top |
|
|
jivetolkein
Joined: 19 Jul 2007 Posts: 96
|
Posted: Fri May 25, 2012 7:34 am Post subject: |
|
|
It's a domain account, that has local admin privilege on the tested server. Same account is working for other servers connected to the same RMA, running the same test. So the active RMA service is runnning as this user, which is defined to the problem server in its local Administrators group.
We don't use domain admins for anything other than domain administration, and even then rarely |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Fri May 25, 2012 7:53 am Post subject: |
|
|
Could you try to setup Performance Counter test to check CPU Usage? It uses simalar Windows API and DLLs... Does it work?
Regards
Alex
Last edited by KS-Soft on Fri May 25, 2012 7:57 am; edited 1 time in total |
|
Back to top |
|
|
jivetolkein
Joined: 19 Jul 2007 Posts: 96
|
Posted: Fri May 25, 2012 7:54 am Post subject: |
|
|
Sure, will do. I'll run it in the same user context too. Watch this space. |
|
Back to top |
|
|
jivetolkein
Joined: 19 Jul 2007 Posts: 96
|
Posted: Fri May 25, 2012 8:05 am Post subject: |
|
|
OK well that isn't a massive sample, but it would appear to be working OK .. though I can't be 100% sure it's running in the right context - I changed the 'RunAs' properties of the counter log to the account, but going back into it still shows as 'Default' .. maybe this is a display issue, but I can't see any process running as the user either. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Mon May 28, 2012 11:18 am Post subject: |
|
|
Sorry, we do not understand what exactly you have done
If you setup Performance Counter test to check CPU usage and it works, then CPU Usage test should be able to work as well. Please check if you have specified correct target host, username, password (you should provide account information using Connection Manager or "Connect as" test property").
May be you created account for target host (using HostMonitor's Connection Manager) but forgot to mark "CPU Usage" test method in the list?
Regards
Alex |
|
Back to top |
|
|
jivetolkein
Joined: 19 Jul 2007 Posts: 96
|
Posted: Tue May 29, 2012 2:42 am Post subject: |
|
|
OK, I'll try and be clearer.
All tests are run from an Active RMA agent (we run across EMEA and have 1 or 2 RMAs per site).
The Active RMA runs as a domain account, which has local admin privilege on all servers it monitors.
The CPU check runs fine on all other servers. All other checks run fine on the problem server.
I ran a local Performance Counter sample, using the option to 'Run As' the domain account we monitor, to prove it was OK (I can login as this user, and only admins have RDP access to this server - so I think the account is not a problem).
I tried changing the test to use 'Connect AS' as well just in case, but no luck...
I'm really looking for some clues as to where to start looking, as it's clearly a problem just with this server.
HTH |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Tue May 29, 2012 8:35 am Post subject: |
|
|
Quote: | All other checks run fine on the problem server.
I ran a local Performance Counter sample, using the option to 'Run As' the domain account we monitor, to prove it was OK |
Could you please confirm the following:
You have setup Performance counter test (performed by the same RMA). This Performance counter test returns "Ok" status, while CPU Usage test returns "Unknown" Reply: RMA: 301 Code #5 |
|
Back to top |
|
|
jivetolkein
Joined: 19 Jul 2007 Posts: 96
|
Posted: Tue May 29, 2012 9:39 am Post subject: |
|
|
Yes, that's it precisely. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Tue May 29, 2012 10:33 am Post subject: |
|
|
I am still confused.
If "ran a local Performance Counter sample" means "setup Performance Counter test to check CPU Usage", then what means "using the option to 'Run As' the domain account we monitor"?
HostMonitor does not have "run as" option in Test Properties dialog.
Could you please send screen shots of CPU Usage and Performance Counter test settings to support@ks-soft.net?
Plus test results and Connection Monitor settings.
Regards
Alex |
|
Back to top |
|
|
jivetolkein
Joined: 19 Jul 2007 Posts: 96
|
Posted: Wed May 30, 2012 3:14 am Post subject: |
|
|
Sure will do
If "ran a local Performance Counter sample" means "setup Performance Counter test to check CPU Usage", then what means "using the option to 'Run As' the domain account we monitor"?
There is an option to do the local performance counters as a different user .. I'll put it in the screen shot. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Wed May 30, 2012 10:28 am Post subject: |
|
|
No, there is no such option.
It looks like you are using some 3rd party software while we are talking about HostMonitor and RMA. Please setup Performance Counter TEST using HostMonitor and RMA.
Regards
Alex |
|
Back to top |
|
|
|