manual
GFI Network Server Monitor Writing your own monitoring functions • 175
Screenshot 160 - VBscript check parameters dialog
2. Select ‘Generic VB Script’ and specify the following parameters:
• Script location – Specify the path to the VBScript file which will be
used. 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.
• VB Function Parameters – Double click on the line where the
additional parameter values required by this function are to be
specified.
NOTE: Parameters will be passed to the function according to their
position in the list, starting from 1.
Screenshot 161 - Add Parameters dialog
• Specify the parameter value and description. Parameter values
can be extracted from system variables (e.g. %USERNAME%)