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

agent on Solaris - "pavailable" value does not include ZFS pool

    XMLWordPrintable

Details

    • Team C
    • Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021)
    • 1

    Description

      On the newer versions of the Solaris server the pavailable value should include the ZFS pool to give the actual memory available percentage

      However the zabbix agent on the server is not showing the pavailable value as expected.

      [email protected]:~> zabbix_get -s pdb12.prod.broadjump.com -k 'agent.version'
       4.0.16
      
       [email protected]:~> zabbix_get -s pdb12.prod.broadjump.com -k 'vm.memory.size[pavailable]'
       6.083881
      

      Where this is the actual available percentage value on the server

      $ mdb=$(echo "::memstat" | sudo -u zabbix sudo mdb -k); zfs=$(echo "$mdb" | gawk -F "[ %]+" '/^ZFS/{print $4}')
      
      $ free=$(echo "$mdb" | gawk -F "[ %]+" '/^Free [^\(]/ \{print $4}'); echo "$zfs+$free" | bc
      93.2
      

      Below are some of the pointers why with Solaris 11 onwards we should include the memory consumption by ZFS pool in the pavailable value

      https://community.oracle.com/tech/apps-infra/discussion/3867433/memory-management-between-zfs-and-applications-in-oracle-solaris-11-x-doc-id-1663862-1
      https://www.oracle.com/webfolder/community/oracle_sun_technologies/4112665.html
      https://support.oracle.com/knowledge/Sun%20Microsystems/1663862_1.html

      Attachments

        Activity

          People

            andris Andris Mednis
            zalex_ua Oleksii Zagorskyi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: