Contents - Index


JScript

Advanced Network can execute a program written using JScript. VBScript is very popular scripting language in Windows environments. Thanks to the fact IT administrators can use their own checks to monitor network servers.

A JScript check takes the following parameters:
  • Script source - The script must contain a function as specified in the "Main Function" field. This function must return "OK" on success or any other value on error.
  • Main Function - The function name that must be called by Advanced Network Monitor. This function must return "OK" on success or any other string on error.
      
    Advanced Network Monitor tries to execute a user main function first. If the procedure returns "OK" the server is marked as "Success", otherwise it is marked as "Error".