This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Windows Script Monitor and Alerting

Hi,

Since our last upgrade to SAM v6.2.1 we have an issue with alerting on a application template that contains windows script monitor (VBS).

VBS script return statistic value from 0 to 3. Testing the application template on a node works fine and returns "Test successful" with a "Up" status.

However alerting is not providing the status "Down" or "Up" but integer as-is : 0, 1, 2, 3.

Trigger action is:

${N=SwisEntity;M=Application.ApplicationAlert.ApplicationName} on ${N=SwisEntity;M=Application.Node.Caption} is ${N=SwisEntity;M=Application.Status} at ${DateTime}

Why does Application.Status return the integer ?

Thanks