[rudder-users] event on repaired

Francois Armand francois.armand at normation.com
Wed Apr 8 15:46:59 CEST 2015


On 08/04/2015 01:19, Maxime Longuet wrote:
> Hy,
>
> Could you say me if an event can push information when a repaired is coming.
>
> I want push information on a web service when we have a rule repaired. ( For create intervention ticket on another tools )
>
> Regards
>


We don't have that, but you could use the log file on
/var/log/rudder/compliance/non-compliant-reports.log
On that log, one line is added for each error and repaire. It's far from
an event, but you could then use something lile logstash for your analysis.


Nonetheless, I understand that it's far from what you want. Could you
add a sub-ticket or a comment on
http://www.rudder-project.org/redmine/issues/5973 to present you use
case, so that we know that it exists for the roadmap.


Perhaps a script that run in cron every 5 minutes, store the last
repaired date starting with EPOCH, check if a more recent event (log
line date) arrived, and if so call your API and update the last repaired
date could be a working workaround - not ideal, but I'm not sur we can
do better in the short term.

Cheers,

-- 
------------------------------------------------------------------------
*François ARMAND*
/Co-founder & CTO/
Normation <http://www.normation.com>
------------------------------------------------------------------------
*87 rue de Turbigo, 75003 Paris, France*
Telephone: 	+33 (0)1 83 62 99 23
Mobile: 	+33 (0)6 63 37 60 55
------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20150408/c1340394/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sig-normation-logo-square-2015.gif
Type: image/gif
Size: 1036 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20150408/c1340394/attachment.gif>


More information about the rudder-users mailing list