pandorafms/pandora_server/util/chatops_integration/slack/README.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

# Pandora FMS Slack Plugin
2021-06-24 14:31:15 +02:00
A plugin for [Pandora FMS](https://github.com/pandorafms/pandorafms) to enable notifications to Slack Open Source Chat.
2016-03-15 16:47:40 +01:00
# Usage
2021-06-24 14:31:15 +02:00
2016-03-15 16:47:40 +01:00
Assuming you are using Pandora FMS 6.0, the steps are:
1. Create the [Alert command](https://pandorafms.com/manual/en/documentation/04_using/01_alerts#the_alert_command) going to Alerts -> Commands and clicking on "Create". Then:
2021-06-24 14:31:15 +02:00
![create command](help/images/1-set-up-the-slack-command.png?raw=true "Set up Slack Command")
2016-03-15 16:47:40 +01:00
2. Define the [Alert Action](https://pandorafms.com/manual/en/documentation/04_using/01_alerts#alert_actions) going to Alerts -> Actions and clicking on "Create". Then:
2021-06-24 14:31:15 +02:00
![create action](help/images/2-set-up-the-slack-action.png?raw=true "Set up Slack Action")
2016-03-15 16:47:40 +01:00
3. Assign the action to an existing module under Alerts -> List of alerts:
2021-06-24 14:31:15 +02:00
![assign template to module](../help/images/3-assign-template-to-module.png?raw=true "Assign a template to a module")
2016-03-15 16:47:40 +01:00
4. Optinionally, go to your agent and verify the alert has been created:
2021-06-24 14:31:15 +02:00
![Verify the alert creation](../help/images/4-verify.png?raw=true "Verify the alert creation")
2016-03-15 16:47:40 +01:00
When the alert triggers, the result would be something like this:
![Slack-real-example](../help/images/5-mattermost-result.png?raw=true "Slack real example")