Return multiple variables

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
bbackx
Posts: 46
Joined: Thu May 07, 2009 9:15 am

Return multiple variables

Post by bbackx »

Me again :-)

Next problem:
One of the checks we run, is getting the version of software (ArcServe backup). I know where to find them in the registry and I can return them as a string, but I would like to store the value in a database in 3 different columns (major, minor and build, eg: 8.6 build 6524). For the moment, javascript is returning "8.6 build 6524" as one string, but I don't think HM can store 8.6 build 6524 in 3 different tables...
So, the question is: can I return multiple variables and can HM handle them? Or do I have to make 3 separate tests (one for major, one for minor and one for build)?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Each test in HostMonitor may return status and reply. That's it.
There is no way to show 3 values using 3 fields of single test.

Regards
Alex
Post Reply