URL test fail using HM as service

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
karpe
Posts: 16
Joined: Mon Sep 14, 2009 9:23 am

URL test fail using HM as service

Post by karpe »

Hi,

I use HostMonitor version 7.50.

I have created a URL test. I use login and pass to validate the access to the URL.

THe URL to monitoring is like: http://pass%40domain:user@URL.es:80.

I active this test staring hostmonitor as a service. (local service) and the URL fail.

IF i start hostmonitor as a program, using my user, (member of group "local administrators") the URL test run ok.

When I changed in HostMontior -> options -> startup -> Service logon as use account, I selected this option and write the user/pass.

After this, I restarted the HM service (services.msc) and the URL tested failed again.

Only If i go to services.msc and change the user that startup the hostmon.exe is when the URL test run correctly. But I use the startup in local system account because I need the option: "Allow service to interact with desktop".

How can i test this with local system account or a diffrent acount but with option: "Allow service to interact with desktop".

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

Post by KS-Soft »

We cannot reproduce the problem. May be you are using HTTP test, not URL test method?
What Windows do you use? Service Pack? Internet Explorer version?

Regards
Alex
karpe
Posts: 16
Joined: Mon Sep 14, 2009 9:23 am

Post by karpe »

HI Alex,

NO I use the URL method.
In a win2003 Server Enterprise edition with SP2.

This is the configuration test:

; ------- Test #08 -------


Method = Url
;--- Common properties ---
;DestFolder = Root\pruebasNO_AVISAR\
Title = /wke
Disabled = Yes
Comment = http://username%40domain:pass@10.34.10.156
RelatedURL =
ScheduleMode= Regular
Schedule =
Interval = 600
Alerts =
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
URL = http://username%40domain:pass@10.34.10.156
UrlUseMacros= No
is302ok = Yes
IgnoreUnknCA= No
Timeout = 60000
UseFrames = No
UseImages = No

My internet explorer version is 6.0....

I think that the problem reside in the logon as local system account. The permisions of this account perhaps not be sufficient...

For the URL, (is a lan url) not published in internet. then I resolve it using the HOSTS file used by Microsoft TCP/IP for Windows.

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

Post by KS-Soft »

I think that the problem reside in the logon as local system account. The permisions of this account perhaps not be sufficient...
When you provide user account using options located on Service page in HostMonitor Options dialog, HostMonitor impersonate account permissions for URL test.
So, I think its not a permission issue. May be some user-specific registry settings. We cannot finf answer so far...

Do you use proxy server? or direct connection to web server?
What exactly means "URL tested failed"? What is the status of the test? Bad? Unknown? Bad content?

Regards
Alex
karpe
Posts: 16
Joined: Mon Sep 14, 2009 9:23 am

Post by karpe »

Hi

I use directly connection to web server.

The status of the check is "no answer". The check finish by time out. (or windows timeout or a timeout set by me).

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

Post by KS-Soft »

That's strange, HostMonitor does not receive any response from the server... probably it cannot perform any other URL check in service mode? Could you try to setup URL test to check http://www.google.com?

Regards
Alex
karpe
Posts: 16
Joined: Mon Sep 14, 2009 9:23 am

Post by karpe »

Hello,

Not, i can check another URL like http://www.google.com using the url check and the HM started as service mode with local account.

my URL checked is a LAN check, In my hosts file I write the IP of the url and i can resolve it. If I comment the URL in the hosts file. My check is similar like if you want to ckeck your router in your home using user/pass.

Thanks and regards
Post Reply