Product manual
Manual Configuring monitor functions |57
Screenshot 51 - VBscript check parameters dialog
A VBScript function requires the following parameters:
» Script location – Specify the path to the required VBScript file. The script should contain
the function specified in the Function name field and should return True (-1) in case of
success, or False (0) in case of an error.
» Function name – Specify the function that GFI Network Server Monitor service will be
calling from the specified script file.
Screenshot 52 - Parameters dialog
» VB Function Parameters – In the parameters list, specify any additional parameters
required by this function. During check execution these parameters will be automatically
passed on to the VB script in the order specified in the VB Function Parameters list. To
add a parameter, double click on the position/row where you wish to add this additional
parameter and specify the required values in the parameters dialog. Parameter values
can be specified as a string, number or can be passed on through system variables (e.g.
%USERNAME%).