weird api calls/sql queries in "top 100" report

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: Frontend (F)
    • None
    • Environment:
      trunk rev 27201.

      1. debug shows :

      SQL (0.00016): begin
      CAPIObject->get() -> CAPIObject->__call() -> czbxrpc::call() -> czbxrpc::callAPI() -> czbxrpc::transactionBegin() -> DBstart() -> DBexecute()
      
      SQL (5.1E-5): commit
      CAPIObject->get() -> CAPIObject->__call() -> czbxrpc::call() -> czbxrpc::callAPI() -> czbxrpc::transactionEnd() -> DBend() -> DBcommit() -> DBexecute()
      

      that seems to be rather useless and is done at least 4 times (also reported as ZBX-6382)

      2. debug also shows this page running "script->getScriptsByHosts" even is there have been no trigger state changes during the selected time period (like one day)

      3. debug shows this page doing :

      trigger->get [triggers.inc.php:212]Parameters:
      Array
      (
          [output] => shorten
          [nodeids] => 0
      )
      

      that also returns all the template triggers, which seems to be rather useless

            Assignee:
            Unassigned
            Reporter:
            richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: