KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Multiple tests on one server resulting in mixed status!

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
shereec



Joined: 21 Sep 2004
Posts: 5

PostPosted: Wed Sep 22, 2004 12:21 am    Post subject: Multiple tests on one server resulting in mixed status! Reply with quote

OS version - Windows 2000 Professional SP4

HostMonitor version – 4.60

Problem description – Some services on the one server have BAD status, whereas other services are OK. What could be the cause of this issue as we are using the Enterprise licence, therefore haven't run out of HostMonitor tests? I have currently disabled these tests until I find a resolution for this error.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Sep 22, 2004 12:21 pm    Post subject: Reply with quote

"Bad" status for service means
- service is not started
- or service does not respond to SERVICE_CONTROL_INTERROGATE command.
Please note: device drivers do not respond to SERVICE_CONTROL_INTERROGATE command

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
shereec



Joined: 21 Sep 2004
Posts: 5

PostPosted: Wed Sep 22, 2004 4:32 pm    Post subject: Reply with quote

I do already know that the services on the servers are started/working
Which is why I was asking the question.

Examples as below:
SVRNAME BackupExecAgentBrowser Bad
SVRNAME BackupExecDeviceMediaService Bad
SVRNAME BackupExecJobEngine Bad
SVRNAME BackupExecNamingService Bad
SVRNAME BackupExecRPCService Bad
SVRNAME BupExecAgentAcc Ok

Is it possible to change the interrogate command to QueryServiceStatusEx to allow these tests to work? Or another command?
Back to top
View user's profile Send private message
Marcus



Joined: 18 Nov 2002
Posts: 367

PostPosted: Thu Sep 23, 2004 8:43 am    Post subject: Reply with quote

Quote:
I do already know that the services on the servers are started/working

Can you stop the services manually without errors?? Do they actually work?

We have found out more than once that when Windows states a service is running and when HostMonitor states it's not, HostMonitor is right
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Sep 23, 2004 11:46 am    Post subject: Reply with quote

Quote:
Is it possible to change the interrogate command to QueryServiceStatusEx to allow these tests to work? Or another command?


As I understand QueryServiceStatusEx retrieves information about service from Service Control Manager but it doesn't really send command to service and does not wait for responce from service.
SERVICE_CONTROL_INTERROGATE is real command that is sending to the service and then HostMonitor waits for response. I think its the most reliable method. Of course if some service does not support this command (but normally it must!), HostMonitor will report "Bad" status. But if service was properly designed, HostMonitor will detect the problem in case service is started but doesn't work correctly.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index