ExportXMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.14
    • Component/s: Agent (G)

      When a log item key (also in prototypes) is updated for example from logrt.count to logrt , the agent gets confused and behaves as if it was still logrt.count

      Steps to reproduce:

      1. create a logrt.count[...] item and run some tests
      2. change it to logrt[...] and specify the maxdelay parameter (this is not mandatory but makes the problem more evident)

      Result:

      agent is not fully aware of the change and keeps on returning log.count values. This may casue errors on server too like "unsupported value in options parameter". this happens because logrt.count expects an "option" where logrt[..] maxdelay is specified

      according to the AI the bug is in "active_checks.c" near the following statements:

      metric->flags |= ZBX_METRIC_FLAG_LOG_LOGRT

      ...and following ....

       

      they are executed only on item creation and not on its update

            Assignee:
            Tymon Nowak
            Reporter:
            Giorgio
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: