How to send notifications about failing compliance in Rudder?

Think the title says it all but I want to send an email to someone when the compliance for a node isn’t 100%.

I can’t seem to find anywhere to do this in the portal is there a another way?

Answer

There is no built-in facility to send mail within Rudder; most common method is to use a monitoring software to watch compliance, and send mail if you have non-compliant message.
Some examples can be found in the documentation for watching file /var/log/rudder/compliance/non-compliant-reports.log which contains all non-compliant report

You can also query the API to get compliance for a specific node; with minimum scripting (or probably your existing tools can trigger action based on API answer) you can send an email.

Edit: we improved documentation on how to get notification, with a Logstash configuration example, and a Slack connector

Hope it helps !

Attribution
Source : Link , Question Author : Dreamwalker , Answer Author : Nicolas Charles

Leave a Comment