pandorafms/pandora_server/util/chatops_integration/README.md

26 lines
1.3 KiB
Markdown
Raw Normal View History

# Pandora FMS ChatOps plugins
2021-06-24 14:31:15 +02:00
A set of plugins for [Pandora FMS](https://github.com/pandorafms/pandorafms) to enable notifications to ChatOps solutions.
2016-03-15 16:47:40 +01:00
#Solutions covered
2021-06-24 14:31:15 +02:00
2016-03-15 16:47:40 +01:00
1. Slack
2. Mattermost
# 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) in Pandora FMS console following the instructions of your solution inside this folder
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) in Pandora FMS console following the instructions of your solution inside this folder
2021-06-24 14:31:15 +02:00
3. Assign the action to an existing module under Alerts -> [List of alerts](https://pandorafms.com/manual/en/documentation/04_using/01_alerts#assigning_alerts_from_alert_submenu):
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:
![Mattermost-real-example](help/images/5-mattermost-result.png?raw=true "Mattermost real example")