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.
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:
The event monitor decides what actions to take based on the output of your script. The standard output format is as follows:
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:
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.
Your script can generate success, warning, error, and critical events. See the following examples of the output for each:
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.
The data points generated by any scripting event monitor depend on the custom monitoring action it performs.
To view the tutorial for this event monitor, click here.
Add a comment