Issue on shell script using macros

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
yesm1
Posts: 5
Joined: Wed Nov 04, 2009 11:37 am

Issue on shell script using macros

Post by yesm1 »

I'm using HostMonitor version is 8.32
I’ve the following issue.

I created a shell script passing parameters : %Status% and %Reply%

The script does:

CurrentStatus = %Status%
CurrentReply = %Reply%
NewStatus = Test ()
If NewStatus = "" then
Write “scriptRes:CurrentStatus:CurrentReply”
Else
Write “scriptRes:NewStatus:NewReply”
End

%Status% is always “Not tested” and %Reply% is always “”
Even if %Status% should be “Bad” and %Reply% should be “Error on port X”

Can anybody help me?

many thanks
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I think this problem fixed in version 8.50
http://www.ks-soft.net/hostmon.eng/downpage.htm

Regards
Alex
Post Reply