Contents - Index


VB Script

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

A VBScript 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 string on error.
  • Main Function - The function that should be called by Advanced Network Monitor. This function should return "OK" on success or any other string on error.
     
    Advanced Network Monitor tries to execute a user main function first. If the function returns "OK" the server is marked as "Success", otherwise it is marked as "Error".