Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 750 Bytes

File metadata and controls

21 lines (14 loc) · 750 Bytes

Example

Get top bandwidth usage devices within a custom period on your MSP. If the bandwidth usage reaches the configured limit, it will be able to send a message to Discord. It functions the same as Send alarms to Discord.

Reminder: It is only supported on MSP 2.1.0 or later.

Quick Start

Assume you've already cloned https://github.com/firewalla/msp-api-examples.git and cd msp-api-examples

cd get-top-bandwidth-usage-devices
npm install
domain="<YOUR-MSP-DOMAIN>" token="<YOUR-MSP-TOKEN>" node ./index.js

Dependencies