zabbix-agent2 proc.num return wrong value

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.4
    • Component/s: Agent2 (G)
    • None
    • Environment:
      Ubuntu 22.04.4, x86_64, 5.15.0-143-generic

      After zabbix-agent2 updating from 7.2.6 to 7.4.3 proc.num items sometimes return 0 or another wrong value instead actual processes number.

      For example cron proceeses monitoring retrun return values "0" and "2" few times, but there is always single cron process running.

      ps aux | grep cron
      root        1058  0.0  0.0   4520  2740 ?        Ss   Aug20   1:14 /usr/sbin/cron -f -P 

      Cron processes monitoring item key.

      proc.num[,root,,cron] 

      Items history graphs and item configuration screenshots attached.

       

      Steps to reproduce:

      1. Update to zabbix-agent2 7.4.3

      Result:

      proc.num items return wrong values

      Expected:
      proc.num items return correct values

        1. proc_num.png
          proc_num.png
          71 kB
        2. proc_num_detailed.png
          proc_num_detailed.png
          55 kB
        3. item_configuration.png
          item_configuration.png
          26 kB
        4. image-2025-12-18-16-41-39-868.png
          image-2025-12-18-16-41-39-868.png
          5.29 MB
        5. image-2025-12-18-16-41-59-174.png
          image-2025-12-18-16-41-59-174.png
          71 kB
        6. image-2025-12-18-16-42-54-616.png
          image-2025-12-18-16-42-54-616.png
          16 kB
        7. image-2025-12-23-12-25-07-545.png
          image-2025-12-23-12-25-07-545.png
          181 kB
        8. image-2025-12-23-12-26-46-342.png
          image-2025-12-23-12-26-46-342.png
          24 kB
        9. image-2025-12-23-12-28-23-649.png
          image-2025-12-23-12-28-23-649.png
          36 kB

            Assignee:
            Guntis Liepins
            Reporter:
            Alex
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: