JavaScript Event Monitor Reference Guide

JavaScript Event Monitor

Integrates custom actions into your monitoring configuration using JavaScript.

Overview

The Javascript 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. They can tell FrameFlow not only what status and event text to generate, but 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:

Alert With [Info/Warning/Error/Critical] if the Device Cannot Be Contacted

Use this option to get alerts if FrameFlow could not contact the selected device.

Alert based on CPU usage

Use this option to get alerts when CPU usage exceeds the thresholds that you specify.

Alert if the directory contains [more than / less than] a specified number of files

Use this option to set alerting thresholds based on the number of files found in the directory.

Alert based on disk space used

Use this option to get alerts about systems whose disk or partition space is running low. In the option to ignore specified drives, use the following format: "deviceName(C)" (without the quotes). You can use the * character to match multiple devices or drives. For example, use "devicename(*)" to ignore all drives on a device. Use "x*(D)" to ignore the D: drive on all devices whose names start with x. To specify multiple drives to ignore, separate them with commas, for example, "device1(G), device2(F)".

Alert based on the percentage of memory used

Use this option to generate alerts based on how much physical memory is in use on each network device.

Alert based on ping response times

Use this option to alert based on the observed ping response time for the device.

Alert based on total bandwidth rate

This option lets you generate alerts based on the total bandwidth rate for the device. This rate is the sum of all incoming and outgoing bandwidth on all interfaces.

Alert based on outgoing bandwidth rate

This option lets you generate alerts based on the combined outgoing bandwidth rate of all interfaces.

Alert based on incoming bandwidth rate

This option lets you generate alerts based on the combined incoming bandwidth rate of all interfaces.

SSH Port Number

The default port number of SSH connections is 22. If your servers are using a non-standard port, you can specify it here.

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

Tutorial

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

Back to Library

Comments

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

Add a comment