Question About Test With External Program

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
ronbernier
Posts: 7
Joined: Fri Jun 22, 2007 2:53 pm

Question About Test With External Program

Post by ronbernier »

I need to run an EXE and pass it information from the "command line" ...

For example, I want to check for the existence of a file, and to do so I specify a parameter which is the company name ... Thus, to use my EXE, I would run:

myprogram.exe CompanyName

Where CompanyName is the name of the company I'm testing ... My EXE uses this command line parameter to know which company to check for the existence of a file for ...

How to I setup a test method "by external program" and specify the command line parameter ???

I've tried:

\\Server\Share\myprogram.exe CompanyName

and

"\\Server\Share\myprogram.exe Company Name"

in the "External Program" field, but neither works ... My EXE returns an errorlevel that Iwant HostMonitor to evaluate ...

I've looked at most of the Help, and tried to find my answer here in the forums to no avail ...

I was a network admin in a previous life, and there I used the Enterprise version and was VERY happy with it ... I'm trying to do something a bit different with AHM here, though, and seeing if it'll work for us ...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Its much better to start program from local drive..
n the "External Program" field, but neither works
What exactly means "neither works"? What status of the test do you see? Unknown? This means HostMonitor cannot start your application. Probably it does not have access to network drive or may be your program requires some modules (DLLs) and cannot be started from network resource...

Regards
Alex
ronbernier
Posts: 7
Joined: Fri Jun 22, 2007 2:53 pm

Re: Question About Test With External Program

Post by ronbernier »

I'm all set ... It appears my problem was with my EXE and how it returned the Errorlevel LOL ... Sorry ...

As always, once I learn more about AHM, I continue to be amazed at it's flexibility ... I used it to monitor my network at my previous job, but now I'm using it to monitor for incoming files, processing them, and creating an HTML report so anyone can see the status of all of our client's daily processing ... As always, an amazing product ... I just started my testing today for this, but I'm sure we'll be placing our order shortly ...
Post Reply