Puppet and OpsGenie
Contents
I’ve written a report processor for sending notifications of failed runs to Opsgenie. You can find the module on the Forge and the code on GitHub.
Like most of my report processors the instructions are fairly simple:
-
Install puppet-opsgenie as a module in your Puppet master’s module path.
-
Update the
key
andrecipients
variables in theopsgenie.yaml
file with your customer API key and the recipients for any alerts. -
Enable pluginsync and reports on your master and clients in
puppet.conf
[master] report = true reports = opsgenie pluginsync = true [agent] report = true pluginsync = true
-
Run the Puppet client and sync the report as a plugin