VBScript Event Monitor Reference Guide

VBScript Event Monitor

This custom event monitor allows you to make your own monitoring actions using VBScript.


The VBScript Event Monitor is one of FrameFlow's scripting event monitors that lets you integrate custom monitoring actions into our monitoring, scheduling and alerting engine. Scripts can be as simple or complex as you choose and they tell FrameFlow what status and event text to generate. They can also generate graph data points which will populate graphs throughout the FrameFlow interface.

Use Cases

  • Writing scripts to perform custom monitoring actions

Monitoring Options

This event monitor provides the following options:


Paste your script into the text box in the event monitor settings. The script will run on the FrameFlow system, so if it needs to reach out to a network device, it needs to implement that ability.


Three tokens are available to your script and they will be replaced at run time with values from FrameFlow's monitoring engine.

The available tokens are:

  • %%devicename%% - Replaced with the device name of the device to be monitored.
  • %%displayname%% - Replaced with the display name of the device to be monitored.
  • %%devicegroup%% - Replaced with the group name that the device resides in.

Output Requirements

The event monitor decides what actions to take based on the output of your script. The standard output format is as follows:

Success(devicename)=Custom message

If your script outputs the above text, the event monitor will recognize that the script check succeeded while checking the device 'devicename'. It will generate an event history record with the text "Custom message".

Here is a more concrete example:

Success(www.frameflow.com)=Successfully verified page content on the website.

Multi-Line Output

You may want to provide robust output from your script including multiple lines of text. Your script output must all be on one line but you can use tokens to tell the event monitor to generate multiple lines in the event text.

For example:

Success(www.frameflow.com)=The following website checks succeeded: Verified response time. Check page content.


Your script can generate success, warning, error, and critical events. See the following examples of the output for each:

  • Success(hostname)=All checks completed successfully.
  • Info(hostname)=You might want to look at this.
  • Warning(hostname)=Something went a little bit wrong.
  • Error(hostname)=Something went very wrong.
  • Critical(hostname)=OMG, the server is on fire.

Authentication and Security

Your script will run on the FrameFlow main console (or on the remote node in a multi-site configuration). If the script accesses other network devices, it will require credentials with sufficient rights to perform its task.

Data Points

The data points generated by any scripting event monitor depend on the custom monitoring action it performs.

Sample Output


To view the tutorial for this event monitor, click here.

Back to Library


There are no user-contributed comments for this page. Be the first to submit a comment!

Add a comment