Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 839 Bytes

File metadata and controls

19 lines (13 loc) · 839 Bytes

Example

If you are too busy to log in to the web interface every day and check alarms, you can retrieve the alarms from the last x hours. If there are any security alarms, you can choose to receive an email or have them sent to Discord, allowing you to review the alarms at your convenience.

Quick Start

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

cd send-alarms-to-discord
npm install
domain="<YOUR-MSP-DOMAIN>" token="<YOUR-MSP-TOKEN>" discordWebhook="<DISCORD-WEBHOOK>" node ./index.js

Dependencies