<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 08/04/2015 01:19, Maxime Longuet
      wrote:<br>
    </div>
    <blockquote
      cite="mid:89528B68-01B3-471D-984C-4D8CDA459DBF@itika.net"
      type="cite">
      <pre wrap="">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

</pre>
    </blockquote>
    <br>
    <br>
    We don't have that, but you could use the log file on
    /var/log/rudder/compliance/non-compliant-reports.log<br>
    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. <br>
    <br>
    <br>
    Nonetheless, I understand that it's far from what you want. Could
    you add a sub-ticket or a comment on
    <a class="moz-txt-link-freetext" href="http://www.rudder-project.org/redmine/issues/5973">http://www.rudder-project.org/redmine/issues/5973</a> to present you use
    case, so that we know that it exists for the roadmap. <br>
    <br>
    <br>
    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. <br>
    <br>
    Cheers, <br>
    <br>
    <div class="moz-signature">-- <br>
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <style type="text/css"><!--
    a.redlink:link { color: #1782E6; text-decoration: none; }
    a.redlink:visited { color: #1782E6; text-decoration: none; }
    .sig { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: small; }
    .sigsmall { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: x-small; }
  --></style>
      <table border="0" cellpadding="0" cellspacing="2" width="380">
        <tbody>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
          <tr>
            <td colspan="2"><b><img alt=""
                  src="cid:part1.05010506.06000204@normation.com"
                  align="left" height="50" hspace="10" width="50"> <span
                  class="sig">François ARMAND</span></b><br>
              <span class="sig"><i>Co-founder & CTO</i></span><br>
              <span class="sig"><a class="redlink"
                  href="http://www.normation.com">Normation</a></span> </td>
          </tr>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
          <tr>
            <td colspan="2"><span class="sigsmall"><b>87 rue de Turbigo,
                  75003 Paris, France</b></span></td>
          </tr>
          <tr>
            <td><span class="sigsmall">Telephone:</span></td>
            <td><span class="sigsmall">+33 (0)1 83 62 99 23</span></td>
          </tr>
          <tr>
            <td><span class="sigsmall">Mobile:</span></td>
            <td><span class="sigsmall">+33 (0)6 63 37 60 55</span></td>
          </tr>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>