5.0.8 agent constantly logs swap items not supported

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 5.0.8
    • Component/s: Agent (G)
    • None
    • Environment:
      Linux, tested with Debian 10 and Ubuntu 18.04

      Steps to reproduce:

      1. Have system.swap.size[,free] item for an active agent on Linux
      2. Update the agent from version 5.0.5 to 5.0.8 (server is on 5.0.8)

      Result:

      Zabbix agent starts logging in /var/log/zabbix/zabbix_agent.log:

      898:20210130:210026.099 active check "system.swap.size[,free]" is not supported: Cannot be calculated because swap file size is 0.
      898:20210130:210026.099 active check "system.swap.size[,pfree]" is not supported: Cannot be calculated because swap file size is 0.

      This happens every two minutes (maybe system configuration-dependent interval).

      Expected:
      No errors logged in agent log file even though there is no Linux swap configured. The errors were not logged before upgrading the agent from 5.0.5 to 5.0.8.

            Assignee:
            Zabbix Support Team
            Reporter:
            Markku Leiniƶ
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: