The plugin adds the integration of Pingdom Alerts with Mattermost. The notifications are being published into the certain channels which you define in the webhook configuration.
The example of the good alert:
The example of the problem alert:
- Go to the releases page of this GitHub repository and download the latest release for your Mattermost server.
- Upload this file in the Mattermost System Console > Plugins > Management page to install the plugin, and enable it. To learn more about how to upload a plugin, see the documentation.
For the compilation you would need Linux/MacOS (FreeBSD/Windows WSL should work as well), GNU Make, tar, go 1.23, node v22.12.0+.
Then make dist
and take the tar.gz
from the dist
folder of your repo.
If your server requires the plugins to be signed, kindly read
an official document
how you can create your own signing key and import that into the Mattermost installation.
Author's key ID is 3AF2387D
and the key is located at GPG_SIGNING_3AF2387D.key of this repo.
To sign with your key, do (after you have the dist):
GPG_SIGNATURE_KEY_ID=YOUR_ID make sign
Go to System Console as administrator, check Plugins - Pingdom Notifications and add the webhook like on the picture below.
You can add as many hooks as needed (for different Teams, Channels and Pingdom Accounts).
Pingdom API Token is not used right now. There are plans to be able to communicate to Pingdom using API and the bot in the future.
- Copy the Seed* above the Save button, which is used to configure the plugin for your Pingdom account.
- Go to your Pingdom configuration, paste the following webhook URL and specify the name of the service and the token you copied in the previous step.
- Invite the
@pingdombot
user to your target team and channel.
The full URL looks like this (see below):
https://chat.example.com/plugins/com.zentavr.pingdom/api/webhook?seed=seed-phrase-here
-
Choose Settings and under Synthetic & RUM Settings pick up Integrations.
-
Press Add Integration button.
-
Choose type of Webhook
-
Put the Name (Anything human-readable)
-
Put the URL. The format is:
https://chat.example.com/plugins/com.zentavr.pingdom/api/webhook?seed=seed-phrase-here
Where:https://chat.example.com
is the FQDN of your Mattermost server endpoint.seed-phrase-here
is the seed phrase which you had generated in the admin panel.
-
Pick up Active Checkbox
-
Press Save Configuration field
Supported checks:
DNS
- DNS checkHTTP
- HTTP checkHTTP_CUSTOM
- HTTP Custom checkIMAP
- IMAP checkPING
- Ping checkPOP3
- POP3 checkSMTP
- SMTP checkPORT_TCP
- TCP checkTRANSACTION
- Transaction checkUDP
- UDP check
You can read about Pingdom Webhooks here.
Check this document which, probably, tells you how the things organized. Also, kindly check poor official documentation here: