Extend proc.get[] to get PSS (proportional set size) memory on Linux

XMLWordPrintable

    • S24-W20/21, S24-W22/23
    • 3

      https://www.zabbix.com/documentation/current/en/manual/appendix/items/proc_get

      Current implementation gives a lot of metrics (which are helpful), but none of them can provide +/- real values of RAM usage without complex math, this makes troubleshooting memory leaks and other memory consumptions issues quite complex with Zabbix only tool. 

      Example how it can be gathered and calculated (PSS): https://github.com/pixelb/ps_mem

      Adding PSS gathering to proc.get[] will alow to have nice template like this without external tools/scripts:

        1. image-2024-05-13-12-27-38-078.png
          59 kB
          Kirils Seve
        2. image-2024-05-13-12-26-53-007.png
          8 kB
          Kirils Seve
        3. proc.get[zabbix_agentd,,,process].json
          13 kB
          Sergejs Boidenko
        4. proc.get[zabbix_agentd,,,summary].json
          0.7 kB
          Sergejs Boidenko
        5. Screenshot 2024-04-26 at 15.34.52.png
          280 kB
          Edgar Akhmetshin

            Assignee:
            Sergejs Boidenko
            Reporter:
            Edgar Akhmetshin
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: