test Ok in application mode versus test bad in service mode

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
UvL
Posts: 4
Joined: Mon Jun 14, 2004 2:43 am

test Ok in application mode versus test bad in service mode

Post by UvL »

Help needed.........,

I have the following odd situation.
I perform a test on the spooler service for our printserver (Windows 2003 server). If I run hostmonitor (version 4.42) in service mode the test returns a bad status, when run in application mode the the test returns a status ok.
The spooler service tested is running so the application test result is correct. All other tests performed on the same printserver give a correct response. Any suggestions ?

TIA,

Joost Weijs
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What account you have specified on Service page in Options dialog (HostMonitor's Options dialog)?
Does it have necessary permissions?
http://www.ks-soft.net/hostmon.eng/mfra ... tm#service

Regards
Alex
UvL
Posts: 4
Joined: Mon Jun 14, 2004 2:43 am

Post by UvL »

For now I use the local system account. Which should have enough rights since I can correctly test the other services on the same host.For instance Task Scheduler and Terminal Service and WMI.
I also tried using a special made account who is a member of the Active Directory built in server operators group. Same deal Application Ok and Service bad.

HTH,

Joost
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

I use the local system account
This can only work if you test the local system. Any test outside your system is doomed to fail, the moment you need a logon.
UvL
Posts: 4
Joined: Mon Jun 14, 2004 2:43 am

Post by UvL »

Then why do all other tests to the same host work properly ?
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

1. They don't need a connection
2. There is already a connection


The local system account has a special SID, which is not valid outside it's own system. The moment the local system account tries to logon, a failure wil be logged in your security log.
UvL
Posts: 4
Joined: Mon Jun 14, 2004 2:43 am

Post by UvL »

Sorry, I Still don't get it.
1. If there is no connection needed then it applies to both taskscheduler service AND spooler service So both tests should give a correct value. Not just one of them
2. If there already is a connection then the connection exists for both tests.
So you understand that I don't understand ?
But never mind. I installed RMA on the "weird" host and everything is functioning. Not the most beautiful solution but nevertheless a working solution. Thanks for your efforts.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

H'm..
1) Normally application under "local system" account cannot check services/processes/files/CPU Usage/... on remote system. I don't know why HostMonitor works in your case but I do not recommend use "local system" account.
2) "Bad" status for Service test method means - HostMonitor are able to interact with Service Control Manager on remote system but specified service is not started or does not respond to SERVICE_CONTROL_INTERROGATE command.

Truth to say I cannot explain this behavior. Probably only Microsoft has explanation? Or somebody has good idea?

Regards
Alex
Post Reply