can't execute external program 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
gufmar
Posts: 2
Joined: Sun Nov 07, 2004 3:24 pm

can't execute external program in service mode

Post by gufmar »

I've running hostmonitor in service mode on win2003 server. When I try to use as action "execute external program" this seems to work only if Hostmonitor is started in normal mode.

I've tried to change the service mode from "local system account" to "use account..." without any success. In both cases there shouldn't be any problem to access the "external program"

The external programm is a vbscript called trough cscript.exe:

c:\windows\system32\cscript.exe c:\scriptdirectory\sendsms.vbs "%testname%: %simplestatus% (%datetime%)"

This command line is working great if HM runs in normal mode (console or terminal service) but not if HM is running in service mode.

any ideas?

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

Post by KS-Soft »

Cannot reproduce this error. Of course I used another script for testing, HostMonitor is able to start external program.
Could you please check system log? If HostMonitor cannot launch cscript.exe, there should be error description.
Most likelly HostMonitor successfully starts script.exe but scripting host cannot perform script for some reason... Could you try to start some other external application, for testing?

Regards
Alex
gufmar
Posts: 2
Joined: Sun Nov 07, 2004 3:24 pm

problem solved

Post by gufmar »

hm there was some problem with the local system account. Now Hostmonitor, external program (cscript) and the script seems running fine.

thanks
Markus
Post Reply