By using Foreman Todd, our Slack bot, you'll get notified as soon as problems arise.
Getting Started
To receive alerts via Slack, you'll first need to re-configure your Foreman triggers. By default, all notifications are sent to your email address.
Notifications can be sent to any combination of the following:
- Discord
- Telegram
- Slack
You'll also need to fetch your Foreman API credentials. Those can be found here:
Receiving Alerts in a Channel
Once your triggers are configured to send alerts to Slack, install Todd, our bot, by clicking here. You should see something like the following:
Make sure to select the workspace where you want Todd to send your alerts. Click the Allow button to complete installation. If the install is successful, you should land back at this page. If you're new to Slack and would like to read more on workspaces and channels, you can find more info here.
After opening Slack, you should see Todd listed under apps.
You'll want to add Todd to the channels where you want to be notified. To do this, right click on the desired channel, then left click View channel details.
Now, click the integrations tab at the top, followed by the Add an App button.
Clicking Add an App will take you to the Slack app director where you'll see Todd under 'In your workspace.'
After clicking the Add button, you should get a confirmation message in your channel.
Once he's invited, you can see all available /slash commands by typing /foreman_help.
To begin registering, type /foreman_start. Todd will ask you for your client ID and API key. You should have those handy from the Getting Started steps above.
Type /foreman_register and enter in your client ID and API key that you obtained in the Getting Started steps above. As an example, assuming a client ID of 1024 and an API key of 39bffdea-2169-46eb-9407-adf8ba678c3f, I'd enter /foreman_register 1024 39bffdea-2169-46eb-9407-adf8ba678c3f.
From here on out, depending on the triggers created in Foreman, Todd will let you know when things happen.
To stop the alerting, type /foreman_forget.
Please find our privacy policy here.
Comments
0 comments
Article is closed for comments.