Skip to main content

Pandora FMS configuration: creation of an alert command

First you must install the Slack connector CLI, which you can download from the Pandora FMS library. You must have the following utilities installed in the Pandora FMS server: python3 and python3-pip. With this last command you should install the Slack connector CLI requirements for Pandora FMS:

pip3 install -r requirements.txt

-t TOKEN -c CHANNEL -d DATA.

For example:

python3 ./pandora-slack-cli.py.py -t <webhook-url> -c <channel id/name> -d "Data=5, Agent=Test, Module=Ping"

Due to the flexibility of Pandora FMS, there are also additional parameters that allow, for example, the sending of graphs through the Pandora FMS external API.

image-1629793991364.png

Take the time to learn these requirements. To create an alert command go to the Pandora FMS Web Console and click on Alerts -> Commands,  You can find “Pandora Slack”, so click on it.

image.png

Set the User OAuth Token you just obtained in the -t option in the command field.

グラフィカル ユーザー インターフェイス, テキスト, アプリケーション, メール

AI によって生成されたコンテンツは間違っている可能性があります。

Click on the Update button to save the alert command.