Service Check Issue

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
sedaeca
Posts: 3
Joined: Wed Oct 24, 2012 2:07 am
Location: UK

Service Check Issue

Post by sedaeca »

Hi - I have a very simple yet confusing issue

We are running V9.22, all servers mentioned are testing direct from HostMonitor no RMA involved, HostMonitor is running under a network account with admin permissions on all concerned servers.

I am trying to check if a service is running, KSHM reports it as BAD yet it is running.

The service is MSExchangeTransport service. We have it running on 3 servers, test reports fine on 1 but not on the other two - this would indicate to me the issue is with the server/network config however ....

If you click on the show service list button within the test properties its shows that the service is running on each server - why would it show running in here but report the status as Bad ?

Simply swapping the service to another running service works fine, simply changing the IP to the 3rd server running this service also returns good result - but for all 3 it shows service as running in process list. I cannot see anyway these services are running differently, using sc query returns the exact same result from all 3.

Test details are below(IP/Hosts removed)

WORKING
;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor 9.22 at 24/10/2012 08:59:44 -
;- Source file: C:\Apps\HostMonitor\*.hml -
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------


; ------- Test #01 -------


Method = Service
;--- Common properties ---
;DestFolder = Root\High Priority\Mail Servers\*\
RMAgent = Folder-specific-agent
Title = * - Service Check - MSExchangeTransport
Comment =
RelatedURL =
TargetPattern= %fvar_ipaddress%
NamePattern = %folder% - Service Check - %object%
ScheduleMode= Regular
Schedule =
Interval = 300
Alerts = Message, Sound
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
SyncCounters= Yes
SyncAlerts = No
DependsOn = list
MasterTest-Alive = * - Alive - Ping - *
;--- Test specific properties ---
Computer = *
Service = MSExchangeTransport
DisplayName = Microsoft Exchange Transport

;-----------------------------------------------------------------------------
; Exported 1 items


NOT_WORKING
;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor 9.22 at 24/10/2012 09:00:05 -
;- Source file: C:\Apps\HostMonitor\*.hml -
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------


; ------- Test #01 -------


Method = Service
;--- Common properties ---
;DestFolder = Root\High Priority\Mail Servers\*\
RMAgent = Folder-specific-agent
Title = * - Service Check - MSExchangeTransport
Comment =
RelatedURL =
TargetPattern= %fvar_ipaddress%
NamePattern = %folder% - Service Check - %object%
ScheduleMode= Regular
Schedule =
Interval = 300
Alerts = Message, Sound
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
SyncCounters= Yes
SyncAlerts = No
DependsOn = list
MasterTest-Alive = * - Alive - Ping - *
;--- Test specific properties ---
Computer = *
Service = MSExchangeTransport
DisplayName = Microsoft Exchange Transport

;-----------------------------------------------------------------------------
; Exported 1 items


If anyone has an idea whats up or any pointers it would be much appreciated

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

Post by KS-Soft »

Service test checks is service started and does service respond to commands or not.
HostMonitor sends SERVICE_CONTROL_INTERROGATE command and waits for result.
Bad status means service does not respond. So its not network problem, something wrong with service process...

Regards
Alex
sedaeca
Posts: 3
Joined: Wed Oct 24, 2012 2:07 am
Location: UK

Post by sedaeca »

Thanks for the response,

I can see from looking into the information provided that the two services im having trouble with 'cannot accept control messages at this time'. This is not a hostmonitor issue.


I assume that under 'show service list' the 'query' command is used and then the 'interrogate' command used in the actual test - this would make sense of my situation, is that correct ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes. When you setup test, GUI shows you list of all services. It does not check how services work.
Then test probe checks how service responds.

Regards
Alex
sedaeca
Posts: 3
Joined: Wed Oct 24, 2012 2:07 am
Location: UK

Post by sedaeca »

OK - thanks for the help Alex !
Post Reply