Menu

SLA TTO and TTR Threshold notification are not triggering

2020-06-09
2021-05-21
  • Lalit Joshi

    Lalit Joshi - 2020-06-09

    Hi All,
    I have started facing a weird issue since last 2 weeks in the Shared itop instance. Four 4 organizations are using User Request module flawlessly. When I onboard a new department (organization) for them SLA 75% and 100% emails are not working but its working for other 4 departments (Organizations).

    I checked there is no problem with cron and backgound tasks as in case of others is working. Does these parameters can cause problem.

    Following are my parameter settings
    'cron_max_execution_time' => 250,
    'max_execution_time' = 300
    (apache) 'timeout' = 300

     
  • Lalit Joshi

    Lalit Joshi - 2020-06-09

    This is becoming a P1 issue now as clients are missing SLA notifications. We need some guidance on how to troubleshoot it, any help is appreciated.

     
  • Lalit Joshi

    Lalit Joshi - 2020-06-10

    Any suggestion is highly appreciated.

     
  • Edward

    Edward - 2020-12-25

    I am also having the same problem.!
    I had config notification with 25% TTO, but it dont send mail. I had check cronjob or trigger/action still works normally.
    Who can help me fix incident?
    I'm using itop version 2.7.1 and extension "combodo-mail-to-ticket-automation-3.1.0".

     
    • Edward

      Edward - 2020-12-25

      I find in /core/ormstopwatch.class.inc.php
      Code:


      $oTriggerSet = new DBObjectSet(
      DBObjectSearch::FromOQL("SELECT TriggerOnThresholdReached AS t WHERE t.target_class IN ('$sClassList') AND stop_watch_code=:stop_watch_code AND threshold_index = :threshold_index"),
      array(), // order by
      array('stop_watch_code' => $sAttCode, 'threshold_index' => $iThreshold)
      );
      while ($oTrigger = $oTriggerSet->Fetch())
      {
      $oTrigger->DoActivate($oObj->ToArgs('this'));


      And change it:

      $oTriggerSet = new DBObjectSet(
      DBObjectSearch::FromOQL("SELECT TriggerOnThresholdReached AS t WHERE t.target_class IN ('$sClassList') AND stop_watch_code MATCHES :stop_watch_code AND threshold_index = :threshold_index"),
      array(), // order by
      array('stop_watch_code' => $sAttCode, 'threshold_index' => $iThreshold)
      );
      while ($oTrigger = $oTriggerSet->Fetch())
      {
      try
      {
      $oTrigger->DoActivate($oObj->ToArgs('this'));
      }
      catch(Exception $e)
      {
      utils::EnrichRaisedException($oTrigger, $e);
      }


      Has this error been fixed?

       
  • Vincent @ Combodo

    This bug was fixed in 2.7.2.

     

Log in to post a comment.