Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9315

trigger functions does not work with macros

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.4.2
    • Fix Version/s: None
    • Component/s: Server (S), Templates (T)
    • Labels:

      Description

      This trigger function works correctly:
      {vm.memory.size[pavailable].max({$TESTVALUE})}<10

      And this {vm.memory.size[pavailable].max({$TESTVALUE}m)}<10
      get this error:
      Cannot implode expression "{<MyHost>:vm.memory.size[pavailable].max({$TESTVALUE}m)}<10". Incorrect trigger function "max({$TESTVALUE}m)" provided in expression. Invalid first parameter. [triggers.php:185 ? CFrontendApiWrapper->update() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CTrigger->update() ? CTrigger->updateReal() ? CApiService::exception() in /usr/share/zabbix/include/classes/api/services/CTrigger.php:1203]
      CONFIGURATION OF TRIGGERS

      It is not problem for functionality, because literal "m" can be in macros; but it is not comfortably for writing trigger name. ("RAM free (17.52%) lower 20% at last 3m minutes")

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Voland Vladimir Selivanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: